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
Quantpedia
86 documents
TqSdk
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

1,124 documents

Machine Learning for Trading

This module presents post-training checks for time-series generators, based on the TimeGAN evaluation approach. It measures utility by training a recurrent predictor on synthetic sequences and testing it on real data. One mode follows the paper’s setup by…

Machine learningStatistics
Machine Learning for Trading

This notebook describes an out-of-sample backtest for a selected crypto perpetual funding strategy. It reuses predictions generated from training history that ends before the holdout period, then applies the chosen strategy configuration, including its…

CryptoPerpetual futuresCarryBacktesting
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

This document turns cross-sectional ETF predictions into simulated trades. It distinguishes ranking quality, measured by information coefficient, from realized strategy performance: a top-k portfolio depends on the relative score values, rebalance schedule,…

EquitiesBacktestingPortfolio constructionExecution
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

The document explains how a stochastic discount factor (SDF) estimates a pricing kernel that should price every asset, rather than estimating common return factors. It describes adversarial training: one network proposes the discount factor while another…

OptionsDerivatives pricingMachine learningFactor investing
Machine Learning for Trading

This notebook uses Optuna to tune XGBoost, LightGBM, and CatBoost on a time-split firm-characteristics dataset. Each library’s search treats the loss function, either mean squared error or mean absolute error, as a categorical hyperparameter alongside model…

Machine learningStatisticsFactor investingBacktesting
Machine Learning for Trading

This benchmark compares pandas and Polars on operations found in financial data pipelines, including rolling features, group calculations, window transformations, filtering, joins, lazy scans, memory use, and string handling. It generates shared synthetic…

BacktestingMachine learningStatisticsMarket microstructure
Machine Learning for Trading

This document describes a daily ETF candidate universe covering equities, fixed income, commodities, and currencies. It outlines a workflow for downloading market data, loading it for analysis, inspecting coverage by symbol and category, and filtering by…

Multi-assetEquitiesFixed incomeCommodities
Machine Learning for Trading

This notebook explains how to apply four market impact models in a backtest: no impact, linear impact, square-root impact, and a configurable power law. Each model estimates a signed per-share price move based on order direction, quantity, price, and volume.…

ExecutionMarket microstructureBacktestingRisk management
Machine Learning for Trading

This notebook applies TabM, a tabular neural-network approach, to foreign-exchange pair prediction rows without treating the data as a sequence. It uses shared runner infrastructure to fit preprocessing within each training fold, save declared weight…

ForexMachine learningBacktestingStatistics
Machine Learning for Trading

This document explains how to turn weekly Commitment of Traders reports into futures positioning features. It outlines the report categories for financial futures and physical commodities, describes how net positions reflect different participant roles, and…

FuturesCommoditiesSentimentStatistics
Machine Learning for Trading

This notebook describes a read-only comparison of validation predictions from several model families on a US equities panel. It first checks that each predefined prediction set is complete, then assesses cross-sectional ranking with the information…

EquitiesStatisticsBacktestingMachine learning
Machine Learning for Trading

This document explains how hidden Markov models infer unobserved market regimes from returns and recent volatility. It first sets two transparent benchmarks: a volatility index threshold for stress and price relative to a long moving average for trend. It…

Machine learningStatisticsVolatilityTrend following
Machine Learning for Trading

This notebook implements a univariate forecast of SPY daily closing prices using raw PyTorch, sktime, and Darts. It compares the practical experience of each interface, including implementation effort, installation constraints, and combined fit-and-predict…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook explains a family of ETF models that represents returns through shared latent directions and estimates how fund features map to exposures. It distinguishes five approaches: unconditional principal components, instrumented PCA with a linear…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This analysis compares predictive, latent-factor, and causal models for a cross-sectional S&P 500 stock strategy using weekly forward returns. Its feature set combines equity momentum and volatility measures with option information such as implied-volatility…

EquitiesOptionsMachine learningStatistics
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 notebook describes reconstructing a single-symbol, single-day NASDAQ limit order book from message-by-order ITCH data. It processes add, execute, cancel, delete, and replace messages while maintaining each live order reference and its remaining shares.…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook profiles an annual-report corpus before indexing it for financial research. It highlights four data issues that row counts and null checks do not reveal: the gap between fiscal year-end and public filing, duplicate records when one filing…

EquitiesUS marketsMachine learningStatistics
Machine Learning for Trading

This read-only assessment reconstructs the selected strategy from configured, full-coverage registry results. It follows the progression from an equal-weight baseline through allocation, risk controls, and transaction-cost sensitivity, then reads the holdout…

EquitiesOptionsRisk managementBacktesting
Machine Learning for Trading

This notebook assesses whether an LSTM can use the ordering of ETF feature histories to improve on flat-feature linear and gradient-boosting models. It resolves the declared sequence population against current data, checks eligible funds and fund-date rows,…

Machine learningMomentumStatisticsBacktesting
Machine Learning for Trading

This notebook uses a synthetic asset panel to demonstrate Instrumented PCA, where factor loadings depend linearly on characteristics observed before returns. Alternating least squares estimates the characteristic-to-loading map and realized factors. Because…

Machine learningStatisticsFactor investingPortfolio construction
Machine Learning for Trading

This exploratory analysis explains how to interpret minute bars built from quote and trade data for NASDAQ-100 constituents. It organizes the fields into families covering bid and ask quotes, executions, spreads, volume, trade-price buckets, tick direction,…

EquitiesMarket microstructureExecutionUS markets