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

742 documents

Machine Learning for Trading

This notebook explains why a generic target-weight risk overlay is unsuitable for the described S&P 500 short-straddle engine. The engine assigns fixed capital shares to weekly cohorts and normalizes weights within each cohort to sum to one. Scaling those…

OptionsRisk managementBacktesting
Machine Learning for Trading

Risk-Premium PCA modifies the covariance matrix by adding a weighted outer product of the training mean-return vector. Its leading eigenvectors define static factor portfolios: ordinary PCA is recovered when the weight is zero, while positive weights tilt…

Factor investingStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook measures how a selected US firm-characteristics strategy’s validation performance changes as assumed commissions and slippage vary. It re-runs the same configuration across a declared cost grid, splitting each total charge evenly between…

EquitiesBacktestingExecutionRisk management
Machine Learning for Trading

This notebook describes how to produce predictions for an untouched holdout period after choosing a configuration on validation data. It resolves the selected configuration, rebuilds its training specification for the holdout, and derives the training window…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook describes how to produce holdout predictions for a selected CME futures model configuration. The configuration is chosen using validation results, then refitted on data ending before the holdout window opens. A label buffer separates training…

FuturesBacktestingMachine learningRisk management
Machine Learning for Trading

This notebook describes how to produce holdout predictions for a selected NASDAQ-100 microstructure configuration after model and strategy choices have been made on validation folds. It reconstructs the selected training specification, derives a holdout fold…

EquitiesMarket microstructureMachine learningBacktesting
Machine Learning for Trading

This guide introduces the public CFTC Commitment of Traders reports as a source of weekly futures positioning data. It distinguishes the Traders in Financial Futures report, which categorizes participants such as dealers, asset managers, and leveraged money,…

FuturesCommoditiesSentimentBacktesting
Machine Learning for Trading

This Python module describes methods for quantifying uncertainty in strategy backtests using daily out-of-sample returns. It combines stationary block bootstrap intervals for return-series statistics, a Sharpe standard error adjusted for autocorrelation and…

BacktestingStatisticsRisk managementPortfolio construction
Machine Learning for Trading

This notebook synthesizes registered validation results for five latent-factor estimators across a set of case studies. It first maps which estimators have results for each panel, then identifies the leading estimator by mean daily Spearman rank information…

Machine learningStatisticsFactor investingBacktesting
Machine Learning for Trading

This notebook demonstrates single-factor evaluation using real ETF data and a price-derived momentum example. It measures cross-sectional Spearman information coefficients against forward returns, compares horizons, and explains the distinction between…

EquitiesMomentumStatisticsBacktesting
Machine Learning for Trading

This case study screens candidate financial and model-based features against forward returns for a NASDAQ-100 microstructure strategy. It calculates cross-sectional rank information coefficients through time, adjusts inference for dependence and multiple…

EquitiesMarket microstructureStatisticsMachine learning
Machine Learning for Trading

This notebook selects a CME futures case study from registered validation backtests spanning signal rules, allocation, and risk overlays. It compares candidates across both return horizons and chooses the configuration with the highest validation Sharpe.…

FuturesBacktestingRisk managementPortfolio construction
Machine Learning for Trading

This notebook explains how to construct forward intraday return labels for NASDAQ-100 stocks using minute bars and NBBO quotes. It defines returns from the next bar after a signal to a specified future endpoint, uses quote midpoints to reduce bid-ask bounce,…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This case study compares gradient boosting models that predict returns to expiry for short at-the-money straddles. It varies tree capacity and three fitting objectives: squared error, absolute error, and Huber loss. Walk-forward validation uses two periods,…

OptionsVolatilityMachine learningBacktesting
Machine Learning for Trading

The document presents an operational workflow for keeping daily market data current: load an initial history, fetch a small overlapping delta, check for missing dates, and monitor freshness and validation issues. The overlap helps capture vendor revisions to…

EquitiesBacktestingStatisticsRisk management
Machine Learning for Trading

The document describes how a CME futures study generates predictions for a holdout period after selecting a model configuration on validation data. The selected configuration and checkpoint are recovered from the validation results, then the model is…

FuturesBacktestingRisk management
Machine Learning for Trading

This notebook fits a patched transformer to predict a primary label in an S&P 500 equity and options study. It divides each stock’s historical input window into contiguous patches and treats each patch as a token for attention. Attention can compare distant…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This configuration describes a weekly at-the-money straddle-selling study on S&P 500 constituents. Positions are opened on Friday and held toward expiry, with daily stock hedges triggered by changes in option delta. The portfolio spreads capital across…

OptionsVolatilityRisk managementBacktesting
Machine Learning for Trading

This notebook explains an ETF stochastic discount factor model that fits a single series of weights to price returns across funds. Unlike models that separately estimate fund exposures and factor returns, it trains two networks against pricing errors: one…

EquitiesStatisticsMachine learningPortfolio construction
Machine Learning for Trading

This notebook describes how to create holdout predictions for a previously selected US equities model configuration. Since model choices and strategy settings were made using validation results, those same results cannot independently establish the quality…

EquitiesMachine learningBacktestingUS markets
Machine Learning for Trading

This notebook presents GReaT, a method for generating synthetic financial tables with a language model. It serializes each row as text, fine-tunes a GPT-based model on ETF features, and parses generated text back into mixed numerical and categorical columns.…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook explains how to construct model-based features for a US equities panel without letting future observations influence historical values. Its central method is an estimation schedule: models use a burn-in period, fit only on data preceding the…

EquitiesMachine learningStatisticsVolatility