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

59 documents

Machine Learning for Trading

The document describes a feature pipeline that combines equity prices with summaries of listed options implied-volatility surfaces. Its central hypothesis is that disagreement between option-implied volatility and realized share volatility can help rank…

EquitiesOptionsVolatilityTechnical indicators
Machine Learning for Trading

The document shows how to turn weekly Commitment of Traders reports into futures positioning features. It explains the trader categories in the financial futures and disaggregated commodity formats, and why participant groups matter when aggregate net…

FuturesCommoditiesSentimentTechnical indicators
Machine Learning for Trading

This notebook builds a daily feature panel for a long-short ranking strategy across twenty FX pairs. It aggregates four-hour spot bars into sessions ending at the New York 5 PM rollover, then constructs trailing return, channel, volatility, drawdown, range,…

ForexSpot marketsMean reversionMomentum
Machine Learning for Trading

This US equities feature study explains how to generate features from estimated models without allowing future data into earlier observations. Its estimation schedule uses a history burn-in, fits parameters only on data before each output block, then…

EquitiesVolatilityTechnical indicatorsStatistics
Machine Learning for Trading

This notebook develops a financial feature matrix for a cross-asset ETF momentum hypothesis: assets with stronger relative performance may continue to outperform over the following month. It combines trailing returns at several horizons, risk-adjusted…

Multi-assetMomentumTechnical indicatorsStatistics
Machine Learning for Trading

This document explains how to build and inspect a feature matrix for a cross-sectional ETF momentum and rotation hypothesis. It defines each feature’s lookback and information lag, then constructs trailing returns, risk-adjusted returns, volatility, trend…

EquitiesMulti-assetMomentumTechnical indicators
Machine Learning for Trading

This notebook constructs price-derived features for a broad US equities panel, including momentum, moving averages, and volatility measures. It is designed to rank stocks against one another, using a tradability screen, per-symbol rolling calculations, and…

EquitiesMomentumTechnical indicatorsStatistics
Machine Learning for Trading

This notebook builds minute-level features from NASDAQ-100 quote and trade data to study short-horizon price pressure. It treats normalized order-flow imbalance as the main signal candidate and uses spread, depth, price impact, off-exchange trading,…

EquitiesMarket microstructureExecutionTechnical indicators
Machine Learning for Trading

This case study builds minute-level features from NASDAQ-100 quote and trade data to examine whether recent aggressive buying or selling predicts short-horizon price drift. Order-flow imbalance is the proposed signal; spread, book depth, price impact,…

EquitiesMarket microstructureMomentumTechnical indicators
Machine Learning for Trading

This notebook constructs several sampling schemes from a single day of NASDAQ ITCH trades for an equity: calendar-time, tick, volume, dollar, imbalance, and run bars. It compares their statistical properties, including normality and autocorrelation, and…

EquitiesMarket microstructureStatisticsExecution
Machine Learning for Trading

This shared feature-engineering module defines construction rules and audits for financial predictors used across multiple case studies. It records each feature family with its hypothesis, inputs, rolling lookback, information lag, role, and potential…

Technical indicatorsStatisticsMachine learning
Machine Learning for Trading

The notebook presents a reporting method for a long-only RSI mean-reversion strategy on BTC. It compares gross and net performance, then benchmarks the strategy against buy-and-hold using the same trading dates, exposure, execution engine, fill timing, and…

CryptoMean reversionTechnical indicatorsBacktesting
Machine Learning for Trading

This document explains fractional differencing as a way to make a price series more stationary while retaining some information about its level. It derives the lag weights from the binomial expansion of a fractional difference and shows how truncating small…

StatisticsTechnical indicatorsMachine learning
Machine Learning for Trading

This demonstration runs one dual moving-average crossover strategy through both a historical backtest engine and a live engine replaying the same daily ETF bars. It holds the strategy, inputs, parameters, and fill convention fixed, then compares the…

EquitiesTechnical indicatorsBacktestingExecution
Machine Learning for Trading

This notebook introduces path signatures as fixed-length features that preserve the order and joint geometry of observations in a time-series window. The first level records each coordinate's total change; the second captures signed area between coordinate…

EquitiesTechnical indicatorsMachine learningStatistics
Machine Learning for Trading

The document demonstrates a VectorBT workflow for a long-only Bitcoin RSI mean-reversion rule. It calculates RSI from daily close prices, enters when the prior day’s reading falls below a lower threshold, and exits when it exceeds an upper threshold.…

CryptoMean reversionTechnical indicatorsBacktesting
Machine Learning for Trading

This notebook implements a long-only RSI mean-reversion rule for BTC/USDT perpetuals using an event-driven backtesting engine. It aggregates intraday bars into UTC daily OHLCV data, computes a rolling gain-and-loss RSI, enters when the indicator falls below…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This notebook compares three ways to convert signed return predictions into binary positions: a fixed zero cutoff, a trailing percentile of each symbol’s own scores, and a cross-sectional percentile across symbols. It measures signal activation and state…

Machine learningTechnical indicatorsCryptoEquities
Machine Learning for Trading

This notebook explains how GARCH turns volatility clustering into a per-session feature. It first uses return plots and an ARCH-LM test to check whether squared returns depend on their own lags. In a GARCH(1,1) model, the response to a new shock and the…

VolatilityTechnical indicatorsRisk managementStatistics
Machine Learning for Trading

This document develops a daily feature panel for ranking twenty currency pairs at the New York 5 PM close. It distinguishes rankable signals, such as standardized multi-horizon returns and channel position, from market-state measures such as volatility,…

ForexMean reversionMomentumVolatility
Machine Learning for Trading

This notebook introduces a workflow that connects standardized ETF data loading, a feature registry, and signal diagnostics. It shows how to discover indicator metadata, compute features using defaults or explicit parameters, and store configurations for…

EquitiesTechnical indicatorsMomentumStatistics
Machine Learning for Trading

This notebook compares ways to measure volatility and develops heterogeneous autoregressive (HAR) volatility models alongside roughness analysis. It uses intraday returns to estimate session realized variance, distinguishes intraday movement from overnight…

VolatilityStatisticsTechnical indicatorsEquities
Machine Learning for Trading

This notebook examines information-driven sampling by constructing tick and volume imbalance bars from trade data. It verifies a manual tick-imbalance implementation against a library sampler, then sweeps expected bar sizes and adaptation settings to compare…

EquitiesMarket microstructureStatisticsTechnical indicators
Machine Learning for Trading

This notebook demonstrates SHAP explanations for a LightGBM model predicting ETF forward returns. TreeSHAP supplies feature contributions for individual predictions and aggregate importance summaries. Beeswarm and dependence plots show how feature values…

EquitiesMachine learningStatisticsTechnical indicators