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
WonderTrader
14 documents
Alphalens
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

105 documents

Machine Learning for Trading

This document describes a daily ETF candidate universe covering equities, fixed income, commodities, and currencies. It outlines a workflow for downloading market data, loading it for analysis, inspecting coverage by symbol and category, and filtering by…

Multi-assetEquitiesFixed incomeCommodities
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 assesses whether an LSTM can use the ordering of ETF feature histories to improve on flat-feature linear and gradient-boosting models. It resolves the declared sequence population against current data, checks eligible funds and fund-date rows,…

Machine learningMomentumStatisticsBacktesting
Machine Learning for Trading

This case study compares predictive models for monthly cross-asset rotation across ETFs spanning equities, fixed income, commodities, currencies, and real estate. Its central lesson is that information coefficient (IC) and trading performance can rank models…

Multi-assetBacktestingPortfolio constructionMomentum
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 presents lightweight falsification diagnostics for feature triage, explicitly distinguishing mechanism consistency from causal identification. It first scans ETF features across forward-return horizons with multiple-testing correction, then…

Machine learningStatisticsMomentumVolatility
Machine Learning for Trading

This notebook estimates the adjusted effect of a continuous ETF momentum measure on forward returns using double machine learning. It contrasts an unadjusted regression with DML estimates that control for recent and longer-term volatility, market regime, and…

EquitiesMomentumMachine learningStatistics
Machine Learning for Trading

This notebook explains how to build a cross-sectional futures feature matrix from three contract tenors per product. It derives carry and curve curvature from exchange-settled prices, while using roll-adjusted prices for return, momentum, and volatility…

FuturesCommoditiesCarryMomentum
Machine Learning for Trading

This notebook develops a financial feature matrix for a cross-asset ETF momentum hypothesis: assets with stronger relative performance may continue to outperform over the following month. It combines trailing returns at several horizons, risk-adjusted…

Multi-assetMomentumTechnical indicatorsStatistics
Machine Learning for Trading

This document explains how to build and inspect a feature matrix for a cross-sectional ETF momentum and rotation hypothesis. It defines each feature’s lookback and information lag, then constructs trailing returns, risk-adjusted returns, volatility, trend…

EquitiesMulti-assetMomentumTechnical indicators
Machine Learning for Trading

This document reframes a five-session equity return prediction by sampling daily data on Fridays. The label remains a five-session return, but on the weekly grid it spans about one model step. The notebook compares direct regression, using a fixed lookback…

EquitiesUS marketsMachine learningStatistics
Machine Learning for Trading

This notebook constructs price-derived features for a broad US equities panel, including momentum, moving averages, and volatility measures. It is designed to rank stocks against one another, using a tradability screen, per-symbol rolling calculations, and…

EquitiesMomentumTechnical indicatorsStatistics
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 tests whether an LSTM can extract temporal structure from ETF feature histories that flat-feature models may miss. It resolves the declared sequence population against available features, labels, entities, and walk-forward folds before fitting.…

EquitiesMomentumMachine learningStatistics
Machine Learning for Trading

This notebook builds rule-based features for a cross-section of CME futures, centered on carry from the spread between nearby delivery contracts. It also constructs momentum, volatility, curve-shape, and calendar features. The design distinguishes raw…

FuturesCommoditiesCarryMomentum
Machine Learning for Trading

This notebook defines close-to-close forward returns over two trading horizons for a cross-section of ETFs, with each horizon measured from an adjusted close to the close a fixed number of sessions later. It explains why labels are built on complete symbol…

EquitiesMomentumStatisticsBacktesting
Machine Learning for Trading

This case study builds minute-level features from NASDAQ-100 quote and trade data to examine whether recent aggressive buying or selling predicts short-horizon price drift. Order-flow imbalance is the proposed signal; spread, book depth, price impact,…

EquitiesMarket microstructureMomentumTechnical indicators
Machine Learning for Trading

This notebook applies double machine learning (DML) to estimate the effect of skip-recent momentum on ETF forward returns, a causal question distinct from forecasting returns. It models the outcome and the momentum treatment using declared confounders, then…

EquitiesMomentumMachine learningStatistics
Machine Learning for Trading

This notebook defines forward-return labels for a US equities panel and explains why their construction affects every downstream model and backtest. It specifies adjusted-price return windows in trading sessions, checks that each stock has the required…

EquitiesMomentumStatisticsBacktesting
Machine Learning for Trading

This notebook demonstrates an operational workflow for connecting a shared backtest and live strategy to an Interactive Brokers paper-trading session. It checks account identity and state, requests historical bars to initialize indicators, subscribes to…

EquitiesMomentumExecutionRisk management
Machine Learning for Trading

This chapter review describes a hypothesis-driven process for defining trading strategies before backtesting. It connects documented data assumptions and immutable configuration to exploratory analysis, event studies, and a structured strategy term sheet.…

MomentumMean reversionStatisticsBacktesting
Machine Learning for Trading

This notebook explains how futures contract specifications affect backtest accounting. It shows how the contract multiplier converts price moves into dollar P&L, how price times multiplier determines notional value for sizing, and why per-contract…

FuturesCommoditiesMomentumPosition sizing
Machine Learning for Trading

This notebook defines forward price-return labels for a fixed panel of crypto perpetual contracts and explains how label construction affects every later model and backtest. It shifts bar-open timestamps to the time completed data becomes available,…

CryptoPerpetual futuresBacktestingStatistics