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

715 documents

Machine Learning for Trading

This notebook presents a conditional autoencoder that preserves the structure of an instrumented latent factor model while replacing the linear map from firm characteristics to factor exposures with a neural network. Monthly returns are represented as…

EquitiesMachine learningFactor investingStatistics
Machine Learning for Trading

This notebook uses real ETF data to assess whether a momentum signal remains useful under reasonable changes to its lookback, market regime, and implementation. It computes cross-sectional information coefficients between momentum and forward returns, then…

FuturesMomentumBacktestingStatistics
Machine Learning for Trading

This notebook compares two locally run, open-weight embedding models on a retrieval task using passages from recent 10-K filings for a small set of large US companies. Both models receive the same two-sentence passages and a fixed set of queries spanning…

Machine learningStatisticsEquitiesUS markets
Machine Learning for Trading

This notebook constructs four model-based features for S&P 500 option research: next-day volatility forecasts from GJR-GARCH and stochastic volatility, plus the differences between each forecast and the option market’s implied volatility. It explains how the…

OptionsVolatilityDerivatives pricingBacktesting
Machine Learning for Trading

This document fits TabM, a weight-sharing neural ensemble, to option-derived features for predicting forward equity returns and risk-adjusted returns. Its members use one shared two-layer network, with separate activation scaling and output heads, then…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This document presents a structured state record for research agents, separate from their conversation transcript. The record stores the question and cutoff, gathered evidence, unresolved questions, tool-call history, gate outcomes, and synthesis status.…

Machine learningStatisticsBacktestingRisk management
Machine Learning for Trading

This notebook examines linear-model regularization for predicting returns across currency pairs. It distinguishes collinearity among input features from dependence among the assets: currency pairs share underlying currencies, so their returns and rankings…

ForexMachine learningStatisticsFactor investing
Machine Learning for Trading

This configuration note explains the choice of the saga solver and a tighter convergence tolerance for L1 logistic regression on three-class labels. It contrasts saga with liblinear, citing runtime measurements on a Nasdaq microstructure panel and reported…

Machine learningStatisticsEquitiesMarket microstructure
Machine Learning for Trading

This module describes checks for whether prediction and backtest inputs cover the sessions and folds specified by a study. Relative checks compare candidate models with one another, so they can miss a shared failure: stale fold boundaries or an upstream join…

BacktestingRisk managementStatisticsMarket microstructure
Machine Learning for Trading

This notebook distinguishes predicting returns from claiming that momentum causes them. It treats a stock’s prior-year return, excluding the latest month, as the treatment and forward return as the outcome. Recent volatility, illiquidity rank, and volume…

EquitiesMomentumMachine learningStatistics
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 compares ways to measure volatility and develops heterogeneous autoregressive (HAR) volatility models alongside roughness analysis. It uses intraday returns to estimate session realized variance, distinguishes intraday movement from overnight…

VolatilityStatisticsTechnical indicatorsEquities
Machine Learning for Trading

The notebook builds prediction intervals around gradient boosting forecasts with split conformal prediction. It fits a model on an earlier training segment, measures absolute residuals on a later calibration segment, and uses a finite-sample order statistic…

Machine learningStatisticsRisk managementPosition sizing
Machine Learning for Trading

This notebook compares four reference ETF allocations using historical crisis windows, hand-authored simultaneous asset shocks, Student-t Monte Carlo simulations, and market-regime statistics. It explains a maximum drawdown measure and uses daily…

Multi-assetRisk managementPortfolio constructionVolatility
Machine Learning for Trading

This notebook compares CSV, Parquet, Feather, and HDF5 storage using a deterministic one-million-row OHLCV panel. It measures write time, materialized read time, file size, and reads that select only two columns. The timing policy uses a single write…

EquitiesStatisticsExecution
Machine Learning for Trading

This notebook presents a pipeline for turning financial headlines into stock-level signals. It cleans and standardizes a news corpus, removes exact and prefix-matched duplicates within ticker-date groups, and uses sentence embeddings to represent headline…

EquitiesMachine learningSentimentFactor investing
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 builds a forecasting agent that alternates between web searches and probability forecasts. A small two-method language-model interface lets the same loop use a mock, local, or commercial provider. The agent receives a prediction-market question…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook examines information-driven sampling by constructing tick and volume imbalance bars from trade data. It verifies a manual tick-imbalance implementation against a library sampler, then sweeps expected bar sizes and adaptation settings to compare…

EquitiesMarket microstructureStatisticsTechnical indicators
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 develops Black-Scholes pricing for European calls and puts, checks put-call parity, and computes implied volatility with Brent root-finding. It also defines Delta, Gamma, Vega, Theta, and Rho and uses plots to illustrate how option…

OptionsDerivatives pricingVolatilityRisk management
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 notebook explains instrumented principal component analysis (IPCA) for a changing US equities panel. Traditional PCA assigns each stock a fitted loading, which cannot naturally cover names absent from the training sample and stays fixed as a company's…

EquitiesFactor investingMachine learningStatistics