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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

23 documents

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

The notebook presents a reporting method for a long-only RSI mean-reversion strategy on BTC. It compares gross and net performance, then benchmarks the strategy against buy-and-hold using the same trading dates, exposure, execution engine, fill timing, and…

CryptoMean reversionTechnical indicatorsBacktesting
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

The document demonstrates a VectorBT workflow for a long-only Bitcoin RSI mean-reversion rule. It calculates RSI from daily close prices, enters when the prior day’s reading falls below a lower threshold, and exits when it exceeds an upper threshold.…

CryptoMean reversionTechnical indicatorsBacktesting
Machine Learning for Trading

This notebook implements a long-only RSI mean-reversion rule for BTC/USDT perpetuals using an event-driven backtesting engine. It aggregates intraday bars into UTC daily OHLCV data, computes a rolling gain-and-loss RSI, enters when the indicator falls below…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This notebook explains how to construct forward price-return labels for an eight-hourly crypto perpetuals panel. It shifts bar-open timestamps to the time completed-bar data becomes available, then calculates future returns on the contract price series…

CryptoPerpetual futuresMean reversionStatistics
Machine Learning for Trading

This document develops a daily feature panel for ranking twenty currency pairs at the New York 5 PM close. It distinguishes rankable signals, such as standardized multi-horizon returns and channel position, from market-state measures such as volatility,…

ForexMean reversionMomentumVolatility
Machine Learning for Trading

This notebook expands an ETF feature evaluation from a single return horizon to a scan across ten features and three horizons, correcting for multiple tests. It then applies mechanism-based diagnostics to long-lookback 12-1 momentum and short-term reversal:…

Multi-assetMomentumMean reversionStatistics
Machine Learning for Trading

This notebook introduces vectorized backtesting with VectorBT through a long-only RSI mean-reversion rule on Bitcoin perpetual market data. It calculates a close-based RSI, enters when the prior day’s reading is below a lower threshold, and exits when it is…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This case study evaluates daily cross-sectional signals across a broad US stock universe and lays out a long research pipeline, from point-in-time data and engineered features through model comparison, portfolio construction, costs, and holdout assessment.…

EquitiesMachine learningMomentumMean reversion
Machine Learning for Trading

This notebook explains pairwise and cross-sectional features using ETF panels. It compares Engle–Granger and Johansen cointegration tests, distinguishing a stationary spread from simple co-movement. Its energy fund and crude oil fund example fails both…

Pairs tradingMean reversionStatisticsRisk management
Machine Learning for Trading

This notebook tests whether four managed-portfolio strategies explain SPY returns after controlling for broad ETF co-movement. The strategies rank ETFs using lagged momentum, volatility, or recent returns. Ten principal components from a balanced set of…

Factor investingMachine learningStatisticsMomentum
Machine Learning for Trading

The document explains a temporal convolutional network for predicting crypto perpetual funding premiums from a 60-settlement window. Four causal convolution blocks use a kernel of three and dilations of 1, 2, 4, and 8. Their receptive field spans 61…

CryptoPerpetual futuresMachine learningMean reversion
Machine Learning for Trading

This document describes a dataset and workflow for studying cryptocurrency perpetual futures alongside their premium index. It outlines hourly OHLCV observations and eight-hour premium readings across a configured universe, with download, loading, filtering,…

CryptoPerpetual futuresFuturesArbitrage
Machine Learning for Trading

This configuration specifies a long-short strategy research workflow for crypto perpetual futures. It defines a 19-asset volume-selected universe, decisions aligned to eight-hour funding settlements, and execution at the funding timestamp. The primary target…

CryptoPerpetual futuresCarryMean reversion
Machine Learning for Trading

This notebook applies configured stop-loss, trailing-stop, and time-exit rules to the strongest validation-ranked signal or allocation strategy for each futures return horizon. Each rule is assessed on its own parent strategy, with parameters fixed in…

FuturesCarryMean reversionRisk management
Machine Learning for Trading

This notebook builds an auditable report for a long-only Bitcoin strategy that enters and exits using RSI thresholds. It compares gross and net results, then measures performance against a buy-and-hold benchmark run with the same data, warmup, exposure,…

CryptoMean reversionTechnical indicatorsBacktesting
Machine Learning for Trading

This case study explains how to construct forward-return labels for a cross-sectional foreign-exchange strategy that ranks currency pairs and buys or sells according to their relative ordering. It first maps four-hour spot bars into trading sessions using a…

ForexSpot marketsMomentumMean reversion
Machine Learning for Trading

This notebook implements a long-only RSI mean-reversion rule for BTC/USDT perpetual bars using an event-driven backtesting engine. It aggregates intraday observations into UTC daily bars, calculates a simple rolling gain-and-loss RSI, enters when the…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This notebook develops features that require multiple asset series. It compares Engle-Granger and Johansen tests for cointegration, explains why co-movement alone does not imply a stationary spread, and estimates hedge ratios both with a full-sample…

Multi-assetPairs tradingMean reversionStatistics