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

55 documents

Machine Learning for Trading

This notebook applies TabM, a tabular neural-network approach, to foreign-exchange pair prediction rows without treating the data as a sequence. It uses shared runner infrastructure to fit preprocessing within each training fold, save declared weight…

ForexMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook builds a daily feature panel for a long-short ranking strategy across twenty FX pairs. It aggregates four-hour spot bars into sessions ending at the New York 5 PM rollover, then constructs trailing return, channel, volatility, drawdown, range,…

ForexSpot marketsMean reversionMomentum
Machine Learning for Trading

This notebook explains how double machine learning (DML) estimates whether FX momentum affects future returns after adjusting for configured confounders. It distinguishes this intervention question from prediction: predictive models are compared by…

ForexMomentumMachine learningStatistics
Machine Learning for Trading

This notebook studies how position sizing affects FX backtests after the model has already selected which currency pairs to trade. It preserves the winning baseline’s predictions, signal mapping, costs, and execution settings, then varies allocation rules.…

ForexPosition sizingPortfolio constructionBacktesting
Machine Learning for Trading

This notebook describes a TabM workflow for foreign-exchange pair models. TabM applies a small neural network to each decision row rather than treating the observations as a sequence. The notebook takes architecture and checkpoint schedules from…

ForexMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook tests whether gradient-boosted trees improve cross-sectional ranking across currency pairs beyond a penalized linear model. The FX universe contains pairs sharing currencies, so observations are dependent: a move in one currency affects…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook checks whether four-hour spot FX data can support a daily cross-sectional strategy that ranks currency pairs using momentum and carry. It tests whether the declared instruments have prices at each decision point, whether the universe represents…

ForexMomentumCarryStatistics
Machine Learning for Trading

This notebook describes a double machine learning analysis of the effect associated with an FX momentum treatment after adjustment for configured confounders. Flexible nuisance models estimate the outcome and treatment from those confounders; cross-fitting…

ForexMomentumMachine learningStatistics
Machine Learning for Trading

This notebook configures an NLinear forecasting run for FX pairs. The model uses a fixed consecutive lookback and subtracts the last observed level, directing its fit toward changes over that window. It resolves the lookback, normalization, device, folds,…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook audits the complete set of canonical validation predictions for an FX pairs study. It checks model identity, artifact availability, completeness, configured-label coverage, and whether the assembled configurations match the declared menu.…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook audits the registered validation predictions for an FX pairs study. It checks that the catalog includes the configured model population, complete prediction sets, available artifacts, and current model identities. It then summarizes predictive…

ForexMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook presents correctness and runtime comparisons for VectorBT Pro and VectorBT OSS against ML4T on supported case-study strategies. It covers ETF allocation, USD-quoted foreign exchange, and a US equity panel for both editions; VectorBT Pro also…

BacktestingExecutionFuturesForex
Machine Learning for Trading

This notebook describes a shared workflow for fitting temporal convolutional networks to daily FX pair data. Instead of treating each date as an isolated feature row, the model uses a fixed lookback of consecutive observations. The runner determines eligible…

ForexMachine learningBacktesting
Machine Learning for Trading

This case study evaluates daily momentum and carry signals across a small, correlated universe of G10 spot currency pairs. Its workflow moves from feasibility checks and forward-return labels through engineered and model-based features, cross-validation,…

ForexMomentumCarryBacktesting
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

This notebook reviews a selected foreign-exchange strategy and its holdout lineage using registered research artifacts. It reproduces the choice from a frozen validation candidate set, ranking eligible solvent backtests by validation Sharpe with a…

ForexBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook explains how to construct one-, five-, and 21-session forward spot returns for a fixed FX-pair universe. It first maps four-hour bars into trading sessions using a New York rollover calendar, then builds returns without removing rows before…

ForexSpot marketsMomentumMean reversion
Machine Learning for Trading

This notebook runs the already selected FX strategy specification against registered holdout predictions. It preserves the strategy’s signal, allocation, risk controls, rebalance rule, costs, and account settings; the prediction set and price-frame identity…

ForexBacktestingRisk managementPortfolio construction
Machine Learning for Trading

This notebook presents a current audit comparing VectorBT Pro and VectorBT OSS with ML4T on supported real-data strategy workloads. Both VectorBT editions participate in ETF allocation, USD-quoted foreign-exchange allocation, and a US equity panel. Pro also…

Multi-assetEquitiesFuturesForex
Machine Learning for Trading

This audit compares Backtrader and Zipline with ML4T on real strategy cases, using only asset and contract combinations that each engine and the frozen data bundle can represent natively. It covers ETF allocation and a US equity panel for both engines, plus…

BacktestingExecutionFuturesForex
Machine Learning for Trading

This notebook assesses whether four-hour spot FX data can support a daily cross-sectional strategy that ranks currency pairs using momentum and carry, buys the strongest, and sells the weakest. It does not fit a model or make forecasts. Instead, it checks…

ForexMomentumCarryStatistics
Machine Learning for Trading

This configuration describes a daily long-short strategy across 20 FX pairs. It sets a New York close decision time, next-bar execution, equal-weight sizing, and ranking signals based on momentum or carry. It also specifies spread and swap-point costs,…

ForexMomentumCarryMean reversion
Machine Learning for Trading

This document describes a shared workflow for training temporal convolutional networks on daily FX pair data. A model consumes a fixed-length sequence, and a missing expected day makes any window crossing that gap ineligible. The runner derives the valid…

ForexMachine learningBacktesting
Machine Learning for Trading

This case study compares declared fixed and trailing stop rules for FX positions. It first selects one parent strategy per label from a sealed validation cohort, then varies only the position risk rule. Because stops respond to price movements within a…

ForexRisk managementBacktestingPosition sizing