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

132 documents

Systematic trading blog (Rob Carver)

The document presents instrument groupings from a correlation-based clustering analysis of a broad futures universe. It compares solutions with different cluster counts, from two through ten, and interprets the resulting groups as risk-on, risk-off,…

Multi-assetStatisticsFuturesPortfolio construction
Systematic trading blog (Rob Carver)

This article considers whether a trading system should maintain a fixed expected portfolio risk or allow risk to vary with signal strength. The author's system targets a long run average volatility, while its daily expected risk varies with both aggregate…

Risk managementPortfolio constructionPosition sizingStatistics
Systematic trading blog (Rob Carver)

This article evaluates a hierarchical, handcrafted method for allocating weights among trading rules and instruments. The method is intended to be transparent enough for spreadsheet implementation, grounded in theory, and responsive to uncertainty in…

Portfolio constructionFuturesTrend followingCarry
Systematic trading blog (Rob Carver)

The article compares trend following and mean reversion across holding periods, drawing on the author's earlier tests and a cited study spanning minutes to decades. Its broad synthesis is that mean reversion appears at horizons beyond roughly two years and…

FuturesTrend followingMean reversionMomentum
Systematic trading blog (Rob Carver)

This document describes operational checks for a systematic futures trading system. It compares monitoring displays to vehicle indicators: simple status lights, warnings, variable metrics, and interactive reports. The system logs timestamped messages by…

FuturesRisk managementExecutionMarket microstructure
Systematic trading blog (Rob Carver)

The article examines how geometric returns relate to compounding, diversification, and portfolio construction. It considers the claim that diversification can justify additional costs and argues that an all-equity portfolio may be inferior to one that…

Portfolio constructionStatisticsRisk managementEquities
Systematic trading blog (Rob Carver)

The document explains why traders need detailed profit and loss records: to assess results, attribute performance by instrument or strategy, compare live trading with simulations, monitor costs and realized risk, support client reporting and taxes, and scale…

Risk managementBacktestingExecutionPortfolio construction
Systematic trading blog (Rob Carver)

This article develops a simple breakout trading rule and evaluates different lookback speeds across a set of futures markets. It discusses forecast scaling, turnover, and how trading costs can make the fastest breakouts impractical. The author notes that…

FuturesBreakoutMomentumCarry
Systematic trading blog (Rob Carver)

The article tests whether trading rules should adapt as volatility changes, using historical volatility divided by its rolling ten-year average to classify market conditions. It compares momentum and carry rule performance across volatility groups, then…

FuturesMomentumVolatilityTrend following
Systematic trading blog (Rob Carver)

The document compares the strengths of automated systems and human traders. It credits computers with speed, consistency, disciplined execution, position scaling, portfolio management, and detecting persistent or unintuitive patterns. It describes people as…

High-frequency tradingArbitrageMachine learningPortfolio construction
Systematic trading blog (Rob Carver)

The article examines a performance measure based on the highest geometric return achievable at a strategy's optimal leverage. Under Gaussian returns and unrestricted leverage, it explains why Sharpe ratio can determine the preferred strategy, while a nonzero…

StatisticsRisk managementPosition sizingBacktesting
Systematic trading blog (Rob Carver)

This document lists recurring trading errors, including failing to define a system, abandoning stop losses, risking too much capital, setting stops without sound money management, relying on fixed profit targets instead of trailing stops, trading…

Risk managementPosition sizingBacktesting
Systematic trading blog (Rob Carver)

The post investigates why strong risk-adjusted trading forecasts can have weaker subsequent outcomes than a linear relationship would imply. Since forecasts divide expected return by recent volatility, a strong signal can reflect unusually low volatility as…

VolatilityStatisticsRisk managementMomentum
Systematic trading blog (Rob Carver)

The post compares two ways to estimate volatility: standard deviation of percentage returns and standard deviation of absolute price changes. For futures, it recommends forming percentage changes with back-adjusted price differences in the numerator and the…

FuturesVolatilityStatistics
Systematic trading blog (Rob Carver)

The post explains how to examine performance by trading rule within a dynamically optimized strategy. Because positions depend on optimization, instrument selection, capital, and contract rounding, the author uses static-portfolio estimates as a proxy for…

BacktestingPortfolio constructionMomentumMean reversion
Systematic trading blog (Rob Carver)

This article uses bootstrap resampling to examine uncertainty in portfolio statistics and allocation decisions. Resampling observed returns with replacement creates alternative histories and a distribution of estimates, rather than a single point estimate.…

Portfolio constructionStatisticsRisk managementPosition sizing
Systematic trading blog (Rob Carver)

This article explains how bootstrap resampling can represent uncertainty in estimates used for portfolio decisions. Instead of relying on one calculated mean or on returns generated from an assumed distribution, it repeatedly samples observed returns with…

Portfolio constructionStatisticsRisk managementPosition sizing
Systematic trading blog (Rob Carver)

This article tests whether recent volatility levels relate to next-month risk-adjusted returns across futures markets. It builds a relative-volatility measure by dividing estimated volatility by a long-run exponential average, then compares next-month…

VolatilityFuturesTechnical indicatorsBacktesting
Systematic trading blog (Rob Carver)

This article considers how much of a portfolio to allocate to trend following when historical returns may overstate future opportunities. It compares a 60:40 US equity and bond portfolio with slow and faster trend strategies trading equity and bond futures.…

Trend followingPortfolio constructionRisk managementFutures
Systematic trading blog (Rob Carver)

The post examines whether prediction markets could support lottery-like bets with less of the expected loss imposed by a conventional lottery. It explains that a market could let participants take opposing sides on number combinations, spreading the risk…

StatisticsRisk managementDerivatives pricing
Systematic trading blog (Rob Carver)

This technical guide explains how a Python client for Interactive Brokers can resolve futures contract details, submit market and limit orders, and modify or cancel open orders. It describes tracking order identifiers and listening for broker callbacks,…

ExecutionFuturesRisk management
Systematic trading blog (Rob Carver)

This study compares portfolio optimization methods using real trading-rule returns. Each trial samples nine rules from one instrument, varies the available in-sample history, and evaluates performance out of sample. Methods include mean-variance portfolios…

Portfolio constructionStatisticsBacktestingMulti-asset
Systematic trading blog (Rob Carver)

The post sketches a short-horizon futures mean-reversion scalper built around symmetric bracket limit orders. It models the strategy as a state machine: after an entry fills, the bot protects the position with a stop while retaining a profit-taking order,…

FuturesMean reversionExecutionRisk management
Systematic trading blog (Rob Carver)

This annual review reports portfolio-wide and futures results for the UK tax year, separating mark-to-market performance, interest, fees, commissions, and slippage. It also distinguishes pure futures returns from gains and losses associated with cash-like…

FuturesExecutionBacktestingRisk management