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
Quantopian lectures
45 documents
Binance API docs
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

765 documents

Hudson & Thames

The document introduces interactive tear sheets for examining candidate trading pairs. It explains why selection requires more than a single cointegration result: Engle–Granger analysis is sensitive to which asset is treated as dependent, while Johansen…

Pairs tradingMean reversionStatisticsBacktesting
Robot Wealth

This article argues that traders should begin with a workable strategy and build technology in response to problems encountered in live trading. Elaborate systems designed before trading can consume time without generating market feedback, and the imagined…

CryptoExecutionRisk managementPairs trading
Robot Wealth

This article walks through implementing a price-spread pairs trade in Zorro using GDX and GLD as an example. It defines the spread as one asset’s price minus a hedge-ratio-adjusted price of the other, then standardises the spread with a rolling z-score. The…

Pairs tradingMean reversionBacktestingExecution
Robot Wealth

This article explains statistical arbitrage by contrasting it with cross-exchange arbitrage. Pure arbitrage seeks to buy and sell the same asset at different prices, but transfers, costs, and price changes make the apparent opportunity difficult to capture.…

Pairs tradingArbitrageMean reversionStatistics
Robot Wealth

The article advises new trading businesses to begin trading with available skills and tools, then build operational capabilities in response to real market experience. It argues that constructing a large technology stack before trading can waste effort…

CryptoPerpetual futuresPairs tradingRisk management
Robot Wealth

The article examines practical limits of traditional market-neutral pairs trading. Each trade consumes capital on two legs, incurs spreads and commissions on both, and may use capital on a fairly valued leg even when the opportunity is concentrated in the…

Pairs tradingArbitragePortfolio constructionRisk management
Robot Wealth

This review surveys research on selecting and trading equity pairs, comparing distance-based matching, cointegration, correlation, and other selection criteria. A common design forms candidate pairs over one period and trades them during a subsequent,…

Pairs tradingEquitiesArbitrageBacktesting
Robot Wealth

This article explains how to combine overlapping pair spread signals to infer which individual stocks appear rich or cheap relative to peers. Each spread acts as a relative vote; aggregating votes across a network can help distinguish a likely outlier from a…

EquitiesPairs tradingArbitragePortfolio construction
Robot Wealth

This tutorial builds an adaptive pairs trading example with gold and gold-mining ETF prices. A Kalman filter estimates a changing hedge ratio and intercept as new observations arrive. The prediction error is compared with its estimated standard deviation to…

Pairs tradingMean reversionBacktestingStatistics
Robot Wealth

The article explains how to assess candidate equity pairs and estimate a spread for mean-reversion trading. Using XOM and CVX as an example, it fits an ordinary least squares hedge ratio, forms a residual spread, and applies an Augmented Dickey-Fuller test.…

EquitiesPairs tradingMean reversionStatistics
Robot Wealth

This article focuses on selecting stock pairs for statistical arbitrage. It argues that finding pairs whose prices reliably diverge and reconverge matters more than the details of hedge-ratio estimation or other implementation models. Historical correlation…

Pairs tradingMean reversionStatisticsBacktesting
Robot Wealth

The article presents pairs trading as taking opposite positions in correlated assets when their relative prices diverge, with the expectation that the relationship will move back toward its mean. It questions the routine use of price regression to estimate a…

Pairs tradingMean reversionStatisticsRisk management
Robot Wealth

The article introduces parameter optimization for systematic strategies, using a moving average window as a simple example. It describes choosing a default value, search range, and step size, then comparing approaches such as sequential ascent, brute force,…

BacktestingStatisticsPairs tradingMean reversion
Robot Wealth

This note applies lessons from gambling to strategy selection. It recommends looking for comparatively tractable opportunities, including harvesting risk premia and predicting relative returns across assets rather than forecasting the absolute direction of…

ArbitragePairs tradingCryptoForex
Robot Wealth

This installment proposes converting signals from overlapping pairs into security-level signals. For each spread, its z-score becomes two opposing votes: the relatively rich ticker receives a positive signal and the relatively cheap ticker a negative one.…

Pairs tradingArbitragePortfolio constructionRisk management
Robot Wealth

The article treats trading as an operating business that must allocate limited capital, time, and skills across strategy research, infrastructure, reporting, accounting, and ongoing learning. Its guiding question is how to improve the trading setup in ways…

Risk managementBacktestingPairs tradingPortfolio construction
Robot Wealth

The Hurst exponent is presented as a way to characterize whether a time series tends to behave like a random walk, persist in its direction, or revert toward an average. The article connects this classification to the search for mean-reverting financial…

StatisticsMean reversionPairs tradingTechnical indicators
Robot Wealth

The document explores whether currency prices can form stationary spreads suitable for mean-reversion analysis. It estimates a two-currency spread using ordinary least squares, then tests the residual with an augmented Dickey-Fuller procedure. It also…

ForexMean reversionPairs tradingStatistics
Robot Wealth

This tutorial combines a Kalman filter written in R with a simple pairs trading system in Zorro. The filter updates a hedge ratio as new prices arrive, estimates the spread prediction error, and calculates its uncertainty. The trading logic uses that…

Pairs tradingMean reversionStatisticsBacktesting
Robot Wealth

The article describes practical TradingView workflows for discretionary and early-stage trading research. The author uses watchlists to monitor macro instruments and track a basket of factor ETFs through a synthetic instrument weighted by units held. A…

Technical indicatorsPosition sizingPairs tradingEquities
Robot Wealth

This short essay argues that independent traders should learn from the ideas behind institutional strategies without copying their implementations. It points to statistical arbitrage opportunities that can arise when supply and demand are uneven or when…

ArbitragePairs tradingFuturesCrypto
Robot Wealth

The article describes a three-part approach to equity statistical arbitrage for independent traders. First, rank related stock pairs using measures of historical mean-reversion returns and consistency of convergence, then retain economically sensible…

EquitiesArbitragePairs tradingMean reversion
QuantStart

The article introduces serial correlation, also called autocorrelation, as dependence between observations at different times. It reviews expectation, variance, covariance, and correlation, then explains why correlation is a normalized measure of linear…

StatisticsMean reversionPairs tradingBacktesting
QuantStart

This June 2020 update reports several releases of the QSTrader backtesting engine. Its main technical change was an overhaul of portfolio, position, transaction, and simulated broker components to support short selling. The platform moved from long-only…

BacktestingPairs tradingMean reversion