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 applies one monthly ETF momentum and yield-curve regime strategy in two ways: vectorized return arithmetic and a sequential account simulation. Both use the same target weights, assets, dates, and total trading cost, allowing the comparison to…

EquitiesMomentumBacktestingExecution
Machine Learning for Trading

This document explains a five-gate process for evaluating nine trading case studies, from signal quality through validation, transaction costs, holdout performance, and evidence quality. The gates are cumulative, so a strategy reaches the final stage only if…

BacktestingRisk managementMachine learningStatistics
Machine Learning for Trading

This notebook walks through a deployment rehearsal for a crypto funding-rate direction model. It trains a three-class LightGBM model on historical Binance-derived perpetual data, then fetches live hourly bars and funding rates from OKX, aggregates data to…

CryptoPerpetual futuresSpot marketsMachine learning
Machine Learning for Trading

This notebook describes fitting a long short-term memory network to one-minute NASDAQ-100 microstructure features to predict forward returns at several horizons. The model processes a trailing sequence step by step, learning which earlier observations to…

Machine learningEquitiesHigh-frequency tradingBacktesting
Machine Learning for Trading

This notebook compares volatility measurements, fits a heterogeneous autoregressive (HAR) model, and estimates roughness using Hurst exponents. It first contrasts intraday realized variance with daily estimators, separating overnight returns from session…

VolatilityStatisticsTechnical indicatorsBacktesting
Machine Learning for Trading

The notebook introduces a conditional autoencoder that extends instrumented principal component analysis by replacing its linear mapping from stock characteristics to factor exposures with a neural network. It retains the exposure-times-factor-return…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This utility module builds tables and figures for evaluating predictive models across validation and holdout data. Its diagnostics include confidence intervals around information coefficients, validation-to-holdout decay, selection-adjusted backtest…

StatisticsMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook presents a workflow for acquiring and maintaining financial time series with a unified manager, predefined or custom symbol universes, and partitioned Parquet storage. It covers single and parallel multi-symbol fetching, loading data into…

Multi-assetEquitiesBacktestingExecution
Machine Learning for Trading

The chapter explains classical approaches to generating synthetic financial data, covering continuous-time price processes, GARCH volatility, bootstrap resampling and model comparison. It describes how models such as geometric Brownian motion,…

StatisticsVolatilityRisk managementBacktesting
Machine Learning for Trading

This document describes the architecture of a neural policy network that maps asset-level time series and context into bounded portfolio risk weights. Its per-asset backbone combines context embeddings, feature-wise modulation, variable selection, an LSTM,…

Machine learningPortfolio constructionRisk managementEquities
Machine Learning for Trading

This exploratory analysis tests whether a twelve-month momentum signal, omitting the latest month, is associated with next-month returns across a 100-ETF universe. It builds a monthly panel from adjusted closing prices, ranks eligible ETFs into quintiles…

Multi-assetMomentumStatisticsBacktesting
Machine Learning for Trading

This notebook compares portfolio sizing methods for leading S&P 500 equity signal configurations. It first selects each configuration’s strongest full-coverage checkpoint using validation Sharpe, then applies alternative allocators—including score weighting,…

EquitiesPortfolio constructionPosition sizingBacktesting
Machine Learning for Trading

This document records a multi-stage forecast of whether the Federal Reserve will raise rates during 2026. Three agents search for evidence and produce probabilities, followed by debate and a supervisor update. Their views differ: two assign a low probability…

Fixed incomeUS marketsMachine learningStatistics
Machine Learning for Trading

This notebook runs the NLinear member of a declared three-model sequence-learning population for S&P 500 options. It resolves the requests and checkpoints for the full population before fitting this member, so later notebooks can execute the LSTM and…

OptionsUS marketsMachine learningBacktesting
Machine Learning for Trading

This notebook describes the holdout prediction stage of a US firm-characteristics study. It takes the model configuration selected using validation results, reconstructs its training specification and checkpoint, then fits it again using data that ends…

EquitiesUS marketsMachine learningBacktesting
Machine Learning for Trading

This configuration note explains why an L1-penalized, three-class logistic regression uses SAGA instead of scikit-learn’s liblinear solver. It cites multiclass compatibility in newer scikit-learn versions and reports that SAGA completed much faster in…

Machine learningStatistics
Machine Learning for Trading

The notebook describes an expanding-window double machine learning analysis of whether 12-to-2-month momentum predicts next-month US firm returns after adjustment for beta, idiosyncratic volatility, market capitalization, and variance. It fits nuisance…

EquitiesMomentumMachine learningStatistics
Machine Learning for Trading

This notebook presents a pipeline for extracting structured corporate events from SEC 8-K filings and loading them into a Neo4j knowledge graph. A language model processes filings in batches to produce event records with subjects, relations, objects, and…

Event-drivenMachine learningEquitiesStatistics
Machine Learning for Trading

This notebook compares Optuna hyperparameter searches for XGBoost, LightGBM, and CatBoost on a firm-characteristics dataset. Each library receives its own search study, using a tree-structured Parzen estimator, median pruning, early stopping, and persistent…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This notebook compares behavior cloning and inverse reinforcement learning (IRL) using demonstrations from a time-weighted average price (TWAP) execution rule. Behavior cloning maps observed market states directly to actions, while IRL fits a linear reward…

ExecutionMachine learningStatisticsRisk management
Machine Learning for Trading

This notebook applies double machine learning to examine whether the implied-minus-realized volatility spread is associated with subsequent equity returns after adjustment for observed confounders. It identifies realized volatility, equity momentum, and…

EquitiesOptionsVolatilityMachine learning
Machine Learning for Trading

This demonstration checks whether one dual moving-average crossover implementation produces matching signals in backtest and live engines. Both engines receive the same prepared ETF bars and use the same strategy parameters and fill convention, so the…

EquitiesBacktestingExecutionTechnical indicators
Machine Learning for Trading

This training utility describes an optimization loop for a DeePM-style model. It uses AdamW to update model parameters from a robust Sharpe-oriented loss, passing forward returns, volatility scaling, masks, transaction costs, and configured burn-in and…

Machine learningRisk managementBacktestingStatistics
Machine Learning for Trading

This notebook examines tick-level AlgoSeek trade and quote data for AAPL during the March 16, 2020 market crash. It filters to regular trading hours, separates trade prints from NBBO updates, and studies intraday activity, spreads, trading sizes, venue…

EquitiesMarket microstructureExecutionVolatility