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

69 documents

Systematic trading blog (Rob Carver)

This analysis asks whether futures with more negative return skew earn higher returns, both across assets and when skew changes over time. It estimates skew from percentage returns after filtering extreme volatility-normalized observations, then uses…

FuturesStatisticsVolatilityBacktesting
Systematic trading blog (Rob Carver)

This document explains how capital assumptions change trading account curves and position sizing. Fixed capital keeps the account base constant, so profits and losses are calculated from the same amount. Full compounding updates the capital base after each…

Risk managementPosition sizingBacktesting
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 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 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 annual review evaluates a systematic futures portfolio over the UK tax year ending in April 2025. It separates pure futures results from cash-like ETFs and foreign-exchange effects, compares the portfolio with the SG CTA index and an AHL fund, and also…

FuturesBacktestingExecutionRisk management
Systematic trading blog (Rob Carver)

This outline describes a study of trading an equity curve: reducing a system’s exposure after weak performance and restoring exposure when a simulated account recovers. It frames the approach as an overlay with separate rules for detecting poor performance,…

BacktestingRisk managementPosition sizingStatistics
Systematic trading blog (Rob Carver)

The post compares a stateless trend-following approach with trade management that changes as a position develops. It describes a test system using a moving average signal, volatility-scaled positions, and stop losses. Dynamic volatility control resizes…

Trend followingVolatilityRisk managementPosition sizing
Systematic trading blog (Rob Carver)

The document compares four moving-average crossover approaches on a diversified futures portfolio: fixed-size systems with stop or signal exits, a binary system that adjusts exposure for volatility, and a continuous forecast system that also targets…

FuturesTrend followingVolatilityBacktesting
Systematic trading blog (Rob Carver)

The document considers whether volatility targeting improves a trend-following strategy. Its motivating example is a long position that gains as price rises but is reduced because the position’s risk has increased. The author notes that trend following often…

Trend followingVolatilityRisk managementPosition sizing
Systematic trading blog (Rob Carver)

The document explores how a regression’s R squared can be related to the Sharpe ratio of a trading forecast. It presents three routes: a closed-form relationship based on the law of active management, simulations using random price series, and analysis of…

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