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

715 documents

Machine Learning for Trading

This record documents a multi-agent pipeline that estimates whether the United States will enter a recession by the end of 2026. Agents search for economic indicators and forecasts, form individual probabilities, compare rationales through debate, and pass…

US marketsStatisticsSentiment
Machine Learning for Trading

This notebook explains why a strategy’s observed Sharpe ratio needs adjustment when it was selected from many trials. It presents the Deflated Sharpe Ratio (DSR), which compares the selected result with a benchmark that rises with the number and dispersion…

BacktestingStatisticsRisk management
Machine Learning for Trading

This notebook explains how to fine tune a transformer for financial named entity recognition, which identifies spans such as organizations, people, amounts, dates, and percentages in text. It focuses on BIO boundary labels and the alignment problem between…

Machine learningEquitiesStatistics
Machine Learning for Trading

This notebook adapts a supervised autoencoder to daily US equities. The model reconstructs ranked price and volume characteristics while auxiliary and main classification heads train a shared latent representation to predict whether returns are positive…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook demonstrates a data-quality workflow for daily US equity OHLCV data. Structural checks cover nulls, duplicates, chronological order, price consistency, negative values, stale prices, and extreme returns. It then distinguishes structural…

EquitiesStatisticsRisk managementMarket microstructure
Machine Learning for Trading

This notebook presents a workflow for reducing a large set of ETF features to candidates for later modeling. It ranks features using cross-sectional Spearman information coefficients against forward returns, computed by date and then averaged. Newey–West…

EquitiesStatisticsMachine learningFactor investing
Machine Learning for Trading

This notebook explains how a stochastic discount factor (SDF) prices a cross-section of equity option signals. Unlike factor models that estimate exposures and factor returns, the SDF approach estimates one random variable that makes asset returns price…

OptionsEquitiesMachine learningFactor investing
Machine Learning for Trading

This document introduces latent factors as common return patterns across stocks, with each stock's loading describing its exposure to a pattern. It contrasts principal component analysis, which extracts factors and stock loadings from the return panel alone,…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This document explains how to construct forward-return and direction labels for NASDAQ-100 intraday research. It defines the return using an explicit execution convention: observe a bar close, enter at the next bar, and measure the outcome over a configured…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook studies TabM, a neural network design for tabular data, on monthly firm characteristics. It compares three presets that increase hidden width and ensemble membership while keeping other training settings fixed. The shared runner fixes the…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This chapter outlines post-deployment governance for machine-learning trading systems. It separates technical failures, where identical inputs produce different outputs, from statistical decay, where outputs no longer predict returns. Its framework combines…

Machine learningRisk managementExecutionStatistics
Machine Learning for Trading

This index introduces latent factors as shared patterns extracted from the way stocks’ returns move together, with each stock’s loading indicating its exposure to a pattern. It contrasts principal component analysis, which estimates factors and stock…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This analysis explains how to read information coefficients for a catalog of CME futures prediction models. It defines each date’s IC as the rank correlation between predicted and realized returns across products, then averages those daily values across…

FuturesStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook runs three otherwise identical research agents on a recession question, either by replaying a saved capture or by running live models and search in parallel. It records each agent’s probability, confidence, evidence-gathering activity, and…

Machine learningStatisticsSentimentBacktesting
Machine Learning for Trading

This notebook brings an ETF case study’s registered backtests together into an uncertainty-aware strategy assessment. It reads performance measures with block-bootstrap confidence intervals and uses paired bootstraps to compare successive pipeline stages,…

BacktestingStatisticsPortfolio constructionFactor investing
Machine Learning for Trading

This notebook explains how a macro panel stamped with the period it measures can leak future information into a trading backtest. It estimates publication dates by adding the period length to the stamped date and then applying a conservative release lag…

BacktestingStatisticsRisk managementMulti-asset
Machine Learning for Trading

This notebook uses TreeSHAP to explain LightGBM return predictions, with global feature importance, individual prediction explanations, dependence plots, and pairwise interaction values. It compares SHAP rankings with permutation importance and tree-based…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

The notebook demonstrates a pipeline for extracting supplier, customer, and competitor relationships from company annual filings and storing them as a knowledge graph. A local language model generates candidate subject–relationship–entity triples from filing…

EquitiesMachine learningStatistics
Machine Learning for Trading

The document explains how to create currency-pair features from three fitted time-series models: a state-space filter that estimates a slowly changing price level, a two-state hidden Markov model for dollar volatility regimes, and an ARIMA model whose…

ForexStatisticsVolatilityBacktesting
Machine Learning for Trading

The document presents a shared state machine for automated trading halts, with closed, open, and half-open states. It applies that lifecycle to four conditions: portfolio drawdown, daily loss, consecutive losing sessions, and system latency. After a recovery…

Risk managementExecutionStatistics
Machine Learning for Trading

This notebook asks whether sequence models can improve on hand-built summaries of perpetual funding premium history. It compares NLinear, a simple linear model that reads an ordered window, with a two-layer LSTM. Both use the same feature order, walk-forward…

CryptoMachine learningPerpetual futuresBacktesting
Machine Learning for Trading

This document explains why stop-losses, trailing stops, and time exits cannot be evaluated in a case study whose backtest holds weights across a month and observes only the realized monthly forward return. Such rules depend on the price path between entry…

EquitiesRisk managementBacktestingPosition sizing
Machine Learning for Trading

This document describes a strategy assessment process for registered NASDAQ-100 microstructure backtests. It reads existing runs rather than training models or rerunning backtests, traces selected strategy lineages, compares candidates with an equal-weight…

EquitiesMarket microstructureBacktestingStatistics
Machine Learning for Trading

This document presents a staged method for matching company names from alternative data, filings, news, and price sources to securities. It first joins on available identifiers in a deliberate trust order, preserving unmatched records and checking that…

EquitiesStatisticsMachine learningRisk management