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

30 documents

Machine Learning for Trading

This notebook describes an out-of-sample backtest for a selected crypto perpetual funding strategy. It reuses predictions generated from training history that ends before the holdout period, then applies the chosen strategy configuration, including its…

CryptoPerpetual futuresCarryBacktesting
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 document describes data access and alignment conventions for crypto perpetual futures and related on-chain series. It explains that premium-index bars are timestamped at their opening time: an eight-hour bar records the premium leading into the funding…

CryptoPerpetual futuresOn-chain dataDeFi
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 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 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 data exploration examines eight-hour premium-index observations for USDT-margined crypto perpetual contracts and explains how the premium relates to funding payments. The index uses executable impact bid and ask prices relative to the price index,…

CryptoPerpetual futuresArbitrageCarry
Machine Learning for Trading

This dataset guide presents Binance perpetual futures price and volume data alongside an eight-hour premium index. Hourly OHLCV records describe market activity, while the premium measures the difference between perpetual and spot prices relative to spot. A…

CryptoPerpetual futuresSpot marketsCarry
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 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

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 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 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 analysis explains how Binance’s perpetual-futures premium index relates to spot prices and how the exchange transforms that premium into periodic funding. The index uses executable impact bid and ask prices relative to an underlying price index,…

CryptoPerpetual futuresCarryArbitrage
Machine Learning for Trading

This notebook describes how to evaluate a selected crypto perpetual funding strategy on a later holdout period. It reuses predictions generated from training data ending before the holdout, carries the chosen signal, allocation method, and exit overlay…

CryptoPerpetual futuresCarryBacktesting
Machine Learning for Trading

This document studies position-level exits added to an existing crypto perpetual strategy: fixed stop losses, trailing stops, and time-based exits. It explains that these controls only close positions selected by the underlying strategy, and evaluates them…

CryptoPerpetual futuresRisk managementBacktesting
Machine Learning for Trading

This notebook uses double machine learning to estimate whether futures carry predicts subsequent returns independently of volatility, momentum, and cross-sectional carry rank. It residualizes both carry and returns against these confounders with flexible…

FuturesCarryMachine learningStatistics
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 analysis checks whether settlement data can support a weekly, cross-sectional CME futures strategy before any model is fit. It tests whether enough products are quoted on rebalance dates to fill the intended long and short portfolios, estimates spread…

FuturesCarryRisk managementBacktesting
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

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

The document describes three model-based features built from futures carry: an ARIMA forecast of next-session carry, rolling Fourier measures of selected cycle lengths, and a two-state hidden Markov model that infers the market regime from average carry. Its…

FuturesCarryMachine learningStatistics
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