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

132 documents

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 introduces factor analysis as a way to understand the sources of risk and return, then contrasts predefined equity factors with the less obvious drivers of returns across futures markets. It reviews possible uses of factors, including taking…

FuturesFactor investingStatisticsMean reversion
Systematic trading blog (Rob Carver)

The document discusses several systematic trading ideas. It frames short volatility as harvesting the gap between option-implied and expected realized volatility, using short volatility futures with a constant negative forecast and volatility-based position…

VolatilityCarryTrend followingMomentum
Systematic trading blog (Rob Carver)

The document compares Average True Range (ATR) with standard deviation as measures related to market movement. Standard deviation is based on close-to-close returns and centers observations around their average, then squares deviations before averaging and…

VolatilityStatisticsTechnical indicators
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 author investigates whether momentum performance and the preferred trading speed vary with instrument trading costs. Two competing ideas are considered: gross performance may be similar across instruments, leaving expensive markets less attractive after…

MomentumExecutionStatisticsBacktesting
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 outlines a basic execution algorithm for working a buy or sell order. It begins by checking that the best quote can absorb the order, then describes joining the same side of the spread with a passive limit order. If the order remains unfilled or…

ExecutionMarket microstructureRisk management
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 document distinguishes explicit, implicit, and tacit overfitting in trading research. Explicit overfitting comes from fitting too many parameters to historical data; suggested controls include reducing degrees of freedom, using robust fitting, and…

BacktestingStatisticsMachine learning
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
Systematic trading blog (Rob Carver)

The document explains positive skew as a return pattern with frequent small losses and less frequent large gains, then examines whether trend-following strategies display that pattern. It relates trend following to a lookback straddle: both can benefit from…

Trend followingFuturesVolatilityStatistics
Systematic trading blog (Rob Carver)

The document explains how to choose a trading frequency by comparing expected pre-cost performance with holding and execution costs. It distinguishes market-order traders, who may pay about half the spread, from traders using limit orders or execution…

ExecutionRisk managementBacktestingFutures
Systematic trading blog (Rob Carver)

The document assesses Bitcoin’s usefulness as payment, store of value, and investment, then considers whether it belongs in a portfolio or trading strategy. It highlights practical concerns including transaction expense, energy use, slow and variable…

CryptoSpot marketsFuturesRisk management
Systematic trading blog (Rob Carver)

The document argues that systematic funds still need human risk managers, even when their trading models are largely automated. It outlines practical duties such as supervising processes, cleaning flawed market data, checking for bugs or bad inputs,…

Risk managementHigh-frequency trading
Systematic trading blog (Rob Carver)

The document outlines a Python-based workflow for calculating UK trading tax liability from trade and position source files, with configurable output, foreign exchange data, calculation method, and reporting detail. It describes several verbosity levels,…

StatisticsRisk managementFutures
Systematic trading blog (Rob Carver)

The document explains the motivation for presenting futures trading strategies across many markets. Its author draws on an earlier internal reference about fixed-income instruments, volatility patterns, yield curves, and strategy behavior, then considers a…

FuturesBacktestingStatisticsTrend following