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

5,922 documents

Robot Wealth

The article describes a three-part approach to equity statistical arbitrage for independent traders. First, rank related stock pairs using measures of historical mean-reversion returns and consistency of convergence, then retain economically sensible…

EquitiesArbitragePairs tradingMean reversion
Robot Wealth

This article frames trading as the management of positions rather than a sequence of individually realized trades. Buying and selling exchange cash for assets; profit and loss arise as the value of the held exposure changes. The practical process is to…

Portfolio constructionRisk managementExecution
Systematic trading blog (Rob Carver)

This portfolio-optimization study compares four ways to estimate forecast weights: fitting each instrument separately, pooling all instruments, pooling within asset classes, and grouping instruments by similarity in portfolio weights. The author describes…

Portfolio constructionBacktestingStatistics
Systematic trading blog (Rob Carver)

This document compares ways to include trading costs when optimizing portfolio or forecast weights. Options include optimizing gross returns, subtracting costs to form net returns, optimizing costs alone, penalizing costs by a multiplier, applying a maximum…

Portfolio constructionExecutionRisk managementStatistics
Systematic trading blog (Rob Carver)

This post revisits a dynamic portfolio optimizer that traded too frequently when first implemented. The author identifies shortcomings in the turnover and cost estimates, especially for sparse portfolios where many instruments have zero positions. Because…

Portfolio constructionExecutionRisk managementBacktesting
Systematic trading blog (Rob Carver)

This guide walks through a hand-built method for allocating a long-only portfolio across assets or trading strategies. It groups assets hierarchically, assigns volatility-based weights within groups, and can optionally adjust for estimated Sharpe ratios and…

Portfolio constructionRisk managementVolatilityBacktesting
Systematic trading blog (Rob Carver)

This document sets out criteria for assembling a curated ETF list across equity and bond regions and categories. The stated filters include sufficient fund size, a preference for distributing share classes when dividend yield is used as a valuation measure,…

Multi-assetEquitiesFixed incomePortfolio construction
Systematic trading blog (Rob Carver)

This document explains how synthetic data can help investigate trading systems when historical observations are too limited to support strong conclusions. It distinguishes simulated price paths for testing individual rules, correlated asset-return series for…

StatisticsBacktestingPortfolio constructionRisk management
Systematic trading blog (Rob Carver)

This article examines how a retail-sized account can trade a broad futures universe when positions must be whole contracts. A diversified portfolio performs well in a fractional-position backtest, but integer rounding prevents the smaller account from…

FuturesTrend followingMomentumPosition sizing
Systematic trading blog (Rob Carver)

The post develops a framework for thinking about the compensation investors should require for taking on risk, focusing on standard deviation and skew. It evaluates investments by geometric growth or final wealth at selected points in the return…

StatisticsRisk managementPortfolio constructionVolatility
Systematic trading blog (Rob Carver)

The document describes how to add a risk overlay to a systematic futures strategy and where to place it in a process that uses dynamic position optimization. The overlay scales unrounded target positions by a multiplier, while separate controls address…

FuturesRisk managementPosition sizingPortfolio construction
Systematic trading blog (Rob Carver)

The document examines whether forecast weights should be fitted separately for each instrument, pooled across all markets, or pooled within similar groups, and whether blending these estimates can balance robustness with market-specific performance. It…

Portfolio constructionMomentumFuturesEquities
Systematic trading blog (Rob Carver)

The document describes how to separate and benchmark several parts of a personal investment and trading portfolio. It distinguishes UK single stocks, long-only investments, an equity-neutral sleeve created by hedging ETF exposure with futures, systematic…

FuturesEquitiesPortfolio constructionBacktesting
Systematic trading blog (Rob Carver)

The document outlines a discretionary, spreadsheet-friendly approach to constructing long-only portfolios or allocating among trading strategies. It emphasizes choosing inputs that are easier to estimate and interpret, especially Sharpe ratios and…

Portfolio constructionRisk managementPosition sizingBacktesting
Systematic trading blog (Rob Carver)

The document describes a systematic way to select a fixed subset of futures markets for an account with limited capital. It first filters for liquidity, then estimates each instrument’s expected trading costs and the penalty from contract sizes that prevent…

FuturesPortfolio constructionPosition sizingExecution
Systematic trading blog (Rob Carver)

The document examines how small account size limits diversification when futures positions must be held in whole contracts. This creates abrupt position changes as forecasts, volatility, or account value shift, which can misalign risk targets and raise…

FuturesPortfolio constructionPosition sizingRisk management
Systematic trading blog (Rob Carver)

The document describes an experiment comparing clustered and unclustered portfolio optimization across trading rules and instruments. It varies in-sample and out-of-sample periods, the number of assets, correlation shrinkage, Sharpe ratio shrinkage, and the…

Portfolio constructionBacktestingStatistics
Systematic trading blog (Rob Carver)

The document explains how diversification across futures markets can increase the risk-adjusted performance of systematic strategies. It defines effective independent bets by comparing a portfolio’s risk reduction with what would result from the same number…

FuturesTrend followingPortfolio constructionRisk management
Systematic trading blog (Rob Carver)

The document describes replacing the funds in an example long-only portfolio of UK-listed ETFs with ESG-labelled alternatives. Fund selection follows the earlier portfolio’s practical preferences for low ongoing charges, adequate assets under management,…

Multi-assetPortfolio constructionFixed income
Systematic trading blog (Rob Carver)

The author checks whether a heuristic hierarchy for allocating forecast weights across trading rules is supported by correlations in rule returns. To build the correlation matrix, each rule is treated as a portfolio across the instruments actually weighted…

FuturesTrend followingMean reversionMomentum
Systematic trading blog (Rob Carver)

The document explains top-down replication of a managed futures index: estimate positions in a basket of futures by regressing index returns on instrument returns. Although a long history may seem to support a regression with many instruments, positions…

FuturesTrend followingStatisticsPortfolio construction
Systematic trading blog (Rob Carver)

The document explores three changes to fitting trading-system weights: exponential weighting that emphasizes recent performance, evaluating alpha rather than Sharpe ratio alone, and jointly fitting instrument and forecast weights. The motivation is that old…

Portfolio constructionBacktestingStatisticsMomentum
Systematic trading blog (Rob Carver)

The document proposes selectively pooling return histories across instruments when their estimated Sharpe ratio profiles across trading rules appear sufficiently similar. It describes a clustering procedure: estimate each instrument’s Sharpe ratios, measure…

Portfolio constructionBacktestingStatistics
Systematic trading blog (Rob Carver)

The author questions whether Bitcoin’s positive skew alone justifies very large portfolio allocations, using a published allocation claim as a starting point. The post compares the intuition behind holding Bitcoin with the appeal of lottery-like payoffs,…

CryptoPortfolio constructionBacktestingStatistics