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

22 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 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 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 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 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 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 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 dataset note describes a diversified collection of exchange traded funds used in a momentum strategy and a broader sequence of financial research examples. It provides daily open, high, low, close, and volume observations beginning in 2006, grouped…

Multi-assetEquitiesFixed incomeCommodities
Machine Learning for Trading

This analysis explains how CME futures data is organized into products, expiring contracts, and volume-rolled continuous series. It uses E-mini S&P 500 data to show how individual contracts have finite trading windows that overlap around a roll, while a…

FuturesCommoditiesMulti-assetBacktesting
Machine Learning for Trading

This reference summarizes listed contract months for 35 CME futures products across equity indexes, Treasuries, energy, metals, currencies, interest rates, agriculture, livestock, and crypto. It explains the exchange’s month-code system and distinguishes…

FuturesMarket microstructureBacktestingCommodities
Machine Learning for Trading

This document compares alternative position-sizing methods for CME futures strategies selected from a baseline ranked by equal-weight validation Sharpe. Equal weighting treats every selected product alike, although futures contracts can have very different…

FuturesCommoditiesPosition sizingPortfolio construction
Machine Learning for Trading

This notebook uses double machine learning to estimate whether futures carry has an effect on subsequent returns after adjusting for volatility, momentum, and cross-sectional carry rank. It distinguishes causal explanation from predictive performance: a…

FuturesCarryMachine learningStatistics
Machine Learning for Trading

This notebook checks whether the data can support a weekly, cross-sectional futures strategy before any model is fitted. It describes a design that ranks CME products, takes long positions in the highest-ranked contracts and short positions in the lowest,…

FuturesCommoditiesCarryExecution
Machine Learning for Trading

This notebook studies gradient boosting for cross-sectional prediction of CME futures returns. It varies tree capacity through leaf-count profiles and compares squared-error, absolute-error, and Huber objectives, which differ in how strongly extreme…

FuturesCommoditiesMachine learningBacktesting
Machine Learning for Trading

The document sets out how to construct forward-return labels for a cross-sectional futures strategy that ranks products by term structure. It distinguishes roll-adjusted prices, which are appropriate for returns across contract rolls, from raw settlement…

FuturesCommoditiesCarryBacktesting
Machine Learning for Trading

This document describes a CME futures dataset with hourly and daily bars, continuous front-month contracts, and two deferred tenors across several product groups. It explains the dataset’s coverage, fields, loading options, and related weekly CFTC…

FuturesCarryCommoditiesMarket microstructure
Machine Learning for Trading

This dataset guide describes a collection of continuous CME futures contracts spanning equity indexes, rates, energy, metals, currencies, agriculture, and livestock. It explains the hourly source data and derived daily frequency, multiple contract tenors,…

FuturesMulti-assetCommoditiesBacktesting
Machine Learning for Trading

This guide introduces the public CFTC Commitment of Traders reports as a source of weekly futures positioning data. It distinguishes the Traders in Financial Futures report, which categorizes participants such as dealers, asset managers, and leveraged money,…

FuturesCommoditiesSentimentBacktesting
Machine Learning for Trading

This document describes a daily ETF dataset intended as a candidate pool for momentum and cross-asset research. It covers nine categories, including US and international equities, fixed income, commodities, specialty funds, and currencies. Data is sourced…

Multi-assetMomentumEquitiesFixed income
Machine Learning for Trading

The document explains how to retrieve weekly CFTC Commitment of Traders data for selected futures products and save each product’s history as a Parquet file. COT reports capture Tuesday positioning and are released on Friday; trader categories vary between…

FuturesCommoditiesSentiment