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 document explains a CME futures experiment using TabM, a parameter-efficient neural ensemble, on the same engineered feature rows and walk-forward folds used by linear and gradient-boosting models. TabM shares most weights across ensemble members to…

FuturesMachine learningStatisticsBacktesting
Machine Learning for Trading

The document presents NLinear, a minimal sequence model for forecasting NASDAQ-100 stock returns from intraday features. It uses a fixed trailing window, subtracts the latest observation so the model works with changes rather than levels, and maps the…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

The document describes a pipeline for turning SEC 8-K filings into structured corporate events. A language model extracts event relationships, while explicit schema checks validate entity names, relation types, categories, and dates. Deterministic…

Event-drivenMachine learningStatisticsMarket microstructure
Machine Learning for Trading

This module describes migrating a registry after a library changed the numbering of walk-forward folds while leaving their date windows and fitted values unchanged. Since fold identifiers appear throughout training specifications, prediction keys, input…

BacktestingMachine learningStatistics
Machine Learning for Trading

This notebook describes producing predictions for a US equities case study’s holdout window after selecting a configuration on validation folds. It resolves the selected configuration, preserves its checkpoint choice, and constructs a new training…

EquitiesMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook explains how hidden Markov models infer unobserved market states from returns and recent volatility. It first establishes simple comparison rules: a volatility index threshold for stress and price relative to a long moving average for trend. A…

Machine learningStatisticsVolatilityTechnical indicators
Machine Learning for Trading

The notebook explains how to compare prediction models for S&P 500 options without allowing incomplete or mismatched evaluation samples to distort the results. It identifies each model by family, configuration, and checkpoint, checks that predictions meet…

OptionsMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook builds uncertainty intervals for ETF forward returns using Ridge regression and three conformal methods: split conformal prediction, conformalized quantile regression, and adaptive conformal inference. It evaluates them with walk-forward folds…

EquitiesMachine learningStatisticsRisk management
Machine Learning for Trading

This notebook uses double machine learning to estimate whether a perpetual-futures premium z-score is associated with the following eight-hour return after adjustment for six pre-treatment controls. It compares effects across high- and low-volatility regimes…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This notebook explains a conditional autoencoder that models stock returns as characteristic-dependent factor loadings multiplied by latent factors. It first estimates characteristic-managed portfolio returns with a joint cross-sectional least-squares fit,…

EquitiesFactor investingMachine learningPortfolio construction
Machine Learning for Trading

This notebook compares linear models on ETF features built from overlapping return windows and related momentum, volatility, and oscillator measures. Such predictors are collinear, making ordinary least squares coefficients unstable. The experiment fits…

Multi-assetMachine learningStatisticsBacktesting
Machine Learning for Trading

Fractional differencing applies a non-integer power of the lag difference operator to log prices. Its binomial weights decay across past observations, so the result combines price changes with some surviving level information. The fractional order controls…

StatisticsTechnical indicatorsMachine learning
Machine Learning for Trading

This notebook describes an LSTM model that predicts returns from ordered windows of stock features in a US equities panel. Unlike a flat tabular model, the LSTM processes sessions sequentially and carries a hidden state through each window. Learned gates…

Machine learningEquitiesUS marketsBacktesting
Machine Learning for Trading

This notebook presents TimeGAN, a recurrent generative adversarial model for producing synthetic financial sequences. Its five modules learn an embedding and reconstruction, predict successive latent states, generate sequences from noise, and distinguish…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook applies two sequential detectors to real validation prediction errors from two US equities linear-model configurations over a calendar year. A two-window mean-shift detector looks for changes in error magnitude, while a bad-day frequency…

Machine learningStatisticsRisk managementEquities
Machine Learning for Trading

This notebook presents a supervised autoencoder for predicting ETF forward returns. The network compresses a fund’s feature row into a low-dimensional representation and predicts returns directly from that representation. Unlike conditional autoencoders in…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This document describes how to derive a single holdout training interval from an existing walk-forward validation specification. It takes the declared holdout dates from the study configuration, uses the earliest training start across validation folds, and…

BacktestingMachine learningRisk managementStatistics
Machine Learning for Trading

This analysis compares feature-triage ledgers across nine trading case studies. It distinguishes Benjamini–Hochberg false-discovery-rate significance from a second route to a PROCEED decision, which combines a case-specific effect-size floor with fold sign…

StatisticsMachine learningBacktestingFactor investing
Machine Learning for Trading

This notebook fine-tunes three transformer checkpoints for three-class financial sentence sentiment and compares their accuracy, macro F1, confusion matrices, parameter counts, and training time. It uses a stratified train, validation, and test split of the…

Machine learningStatisticsSentimentBacktesting
Machine Learning for Trading

This notebook builds principal-component factors from a panel of CME futures returns, not from engineered characteristics such as carry, momentum, or volatility. PCA finds directions that explain variation across products; the first may resemble a common…

FuturesFactor investingMachine learningBacktesting
Machine Learning for Trading

This document introduces two latent-factor approaches for futures returns. Principal component analysis finds uncorrelated directions that explain the most return variation, while a neural stochastic discount factor seeks combinations related to the…

FuturesMachine learningStatisticsBacktesting
Machine Learning for Trading

This document explains how to build daily forward-return labels for ETFs using adjusted closing prices at the observation date and a later trading session. It creates a primary monthly-horizon label and a shorter weekly variant, with labels computed on each…

EquitiesMachine learningStatisticsMomentum
Machine Learning for Trading

This notebook compares split-conformal prediction, conformalized quantile regression, and adaptive conformal inference for forecasting ETF forward returns. In walk-forward folds, it trains on one subset, calibrates interval errors on another, and evaluates…

EquitiesMachine learningStatisticsRisk management