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

5,922 documents

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 describes a systematic overlay for reducing a trading system’s positions when estimated portfolio risk rises above chosen limits. It starts by comparing realised portfolio volatility with expected risk and argues that expected risk can vary…

FuturesRisk managementPosition sizingVolatility
Systematic trading blog (Rob Carver)

The author reviews personal investment and futures trading performance for the 2022–23 UK tax year. The analysis separates UK shares, long-only equity ETFs, bond ETFs, futures trading, and the combined portfolio, assigning benchmarks to the different…

Multi-assetPortfolio constructionBacktestingStatistics
Systematic trading blog (Rob Carver)

The document presents example ETF allocations for investors with different amounts to invest and different risk targets. For larger portfolios, it gives mixes of UK, Asian, European, and US equities alongside emerging-market, global government, global…

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

The document proposes evaluating portfolio optimization methods on simulated returns before comparing them on real assets. Its experiment uses nine assets with randomly assigned Sharpe ratios and correlations, then generates many multivariate Gaussian return…

Portfolio constructionBacktestingStatisticsRisk management
Systematic trading blog (Rob Carver)

This brief reflection on QuantCon 2017 highlights three themes relevant to quantitative investing. It observes that machine learning was prominent, naming examples such as linear and logistic regression, decision trees, support vector machines, naive Bayes,…

Machine learningStatisticsPortfolio construction
Systematic trading blog (Rob Carver)

This annual review explains how the author groups UK stocks, ETFs, equity hedges, systematic futures trading, and cash to assess performance against suitable benchmarks. It reports contributions and internal rates of return, compares stock picking and…

EquitiesFuturesMulti-assetPortfolio construction
Systematic trading blog (Rob Carver)

This introductory post argues that common portfolio construction approaches each have drawbacks. Human judgment can produce understandable weights but may suffer from poor diversification and cognitive biases. Mean-variance optimisation can generate extreme,…

Portfolio constructionRisk managementBacktesting
Systematic trading blog (Rob Carver)

This brief document frames a historical portfolio optimisation problem around choices that affect both the estimates and the resulting weights. It asks how a backtest should handle information that would not yet have been available at each point in time, and…

Portfolio constructionBacktestingStatisticsRisk management
Systematic trading blog (Rob Carver)

The article revisits a claim that CAPM explains returns across asset classes but not within them. It corrects the comparison by using futures returns as excess returns over the risk-free rate and distinguishing standard deviation from beta, which is based on…

FuturesMulti-assetStatisticsPortfolio construction
Systematic trading blog (Rob Carver)

The author considers whether a systematic futures portfolio should be manually repositioned ahead of the Brexit vote. The stated approach is to follow the strategy’s rules rather than introduce a discretionary directional bet, especially for a close, binary…

FuturesForexEquitiesRisk management
Systematic trading blog (Rob Carver)

The document presents a static optimization approach for choosing tradable futures positions when a small account cannot hold fractional target weights. It minimizes portfolio tracking error relative to an ideal target, while also accounting for trading…

FuturesPortfolio constructionPosition sizingExecution
Systematic trading blog (Rob Carver)

This article explores ways to use principal component analysis on returns across a broad futures universe. It describes a sign-instability problem: a principal component’s direction can reverse over time, making direct factor exposure or factor trading…

FuturesStatisticsMean reversionPortfolio construction
Systematic trading blog (Rob Carver)

This study asks whether averaging portfolio weights from different mean-variance shrinkage methods can improve out-of-sample results. It compares individual grid settings, ranging from no shrinkage to full shrinkage of estimated Sharpe ratios and…

Portfolio constructionBacktestingStatisticsRisk management
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 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)

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