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
WonderTrader
14 documents
Alphalens
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

62 documents

Hudson & Thames

This article explains how stochastic control models can set dynamic positions in a mean-reverting spread. It outlines two investor preference models: constant relative risk aversion over terminal wealth, and Epstein–Zin recursive utility, which can account…

Pairs tradingMean reversionArbitragePortfolio construction
Hudson & Thames

This document surveys methods for estimating and adjusting covariance matrices used in portfolio risk analysis. It covers the empirical estimator, robust Minimum Covariance Determinant, basic and data-driven shrinkage methods, semi-covariance, exponentially…

Portfolio constructionRisk managementStatistics
Hudson & Thames

This document describes a pairs trading method that uses a two-state Markov regime-switching model to assess whether spread deviations may reflect a persistent change rather than temporary mean reversion. The proposed signal combines the estimated regime and…

Pairs tradingMean reversionMachine learningRisk management
Hudson & Thames

This article presents the generic non-parametric representation (GNPR) distance for comparing time series using both distributional and dependence information. The motivation is that correlation or other familiar similarity measures can make series appear…

StatisticsMachine learning
Hudson & Thames

This document explains history-weighted, or partial sample, regression as a way to make predictions from observations judged relevant to a new input. It defines similarity using negative Mahalanobis distance and informativeness by how far an observation lies…

StatisticsMachine learningBacktesting
Hudson & Thames

This article explains why a multi-asset mean-reverting portfolio may be easier to trade when it uses a small number of assets. Sparse baskets can improve interpretability and reduce trading costs; they also avoid the ambiguity that can arise when combining…

Mean reversionPairs tradingPortfolio constructionStatistics
Hudson & Thames

The article surveys four online portfolio selection methods that seek to profit from mean reversion: Passive Aggressive Mean Reversion (PAMR), Confidence Weighted Mean Reversion (CWMR), Online Moving Average Reversion (OLMAR), and Robust Median Reversion…

Mean reversionEquitiesPortfolio constructionBacktesting
Hudson & Thames

Futures contracts expire at different times, and adjacent contracts can trade at different prices. Joining them without adjustment creates artificial jumps that may be mistaken for signals by a trading model. The note explains how cumulative roll gaps can be…

FuturesCommoditiesBacktestingRisk management
Hudson & Thames

The article presents a pairs-trading framework that uses Renko- or Kagi-style constructions to identify turning points in a spread. From those points, it derives H-statistics: H-inversion counts directional changes, H-distance summarizes turning-point moves,…

Pairs tradingMean reversionVolatilityBacktesting
Hudson & Thames

This article compares time, tick, volume, and dollar bars as ways to organize market data for machine learning. Time bars use fixed intervals; tick and volume bars use trade counts or traded quantity; dollar bars use traded value. The proposed rationale for…

FuturesMachine learningStatistics
Hudson & Thames

The article explains why ordinary bagging can be problematic for financial labels. In event-based datasets, labels may share underlying returns, so observations are not independent. It introduces concurrency to describe overlapping information and uniqueness…

Machine learningStatisticsBacktesting
Hudson & Thames

The document introduces Modern Portfolio Theory and explains how asset correlation shapes the risk and return of a portfolio. Expected portfolio return is a weighted sum of asset returns, while portfolio variance also depends on covariances. When assets are…

Portfolio constructionRisk managementStatistics
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
Hudson & Thames

This release announcement describes changes to MLFinLab, a toolkit for developing machine learning based trading systems. Bar generation now returns timestamps as a DataFrame index, aligning its output with downstream functions and avoiding manual index…

Machine learningVolatilityTechnical indicators