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

5,018 documents

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 notebook explores ARIMA as a feature generator for models that may use its output alongside other predictors. It explains how ACF and PACF plots can suggest model orders, how information criteria can compare candidate orders on training data, and why…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This document outlines a shared data system for quantitative trading research, cataloging datasets across equities, options, futures, crypto, foreign exchange, factors, macroeconomics, filings, positioning, news, and prediction markets. It describes the…

Multi-assetEquitiesFuturesCrypto
Machine Learning for Trading

This case study describes producing an out-of-sample prediction set for an already selected S&P 500 options model. The holdout configuration is fixed using validation results, then fitted again on data ending before the holdout window. A label buffer…

OptionsMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook explains how double machine learning (DML) estimates whether FX momentum affects future returns after adjusting for configured confounders. It distinguishes this intervention question from prediction: predictive models are compared by…

ForexMomentumMachine learningStatistics
Machine Learning for Trading

This notebook presents lightweight falsification diagnostics for feature triage, explicitly distinguishing mechanism consistency from causal identification. It first scans ETF features across forward-return horizons with multiple-testing correction, then…

Machine learningStatisticsMomentumVolatility
Machine Learning for Trading

This notebook surveys supervised-learning labels using ETF price data. It covers fixed-horizon forward returns for regression or direction classification, time-series rolling percentiles, cross-sectional percentile labels, triple-barrier labels with fixed or…

Machine learningEquitiesVolatilityRisk management
Machine Learning for Trading

This notebook aggregates registry results for OLS, Ridge, Lasso, and ElasticNet across nine case studies. It selects complete validation results at each study's primary label, compares mean daily cross-sectional rank information coefficients and HAC…

Machine learningStatisticsBacktesting
Machine Learning for Trading

This notebook trains Skip-gram Word2Vec on labeled financial news sentences and explains how its vectors represent words that occur in similar contexts. It describes the roles of vector size, context window, minimum frequency, prediction mode, negative…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook compares learned and analytical hedges for a short European call when rebalancing is discrete and trading incurs proportional costs. It defines the self-financing terminal P&L from hedge gains, turnover costs, and the option payoff, then trains…

OptionsDerivatives pricingVolatilityRisk management
Machine Learning for Trading

This notebook evaluates ETF features one at a time by calculating a date-by-date rank information coefficient between feature values and subsequent monthly returns. It screens financial and model-derived features over walk-forward validation dates, then…

EquitiesStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook evaluates candidate features for ranking US equities by subsequent returns. It computes daily cross-sectional information coefficients, summarizes their average with uncertainty estimates that account for serial dependence, and adjusts…

EquitiesStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook explains PCA as a baseline latent-factor model for forecasting ETF returns. It decomposes a training panel of forward returns into leading directions and estimates each fund’s exposure and factor premia. The estimator ignores the available…

Factor investingMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook demonstrates fine-tuning three transformer checkpoints for three-class financial sentence sentiment and evaluating them with accuracy, macro F1, and confusion matrices. It uses a stratified train, validation, and test split so class imbalance…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook estimates the adjusted effect of a continuous ETF momentum measure on forward returns using double machine learning. It contrasts an unadjusted regression with DML estimates that control for recent and longer-term volatility, market regime, and…

EquitiesMomentumMachine learningStatistics
Machine Learning for Trading

This notebook explains how a conditional autoencoder extends instrumented principal component analysis (IPCA): it retains the two-stage structure in which fund features map to latent factor exposures and those exposures combine with factor returns, but uses…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This analysis compares predictive models for ranking NASDAQ-100 stocks by their next 15-minute return using intraday microstructure features such as spreads, depth imbalance, signed volume, and volatility. It emphasizes selecting comparable prediction sets…

EquitiesMarket microstructureMachine learningStatistics
Machine Learning for Trading

This notebook rehearses a deployment cycle for a crypto funding-rate direction model. It trains a LightGBM classifier on historical Binance-derived perpetual data, fetches live hourly bars and funding rates from OKX, computes the model's features, and…

CryptoPerpetual futuresMachine learningExecution
Machine Learning for Trading

This notebook compares sklearn HistGradientBoosting, XGBoost, LightGBM, and CatBoost for predicting forward ETF returns. It measures cross-sectional information coefficient, training time, and memory use across model-complexity presets, with GPU runs…

Machine learningEquitiesBacktestingStatistics
Machine Learning for Trading

This notebook maps a family of ETF return models that infer common latent directions in a panel, with features used to estimate fund exposures. It distinguishes five approaches: unconditional principal components; instrumented PCA with a linear…

StatisticsMachine learningFactor investing
Machine Learning for Trading

This notebook explains how to design a search tool for a forecasting agent so evidence has a consistent structure, a traceable origin, and an auditable path into the model. A shared client protocol returns typed results across providers and includes a cutoff…

Machine learningBacktestingSentiment
Machine Learning for Trading

This notebook shows why searching across many signals or strategies makes the top observed result look stronger than its underlying predictive value. A simulation uses factors with no true information to illustrate how selecting the largest information…

StatisticsFactor investingBacktestingMachine learning
Machine Learning for Trading

The document describes how a trading research pipeline assesses whether latent-factor model fits completed in a usable state. For models trained by gradient descent, it checks that the final recorded training objective is finite; for the stochastic discount…

Machine learningFactor investingRisk management
Machine Learning for Trading

This notebook applies TSMixer to ETF sequences using one globally shared function across funds. Each example contains an individual fund's history and covariates; temporal and feature interactions are learned across the panel, but one fund's observations are…

EquitiesMachine learningStatisticsBacktesting