Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

3,101 documents

Quant course library

This document contains daily open, high, low, close, and volume observations for Bitcoin priced in USDT during 2020. The rows are timestamped at 08:00 and show the market's changing price and trading volume through the year. The visible records include sharp…

CryptoSpot marketsVolatilityBacktesting
Quant course library

This introductory explanation presents functions as reusable blocks of code. It covers defining a function with def, choosing a descriptive name, calling the function, documenting it with a docstring, and returning a value. A market-data example retrieves…

CryptoSpot marketsExecution
Quant course library

This document explains how to configure a trading application to store historical data and connect to an exchange. It compares SQLite, MongoDB, and MySQL settings, describes database fields such as driver, database name, host, port, and authentication…

CryptoFuturesSpot markets
Quant course library

This example implements a spot grid that keeps one buy and one sell order working around the latest top of book. At timed intervals, when neither side has an outstanding order, it places orders offset from the best bid and ask by half the configured grid…

Spot marketsCryptoGrid tradingExecution
Quant course library

This document describes a spot trading interface that retrieves balances and market data, submits buy and sell orders, and reports order status. Its execution workflow checks an order after submission and can cancel and replace an unfilled or partially…

CryptoSpot marketsExecutionMarket microstructure
Quant course library

The document introduces Python dictionaries through a sample exchange response containing a trading symbol and its latest price. It explains key-value storage, unique keys, mutable contents, and how dictionaries differ from indexed sequences. The example…

CryptoSpot markets
Quant course library

The document explains a market-neutral approach to perpetual futures funding. When funding is positive, it proposes buying spot and shorting an equal amount of the perpetual contract; when funding is negative, it proposes borrowing and selling spot while…

CryptoArbitragePerpetual futuresSpot markets
Quant course library

The document shows how a graphical trading application is assembled from an event engine, a main engine, exchange gateways, and several trading applications. The configured components include strategy execution, backtesting, data management and recording,…

CryptoSpot marketsFuturesBacktesting
Quant Q&A

Liquidity depends on the asset class and on how participants access each market. The document compares spot, futures, options, and swaps across currencies, single stocks, equity indices, commodities, and fixed income. It offers a practical framework: there…

Multi-assetMarket microstructureFuturesOptions
Quant Q&A

The document raises a market-structure question: when a futures exchange imposes daily price limits but the underlying spot market does not, can the two prices temporarily diverge? It asks whether that divergence would force a sharp futures adjustment when…

FuturesSpot marketsMarket microstructure
Quant Q&A

The document distinguishes precious metals from foreign exchange when describing spot-price dynamics under a risk-neutral measure. In FX, the domestic and foreign interest rates reflect the ability to invest in short-term sovereign instruments in each…

CommoditiesFuturesSpot markets
Quant Q&A

The discussion asks whether Bitcoin has a quantifiable fair value and how mispricing might be recognized. The answers describe its traded price as an outcome of supply and demand once the market is sufficiently liquid, while emphasizing that speculation is…

CryptoSpot marketsOptionsVolatility
Quant Q&A

The document asks whether reliable foreign-exchange prices are available during the weekend, when conventional spot markets are largely closed. The response cautions that quotes visible during quiet hours can be stale, making them poor evidence of current…

ForexCryptoSpot marketsFutures
Quant Q&A

The document describes the gap risk a broker can face when it immediately hedges a customer's leveraged spot FX trade with a liquidity provider. If the market jumps through a liquidation level, the customer may incur a negative balance that cannot be…

ForexSpot marketsRisk managementExecution
Quant Q&A

The document examines a hypothetical collapse in USDT’s value and considers its consequences for Bitcoin holders and market pricing. It distinguishes direct self-custody, exchange balances, and exposure through financial intermediaries. Self-custody does not…

CryptoSpot marketsMarket microstructureRisk management
Quant Q&A

The document explains what a currency pair position represents, why a newly opened trade can show a loss, and why three pair trades may not automatically leave an account flat. In a spot-market interpretation, buying a pair means acquiring the base currency…

ForexSpot marketsExecutionRisk management
Quant Q&A

The document frames a cash-and-carry trade in a contango market: buy the underlying asset and sell a futures contract. It compares a nearer contract with a higher annualized yield against a later contract that may offer a larger absolute basis. The trader…

FuturesSpot marketsCarryArbitrage
Quant Q&A

The document explains how to calculate account performance when deposits, withdrawals, and currency conversions can occur at any time. It recommends treating the account like a fund: track the number of units outstanding and the net asset value per unit in a…

ForexSpot marketsPortfolio constructionRisk management
Quant Q&A

The document discusses how to construct a daily carry return index for a currency pair and compare it with a vendor index. The proposed approach combines the spot return with the interest earned on the funded currency and the interest cost on the borrowed…

ForexCarrySpot markets
TradingView scripts

This script describes a long-only grid for TWT priced in USDT. It places a series of levels between configurable high and low bounds, using either geometric spacing, which maintains proportional gaps, or arithmetic spacing, which maintains equal price gaps.…

CryptoSpot marketsGrid tradingPosition sizing
TradingView scripts

This strategy measures the difference between weighted Bitcoin futures and spot prices from Binance and OKX, then standardizes that spread as a rolling z-score. It calculates the measure on three configurable timeframes, with example defaults of 60, 120, and…

CryptoFuturesSpot marketsStatistics
TradingView scripts

This TON strategy divides a fixed price range into evenly spaced arithmetic or percentage-spaced geometric levels. When the close crosses down through a level, it opens a long position sized from an allocated investment per grid slot. When price later…

CryptoGrid tradingSpot marketsPosition sizing
TradingView scripts

This long-only daily spot strategy makes confirmed market structure a prerequisite for entries. It tracks swing highs and lows, defines structural trends from higher highs and higher lows or lower highs and lower lows, and detects breaks of the latest…

Spot marketsTrend followingTechnical indicatorsPosition sizing
TradingView scripts

This strategy models a static grid for UNI/USDT spot trading. It divides a fixed price band into geometric or arithmetic levels and buys when a bar closes down through an unfilled level. A position is closed when price crosses the next level upward. The…

CryptoSpot marketsGrid tradingBacktesting