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

1,124 documents

Machine Learning for Trading

This notebook explains how searching across many factors or strategies inflates the apparent performance of the selected winner, even when individual estimates are computed correctly. A simulated set of noise factors illustrates that the largest information…

StatisticsFactor investingBacktestingRisk management
Machine Learning for Trading

This case study compares sequence models on an S&P 500 equity and options feature panel. It pairs an LSTM, which carries gated state through a lookback window, with an N-Linear baseline that removes the latest level and fits a linear mapping. The baseline…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This notebook explains TimeGAN’s five-part architecture: an embedder and recovery network map between raw observations and latent space, a supervisor learns temporal transitions, and a generator and discriminator train adversarially. It describes staged…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook demonstrates connecting a shared ETF momentum strategy interface to Alpaca, with a simulated offline path available by default. It explains how broker and market-data adapters can change while the strategy, order log, and shadow-mode wrapper…

EquitiesMomentumExecutionRisk management
Machine Learning for Trading

This notebook compares gross and net Sharpe across strategy cost sweeps drawn from case-study backtests. For each deployed strategy configuration, it reads the assumed per-leg cost and rebalance cadence from recorded artifacts, interpolates Sharpe at the…

BacktestingRisk managementExecutionStatistics
Machine Learning for Trading

This record documents a multi-agent research run on whether the United States would enter a recession by the end of 2026 under a specified resolution rule based on consecutive quarterly GDP contractions or an NBER recession date. Three agents searched for…

StatisticsUS marketsMulti-asset
Machine Learning for Trading

This notebook converts rolling ETF return windows into two-channel images for a convolutional neural network. The Gramian Angular Summation Field rescales values within each window, maps them to angles, and records trigonometric relationships between pairs…

Machine learningStatisticsEquitiesBacktesting
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

This document develops features for studying whether crowded positioning in crypto perpetual futures predicts relative returns. It explains the funding payment’s direction, the role of the premium index, and why raw funding or premium values may need…

CryptoPerpetual futuresMarket microstructure
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 configuration describes an intraday study of order-flow signals across a point-in-time NASDAQ-100 universe. It defines a cost-screened subset using liquidity information available before each evaluation period, specifies decision schedules for several…

EquitiesUS marketsMarket microstructureMachine learning
Machine Learning for Trading

This notebook uses a Gaussian mixture model to group months by the joint behavior of nine factor and asset-class return series. It standardizes monthly observations, drops months with missing values, and compares candidate cluster counts using BIC, AIC, and…

Factor investingMachine learningStatisticsMulti-asset
Machine Learning for Trading

This notebook builds a forecasting agent that alternates between reasoning and actions in a ReAct loop. Its action space is deliberately small: the agent can search for evidence or submit a probability forecast. A shared two-method interface lets the loop…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook examines the ADIA Lab causal discovery challenge as a benchmark for learning patterns within a known simulator family. Its task supplies many synthetic datasets paired with known directed acyclic graphs, then evaluates models on classifying…

Machine learningStatistics
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 explains Tail-GAN, a generative adversarial approach for creating financial return scenarios while targeting value at risk (VaR) and expected shortfall (ES). It uses differentiable sorting so gradients can pass through quantile estimates, and…

Machine learningRisk managementVolatilityPortfolio construction
Machine Learning for Trading

This feature-engineering notebook explains how slower information can condition faster trading signals through fundamentals, macroeconomic data, and calendar context. It outlines value ratios such as book-to-market and earnings yield, quality measures such…

Factor investingEquitiesStatisticsMachine learning
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 explains how a volume participation limit constrains the quantity of a parent order that can fill during each market interval. A broker calculates the allowed slice from observed traded volume and carries any unfilled remainder forward. Lower…

ExecutionMarket microstructureRisk managementEquities