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

1,124 documents

Machine Learning for Trading

The document examines the ADIA Lab causal discovery challenge as supervised inference within a known synthetic data-generating family. The task assigns variables to eight roles around a treatment and outcome, using many labeled dataset and graph pairs. It…

Machine learningStatisticsBacktesting
Machine Learning for Trading

This module builds a mean forecast ensemble from registered prediction sets, with particular attention to reproducibility and avoiding selection bias. It resolves qualifying model configurations from the registry rather than maintaining a hand-written member…

Machine learningStatisticsBacktestingPortfolio construction
Machine Learning for Trading

This notebook explains a local linear trend state-space model for extracting financial features from price levels. The hidden state contains a price level and its slope; observations are noisy closes. At each step, the filter predicts the state, measures the…

EquitiesStatisticsTechnical indicatorsPairs trading
Machine Learning for Trading

This notebook separates continuous price variation from discrete jumps in intraday equity returns. It estimates daily realized variance from squared log returns and uses bipower variation as a jump-robust estimate of the continuous component; their…

EquitiesVolatilityStatisticsMarket microstructure
Machine Learning for Trading

This notebook uses principal component analysis on a liquid subset of US equities to extract latent factors and form long-short eigenportfolios. It explains how standardized PCA vectors are converted to raw-return weights and normalized by gross exposure,…

EquitiesFactor investingStatisticsRisk management
Machine Learning for Trading

This notebook expresses a four-phase forecasting workflow using plain Python orchestration, CrewAI, and LangGraph. It compares where state is held, how failures are inspected or recovered, what dependencies each approach adds, and how tracing works. The…

Machine learningStatisticsExecutionBacktesting
Machine Learning for Trading

This notebook examines linear-model regularization for a universe of currency pairs whose returns are linked because each pair is a quote between shared currencies. It distinguishes feature collinearity, which ridge, lasso, and elastic net can address, from…

ForexStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook studies whether an extreme perpetual futures premium affects subsequent BTC returns or premium reversion. It defines treatment as a high-premium state and compares a broad market outcome, which may be influenced by many forces, with premium…

CryptoPerpetual futuresArbitrageStatistics
Machine Learning for Trading

This chapter surveys ways to turn fitted statistical procedures into features for trading models. It covers diagnostics and stationarity, structural breaks, fractional differencing, Kalman filtering, spectral and path-signature methods, ARIMA and GARCH…

StatisticsVolatilityMachine learningRisk management
Machine Learning for Trading

This notebook builds forward share-return labels for a strategy that reads listed options data to rank equities and then holds the shares. It creates an adjusted price series that accounts for corporate actions and identifies companies by persistent security…

EquitiesOptionsStatisticsBacktesting
Machine Learning for Trading

This notebook frames a parent order as a finite-horizon control problem. At each interval, tabular Q-learning chooses a multiplier on a VWAP-based trade slice, conditioning on time and remaining inventory plus the most recently observed spread and volatility…

EquitiesExecutionMachine learningMarket microstructure
Machine Learning for Trading

This notebook uses historical US equity returns to build a correlation network and explore portfolio construction. It selects a liquid universe using estimation-window data, converts pairwise correlations into distances, and extracts a minimum spanning tree…

EquitiesUS marketsPortfolio constructionRisk management
Machine Learning for Trading

This notebook describes a one-feature-at-a-time screen for candidate signals across 20 currency pairs. It computes each feature’s daily cross-sectional rank agreement with the next-session return using only walk-forward validation windows. The evaluation…

ForexStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook presents principal component analysis as an unconditioned latent-factor baseline for forecasting stock returns in an option analytics study. PCA uses the historical return panel to estimate common movements and each stock’s exposure to them,…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This notebook compares exhaustive grid search with Optuna’s TPE sampler for tuning a LightGBM return-prediction model. It first gives both methods the same trial budget over the same discrete parameter grid, where enumeration covers every combination and…

Machine learningBacktestingStatistics
Machine Learning for Trading

This notebook evaluates a cross-sectional momentum factor using information coefficients, quantile returns, top-to-bottom spreads, and classification diagnostics. It introduces Spearman IC as the date-by-date rank correlation between a signal and subsequent…

MomentumFactor investingStatisticsBacktesting
Machine Learning for Trading

This notebook explains pairwise and cross-sectional features using ETF panels. It compares Engle–Granger and Johansen cointegration tests, distinguishing a stationary spread from simple co-movement. Its energy fund and crude oil fund example fails both…

Pairs tradingMean reversionStatisticsRisk management
Machine Learning for Trading

This case study examines whether information from listed options can help select S&P 500 stocks. It combines daily equity prices with option-implied volatility levels, skew, term structure, and variance risk premium measures across 633 stocks from 2017 to…

EquitiesOptionsBacktestingRisk management
Machine Learning for Trading

This configuration specifies a historical macroeconomic dataset from FRED for regime filtering and cross-asset analysis. It organizes series by daily, weekly, monthly, and quarterly frequency, including Treasury yields, the federal funds rate, the VIX, labor…

Multi-assetFixed incomeVolatilityStatistics
Machine Learning for Trading

This module defines a reader-facing workflow for CME futures research, covering model requests, prediction and backtest execution, candidate pools, and final selection. It reads the configured label sweep from a shared setup declaration, preserves its order,…

FuturesMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook uses maximum favorable excursion (MFE) and maximum adverse excursion (MAE) to ground triple-barrier label widths in observed price paths. For a position entered at a bar’s close, it measures the best favorable and worst adverse movement over a…

EquitiesFuturesCryptoVolatility
Machine Learning for Trading

This analysis asks whether the data can support a cross-sectional crypto perpetual strategy before fitting a model or making forecasts. The proposed approach ranks contracts by premium at each funding settlement, then buys one side of the ranking and sells…

CryptoPerpetual futuresStatisticsBacktesting
Machine Learning for Trading

This notebook demonstrates an operational cycle for an ETF equity strategy: refresh market data, compute financial features, retrain a Ridge model, generate current cross-sectional predictions, replay them through a backtest engine, and stage a top-ranked…

EquitiesMachine learningExecutionBacktesting
Machine Learning for Trading

The document describes an FX portfolio allocation sweep designed to isolate position sizing from signal selection. It starts from frozen equal-weight baseline candidates ranked by validation backtest performance, then advances configurations while preserving…

ForexPortfolio constructionBacktestingRisk management