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

87 documents

Machine Learning for Trading

The document shows how to turn weekly Commitment of Traders reports into futures positioning features. It explains the trader categories in the financial futures and disaggregated commodity formats, and why participant groups matter when aggregate net…

FuturesCommoditiesSentimentTechnical indicators
Machine Learning for Trading

This document explains how to turn weekly Commitment of Traders reports into futures positioning features. It outlines the report categories for financial futures and physical commodities, describes how net positions reflect different participant roles, and…

FuturesCommoditiesSentimentStatistics
Machine Learning for Trading

This document outlines a shared data system for quantitative trading research, cataloging datasets across equities, options, futures, crypto, foreign exchange, factors, macroeconomics, filings, positioning, news, and prediction markets. It describes the…

Multi-assetEquitiesFuturesCrypto
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 evaluates stop-loss, trailing-stop, and fixed-duration exits as overlays on CME futures strategies. For each prediction horizon, it applies configured rules to the strongest validation-Sharpe parent selected from prior signal and allocation…

FuturesRisk managementBacktestingCarry
Machine Learning for Trading

This guide explains how to turn hourly continuous futures data into daily bars aligned to CME trading sessions. Because a session ends at 4 PM Central Time, bars from Sunday evening belong to Monday's session, and bars after the close generally count toward…

FuturesCommoditiesMarket microstructureBacktesting
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 forward-return targets for a cross-sectional futures strategy that ranks products by term structure, going long those with stronger carry and short those with weaker carry. It distinguishes roll-adjusted prices, appropriate for…

FuturesCommoditiesCarryStatistics
Machine Learning for Trading

This document describes a fixed out-of-sample backtest for a selected CME futures strategy. The configuration, predictions, allocator, rebalance cadence, concentration, and transaction-cost assumptions are inherited from earlier research steps and applied…

FuturesBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook studies linear prediction models for a cross-section of CME futures products using feature columns grouped into related families, including carry, momentum, volatility, and rolling risk measures. Because columns within a family are often…

FuturesMachine learningFactor investingStatistics
Machine Learning for Trading

This notebook measures how transaction costs affect a fixed CME futures strategy configuration. It selects the reported configuration through a shared validation-stage process, carries its risk overlay into the cost runs, and applies a declared grid of…

FuturesCommoditiesBacktestingExecution
Machine Learning for Trading

This exploratory notebook profiles hourly CME futures data across products and asset classes, using the E-mini S&P 500 as an example. It explains the hierarchy from product to expiring contract to continuous series, summarizes coverage windows, and checks…

FuturesStatisticsBacktestingMarket microstructure
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 audit record defines how several backtesting frameworks are compared with ML4T across real strategy case studies and a synthetic stress workload. It specifies the comparison rules for ordered fills, timestamps, account-money values, quantities, and…

BacktestingExecutionMarket microstructureFutures
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 evaluates LSTM and NLinear sequence configurations on CME futures products. Sequence models consume ordered windows of observations, testing whether the recent path contains information beyond engineered summary features. The LSTM learns a…

FuturesMachine learningBacktestingStatistics
Machine Learning for Trading

This analysis explains how to read information coefficients for a catalog of CME futures prediction models. It defines each date’s IC as the rank correlation between predicted and realized returns across products, then averages those daily values across…

FuturesStatisticsMachine learningBacktesting
Machine Learning for Trading

This feature-engineering notebook constructs variables that require information beyond one asset’s price history. For futures, it computes annualized roll yield from contemporaneous near and deferred contract levels, plus term-structure slope and curvature…

FuturesOptionsCarryVolatility
Machine Learning for Trading

This CME futures study varies gradient boosting tree capacity and loss function while recording predictions at multiple training checkpoints. Tree leaf count controls how finely a model partitions the feature space, while squared, absolute, and Huber losses…

FuturesMachine learningStatisticsBacktesting
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 turns futures carry—the price gap between nearby expiries—into model-based features. It describes one-step ARIMA forecasts per product, rolling Fourier measures of seasonal cycle strength, and a two-state hidden Markov model that infers broad…

FuturesCarryMachine learningStatistics
Machine Learning for Trading

This notebook turns hourly continuous futures data into daily OHLCV bars aligned to CME Globex sessions. It assigns timestamps to the session ending at 4 PM Central Time, so Sunday evening trading belongs to Monday and Friday evening does not create a…

FuturesBacktestingMarket microstructure
Machine Learning for Trading

This audit compares multiple backtesting engines on shared historical inputs for ETF allocation, CME futures, crypto perpetuals with funding, foreign exchange, and US equities. Each supported pair receives the same content-addressed market data and frozen…

BacktestingExecutionMulti-assetFutures