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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

566 documents

Machine Learning for Trading

This notebook examines whether financial features help explain a 10-session delta-hedged options return label. It compares Ridge models using one implied-volatility feature, groups of implied-volatility-dependent and independent features, and the full…

OptionsEquitiesStatisticsMachine learning
Machine Learning for Trading

This implementation describes how to construct batched sequence windows for panel data used in deep-learning studies. Windows follow the panel’s expected calendar rather than compressing each asset’s observations into consecutive rows. Missing sessions…

Machine learningStatisticsBacktestingCrypto
Machine Learning for Trading

This notebook presents practical cleaning methods for market and firm data, including duplicate handling, gap flags, domain filters, reversal-based spike detection, outlier clipping, categorical encoding, and alignment across datasets with different…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook explains how to assess whether strategies built on a US equities panel can withstand trading friction. It fixes one configuration per label using validation Sharpe, then reprices that same strategy across declared cost levels. This prevents the…

EquitiesBacktestingExecutionRisk management
Machine Learning for Trading

This notebook examines whether SHAP attributions remain stable when predictions are similar or when models are refitted with different random seeds and architectures. Using ETF forward returns, it searches for sample pairs whose predictions are close but…

Machine learningStatisticsRisk managementEquities
Machine Learning for Trading

This notebook compares predictive, structural, and causal model evidence for a cross-sectional S&P 500 study combining equity features with options-derived measures such as implied volatility, skew, and term structure. It evaluates weekly forward-return…

EquitiesOptionsMachine learningFactor investing
Machine Learning for Trading

This notebook shows how to translate gross returns into net performance under explicit trading, financing, and fund-expense assumptions. Its cost stack includes spread and market impact, commissions and exchange fees, margin interest, stock borrow,…

EquitiesExecutionBacktestingRisk management
Machine Learning for Trading

This notebook demonstrates a trade-level diagnostic workflow that links realized failures to a model’s SHAP explanations. It trains a LightGBM model on lagged price and volatility features plus macro inputs to forecast next-session SPY returns. A fixed…

Machine learningStatisticsEquitiesSentiment
Machine Learning for Trading

This notebook uses double machine learning to test whether the association between the implied-minus-realized volatility spread and future equity returns persists after adjustment for observed confounders. It compares the adjusted estimate with naive…

OptionsEquitiesMachine learningStatistics
Machine Learning for Trading

This utility describes a workflow for collecting public SEC 10-Q, 10-K, and 8-K filings and converting them into a common tabular dataset for downstream research. It applies form-specific text extraction: quarterly filings yield the management discussion…

EquitiesUS marketsEvent-drivenMachine learning
Machine Learning for Trading

This experiment examines how much a selected monthly US equity long-short signal depends on small-cap stocks. It applies a lagged market-equity filter that removes the smallest quartile from validation predictions, then reruns the same portfolio construction…

EquitiesUS marketsFactor investingBacktesting
Machine Learning for Trading

This notebook explains how PatchTST uses fixed-length patches of sequential market features to forecast NASDAQ-100 labels. Attention relates patches across a trailing hour while reducing the sequence length compared with attention over every minute. The…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

The document presents NLinear, a minimal sequence model for forecasting NASDAQ-100 stock returns from intraday features. It uses a fixed trailing window, subtracts the latest observation so the model works with changes rather than levels, and maps the…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This material explains how to evaluate a strategy chosen on validation data using predictions from a separate 2021 holdout. It keeps the selected allocation, concentration, risk controls, trading schedule, and costs fixed, changing only the predictions…

EquitiesBacktestingRisk managementPortfolio construction
Machine Learning for Trading

This notebook examines retained results from a real-strategy audit comparing the LEAN engine with matching ML4T Backtest profiles. It identifies the asset-class workloads supported by the frozen inputs and reports parity evidence across fills, valuations,…

BacktestingExecutionEquitiesFutures
Machine Learning for Trading

This notebook describes producing predictions for a US equities case study’s holdout window after selecting a configuration on validation folds. It resolves the selected configuration, preserves its checkpoint choice, and constructs a new training…

EquitiesMachine learningBacktestingRisk management
Machine Learning for Trading

The notebook assembles end-to-end pipelines for daily equities and hourly crypto perpetual futures, covering acquisition, validation, source labeling, and storage. Its equity example joins historical WikiPrices data with a more recent Yahoo feed. Since the…

EquitiesCryptoFuturesMarket microstructure
Machine Learning for Trading

This notebook presents a framework for checking whether a momentum signal’s apparent quality survives reasonable research choices. Using real ETF data before the designated holdout period, it varies one lookback parameter at a time and measures…

EquitiesMomentumStatisticsBacktesting
Machine Learning for Trading

The notebook contrasts two ways to divide a large equity order into child orders over a trading session. TWAP sends roughly equal quantities at each interval and needs no market forecast. VWAP allocates shares according to an estimated intraday volume…

EquitiesExecutionMarket microstructureBacktesting
Machine Learning for Trading

This notebook builds uncertainty intervals for ETF forward returns using Ridge regression and three conformal methods: split conformal prediction, conformalized quantile regression, and adaptive conformal inference. It evaluates them with walk-forward folds…

EquitiesMachine learningStatisticsRisk management
Machine Learning for Trading

This notebook explains a conditional autoencoder that models stock returns as characteristic-dependent factor loadings multiplied by latent factors. It first estimates characteristic-managed portfolio returns with a joint cross-sectional least-squares fit,…

EquitiesFactor investingMachine learningPortfolio construction
Machine Learning for Trading

This notebook studies how allocation rules affect ETF strategies after a model has already ranked assets. It holds the prediction sets and rebalance calendar fixed, selects the same top-k basket for each comparison, and varies the weights assigned within…

EquitiesPortfolio constructionPosition sizingRisk management
Machine Learning for Trading

This notebook tests whether portfolio construction can rescue a cost-defeated, every-bar NASDAQ-100 strategy. It selects leading baseline predictions using the declared selection universe, then runs the allocation comparisons on the full universe. The sweep…

EquitiesPortfolio constructionPosition sizingExecution
Machine Learning for Trading

This notebook takes leading validation prediction configurations from an equal-weight signal-stage baseline and tests alternative allocation methods on the same predictions. It compares score-based and conformal weighting with inverse volatility, risk…

EquitiesPortfolio constructionPosition sizingBacktesting