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

742 documents

Machine Learning for Trading

This notebook compares two simulations of the same monthly ETF momentum strategy. Both use identical target weights, universe, dates, and total trading cost. One computes returns from lagged weights and asset returns; the other processes orders sequentially…

EquitiesMomentumBacktestingExecution
Machine Learning for Trading

This notebook fits PatchTST as one member of a declared sequence-model population for S&P 500 options. PatchTST divides a lookback window into fixed-size patches, embeds them as tokens, and uses attention to learn relationships among portions of the history.…

OptionsMachine learningBacktesting
Machine Learning for Trading

This notebook aggregates LightGBM results across multiple trading case studies and compares them with linear and TabM baselines. It examines the highest-IC configuration for each case study, reports heteroskedasticity-and-autocorrelation-consistent…

Machine learningStatisticsBacktestingEquities
Machine Learning for Trading

This utility describes a diagnostic workflow for data artifacts produced by quantitative research pipelines. It profiles numeric columns for nulls, non-finite values, zeros, distinct values, quantiles, and tail behavior, then flags columns that cross…

StatisticsRisk managementBacktesting
Machine Learning for Trading

This notebook tests whether learned graph embeddings add predictive information to a tabular model for US stocks. It builds a network from absolute return correlations measured before the target period, constructs momentum, volatility, and trend features…

EquitiesMachine learningBacktestingMomentum
Machine Learning for Trading

This document describes an LSTM sequence model for an S&P 500 options study. Unlike cross-sectional models that rely on engineered features to summarize a symbol’s history, the LSTM receives chronological windows and learns which parts of the sequence…

OptionsEquitiesMachine learningBacktesting
Machine Learning for Trading

This notebook describes how to create holdout predictions for an FX strategy after its configuration has already been selected using validation results. It resolves the highest-Sharpe validation backtest among admitted candidates that remained solvent, then…

ForexBacktestingMachine learningRisk management
Machine Learning for Trading

This notebook explains a market data lifecycle for daily OHLCV data: load an initial history, fetch a small overlapping delta, detect missing sessions, and summarize each symbol’s freshness and validation issues. It describes why the update window should…

EquitiesStatisticsBacktestingRisk management
Machine Learning for Trading

This notebook compares DQN, PPO, and A2C in a simulated cryptocurrency trading environment. It calibrates a GARCH(1,1) volatility process on hourly Bitcoin perpetual-futures returns, then simulates paths that preserve volatility clustering while leaving…

Machine learningCryptoPerpetual futuresBacktesting
Machine Learning for Trading

This notebook diagnoses how a fixed, long-only ETF momentum baseline performed across market conditions from 2010 to 2024. It labels each daily return using volatility and trend measures known before that return began, with expanding historical medians…

EquitiesMomentumTrend followingVolatility
Machine Learning for Trading

This notebook applies previously selected firm-characteristic predictions and a fixed portfolio configuration to a one-year holdout period. It makes no new choices about predictions, allocation, concentration, rebalancing, or transaction costs, preserving…

EquitiesFactor investingPosition sizingBacktesting
Machine Learning for Trading

This audit compares trading engines replaying the same frozen model targets and content-addressed historical inputs across ETF allocation, futures, crypto perpetual funding, foreign exchange, and US equities. It evaluates execution parity through matching…

BacktestingExecutionMulti-assetFutures
Machine Learning for Trading

This analysis compares risk overlays across case studies by loading their overlay backtests from a registry and measuring Sharpe and maximum drawdown against an allocation-stage baseline, with a signal-stage fallback. It classifies configurations into rule…

Risk managementBacktestingStatistics
Machine Learning for Trading

This notebook evaluates position-level stop-losses, trailing stops, and time exits on top allocation-stage configurations in a NASDAQ-100 intraday strategy. Decisions occur every fifteen minutes while the backtest engine monitors positions every minute, so…

EquitiesRisk managementBacktestingExecution
Machine Learning for Trading

This notebook describes a patched transformer for sequence prediction in an S&P 500 equity and options study. It divides a time window into contiguous blocks and represents each block as a token, allowing attention to compare distant parts of the window…

EquitiesOptionsMachine learningStatistics
Machine Learning for Trading

This ETF feature notebook explains how fitted statistical models can leak future information through their estimated parameters, even when their formulas use past observations. Its remedy is a walk-forward refit schedule: allow an initial burn-in, fit using…

EquitiesMachine learningStatisticsVolatility
Machine Learning for Trading

This notebook studies gradient boosting for a US equities panel, varying tree capacity, objective function, and training checkpoint across three forward-return horizons. It explains how shallow trees can learn feature interactions, while increasing capacity…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook describes how to generate holdout predictions for a crypto perpetual funding strategy after its configuration has been selected using validation results. It resolves the highest-Sharpe eligible validation backtest, carries over the model…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This shared utility module supports causal analysis of trading data with time-series double machine learning (DML). Its documented tools include walk-forward estimation with an embargo, nuisance models, and refutation checks. Block permutation preserves…

StatisticsMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook explains TSMixer, a time-series neural network that alternates two operations: a shared linear map across lookback days for each feature, and a shared feature MLP applied independently at each day. Residual connections and pre-normalization…

Machine learningMomentumStatisticsBacktesting
Machine Learning for Trading

This case study constructs features for comparing variance risk premiums across S&P 500 stocks using 30-day at-the-money straddles and underlying price data. It measures implied volatility against realized volatility at several horizons, adds option-market…

OptionsEquitiesVolatilityBacktesting
Machine Learning for Trading

This case study explains how to generate predictions for a holdout period after model and strategy choices have been made on validation data. It resolves the previously selected configuration, reconstructs its training specification, and fits it again using…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook builds an LSTM allocator that maps recent ETF return and volatility features directly to long-only portfolio weights. A softmax output keeps weights nonnegative and fully invested, while a differentiable Sharpe-ratio objective trains the…

Machine learningPortfolio constructionBacktestingRisk management