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 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 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 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 demonstrates single-factor evaluation using real ETF data and a price-derived momentum example. It measures cross-sectional Spearman information coefficients against forward returns, compares horizons, and explains the distinction between…

EquitiesMomentumStatisticsBacktesting
Machine Learning for Trading

This case study screens candidate financial and model-based features against forward returns for a NASDAQ-100 microstructure strategy. It calculates cross-sectional rank information coefficients through time, adjusts inference for dependence and multiple…

EquitiesMarket microstructureStatisticsMachine learning
Machine Learning for Trading

This chapter presents retrieval-augmented generation as a way to make language models more useful for open-ended financial research, where unsupported claims and hallucinations can be costly. It walks through the system from document ingestion and…

Machine learningStatisticsEquitiesSentiment
Machine Learning for Trading

This notebook selects a CME futures case study from registered validation backtests spanning signal rules, allocation, and risk overlays. It compares candidates across both return horizons and chooses the configuration with the highest validation Sharpe.…

FuturesBacktestingRisk managementPortfolio construction
Machine Learning for Trading

This notebook develops features that require multiple asset series. It compares Engle-Granger and Johansen tests for cointegration, explains why co-movement alone does not imply a stationary spread, and estimates hedge ratios both with a full-sample…

Multi-assetPairs tradingMean reversionStatistics
Machine Learning for Trading

This notebook explains how to construct forward intraday return labels for NASDAQ-100 stocks using minute bars and NBBO quotes. It defines returns from the next bar after a signal to a specified future endpoint, uses quote midpoints to reduce bid-ask bounce,…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

The document presents an operational workflow for keeping daily market data current: load an initial history, fetch a small overlapping delta, check for missing dates, and monitor freshness and validation issues. The overlap helps capture vendor revisions to…

EquitiesBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook fits a patched transformer to predict a primary label in an S&P 500 equity and options study. It divides each stock’s historical input window into contiguous patches and treats each patch as a token for attention. Attention can compare distant…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This exploratory analysis profiles hourly OHLCV data for Binance perpetual contracts alongside an eight-hour premium index. It checks dataset coverage, changing contract membership, units, missing values, and raw-bar OHLC consistency. The premium is stored…

CryptoPerpetual futuresMarket microstructureStatistics
Machine Learning for Trading

This code presents a supervised autoencoder architecture for prediction from financial features. An encoder compresses normalized inputs into a bottleneck, while a decoder reconstructs the inputs as a regularizing task. An auxiliary prediction head operates…

Machine learningEquitiesStatistics
Machine Learning for Trading

This notebook explains an ETF stochastic discount factor model that fits a single series of weights to price returns across funds. Unlike models that separately estimate fund exposures and factor returns, it trains two networks against pricing errors: one…

EquitiesStatisticsMachine learningPortfolio construction
Machine Learning for Trading

This notebook presents a workflow for monitoring a deployed trading model using holdout predictions as an offline stand-in for live data. It validates the incoming feature panel before calculating drift, then compares reference and current windows with…

Machine learningStatisticsRisk management
Machine Learning for Trading

This notebook presents GReaT, a method for generating synthetic financial tables with a language model. It serializes each row as text, fine-tunes a GPT-based model on ETF features, and parses generated text back into mixed numerical and categorical columns.…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook explains how to construct model-based features for a US equities panel without letting future observations influence historical values. Its central method is an estimation schedule: models use a burn-in period, fit only on data preceding the…

EquitiesMachine learningStatisticsVolatility