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)

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)

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

This annual performance review excerpt explains how the author divides household financial assets and trading activity into distinct performance categories. It separates UK single stocks, long-only investments, an equity-neutral sleeve, systematic futures…

Multi-assetFuturesEquitiesPortfolio construction
Systematic trading blog (Rob Carver)

The document challenges claims that sophisticated diversification and portfolio optimization methods reliably outperform simple weighting schemes. It describes how optimization can be sensitive to uncertain Sharpe ratio and correlation estimates, while…

Portfolio constructionStatisticsRisk managementEquities
Systematic trading blog (Rob Carver)

The document outlines an investor’s collection of accounts and strategies, including futures trading, an equity futures hedge, UK stocks, exchange-traded funds, and a diversified stocks-and-bonds portfolio. It identifies the intended role of each: the hedge…

Multi-assetFuturesEquitiesPortfolio construction
Systematic trading blog (Rob Carver)

This annual review examines a futures trading account across asset classes and strategy groups. It compares returns with two benchmarks, reports summary performance statistics, and describes which markets and rule groups helped or hurt during the reviewed…

FuturesBacktestingExecutionPortfolio construction
Systematic trading blog (Rob Carver)

The document compares strategic equity and bond allocations combined with tactical absolute or relative momentum. It frames the choice around investor constraints, especially whether leverage is available and how much portfolio volatility the investor can…

MomentumPortfolio constructionRisk managementBacktesting
Systematic trading blog (Rob Carver)

The article proposes an automatic procedure for finding changes in historical trading parameters before portfolio optimization. It considers forecast and instrument weights, and describes recursively testing whether an early return segment differs from the…

StatisticsPortfolio constructionBacktesting
Systematic trading blog (Rob Carver)

This study asks whether exponentially weighted estimates of strategy Sharpe ratios improve portfolio optimization compared with using the full available history. It tests several exponential spans alongside an all-history estimate, across different in-sample…

StatisticsPortfolio constructionBacktesting
Systematic trading blog (Rob Carver)

The post considers how to organize portfolio fitting across a grid of instruments and trading forecasts, such as momentum and carry rules. It compares fitting all rule and instrument combinations together, clustering correlated combinations, fitting first…

Portfolio constructionBacktestingStatisticsFutures
Systematic trading blog (Rob Carver)

This personal performance review covers a UK tax year and describes returns from UK shares, stock and bond funds, systematic futures trading, and the combined portfolio. It explains the author’s benchmark choices and separates performance contribution from…

Multi-assetEquitiesFuturesPortfolio construction
Systematic trading blog (Rob Carver)

The document lays out a framework for translating a trader's account and risk preferences into position sizes. It separates account size, instrument volatility, the overall risk target, forecast confidence, portfolio breadth, and the conversion from exposure…

Risk managementPosition sizingPortfolio constructionFutures
Systematic trading blog (Rob Carver)

The document argues that holding a broader set of assets generally improves a portfolio compared with concentrating in a few, unless an investor can meet demanding conditions such as selecting winners reliably. It addresses common objections involving…

Portfolio constructionRisk managementTrend followingStatistics
Systematic trading blog (Rob Carver)

This post compares how well trading-strategy Sharpe ratios and return correlations can be forecast from real data versus simulated returns drawn from a fixed distribution. The described experiment samples strategy components, measures one-year-ahead…

StatisticsPortfolio constructionRisk managementBacktesting
Systematic trading blog (Rob Carver)

This post examines dynamic portfolio optimisation for a relatively small trading account. It describes a historical backtest setup that estimates instrument correlations and covariance, derives expected returns from existing portfolio weights and risk…

FuturesPortfolio constructionPosition sizingRisk management
Systematic trading blog (Rob Carver)

This outline follows a futures trading system from forecast weights through forecast and instrument diversification multipliers to a final position. It flags choices involved in estimating weights, including pooling across instruments, shrinkage,…

FuturesPortfolio constructionPosition sizingRisk management
Systematic trading blog (Rob Carver)

This document examines how the stock allocation that maximizes expected compound annual growth changes with stock–bond correlation and relative expected returns. It assumes a fully invested two-asset portfolio of global equities and bonds, normally…

EquitiesFixed incomeMulti-assetPortfolio construction
Systematic trading blog (Rob Carver)

This document develops a portfolio weighting adjustment for uncertainty in estimated Sharpe ratios. It translates a difference in Sharpe ratios into a difference in expected returns, estimates uncertainty in that difference using the assets’ volatility,…

Portfolio constructionStatisticsRisk managementPosition sizing
Systematic trading blog (Rob Carver)

This document replaces handpicked correlation “candidate matrices” in a three-asset portfolio method with weights averaged across plausible correlation estimates. It uses Fisher’s transformation to form a sampling distribution for each pairwise correlation…

Portfolio constructionStatisticsRisk managementFutures
QuantStart

The document explains the Position component in an early event-driven trading system. A position records buys and sells, average prices, commissions, cost basis, net exposure, and realized and unrealized profit and loss. The broader design separates this…

EquitiesPortfolio constructionRisk managementPosition sizing
QuantStart

The article develops an object-oriented framework for generating synthetic correlation matrices as an initial component of a tool for creating correlated financial time series. An abstract base class defines a common generation interface so different models…

StatisticsPortfolio constructionBacktestingMachine learning
QuantStart

The article explains an event-driven backtesting design that separates a lean Portfolio class from a PortfolioHandler. The Portfolio stores cash and positions, updates position values after transactions, and calculates portfolio cash, equity, and realized…

BacktestingPortfolio constructionRisk managementExecution
QuantStart

This article recommends five less commonly cited reading choices for people preparing for quantitative finance roles. The list spans mathematical finance, continuous-time arbitrage and derivative pricing, career accounts from practitioners, evaluation of…

Derivatives pricingArbitragePortfolio constructionRisk management
QuantStart

The document explains why no single programming language is best for every algorithmic trading system. Language choice follows system requirements: research and backtesting, signal generation, portfolio construction, risk management, and order execution have…

BacktestingPortfolio constructionRisk managementExecution