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

4,613 documents

Robot Wealth

The article describes practical TradingView workflows for discretionary and early-stage trading research. The author uses watchlists to monitor macro instruments and track a basket of factor ETFs through a synthetic instrument weighted by units held. A…

Technical indicatorsPosition sizingPairs tradingEquities
Robot Wealth

This article develops intuition for using convex optimisation to turn forecasts into portfolio positions under practical constraints. It begins with a long-only, unlevered return-maximisation example, then adds existing holdings and transaction costs to show…

Portfolio constructionRisk managementExecutionStatistics
Robot Wealth

This short reflection argues that machine-learning and statistical methods are tools for analysis, not trading edges by themselves. It offers questions for assessing whether a discovered effect has a plausible structural, economic, financial, or behavioral…

StatisticsMachine learningRisk managementPosition sizing
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)

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

This document examines maximum drawdown as a way to set capital or risk targets. It frames drawdown in relation to annualised volatility, Sharpe ratio, and the length of the measurement period, and compares drawdown-based sizing with Kelly-style risk…

Risk managementPosition sizingStatisticsBacktesting
Systematic trading blog (Rob Carver)

The article describes the components and operating choices of a long-running automated futures system. Its rules combine trend and momentum signals, breakouts, carry, relative signals, skew, acceleration, and mean reversion. Forecasts are weighted across…

FuturesTrend followingMomentumCarry
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)

The document frames stop losses as one part of a broader risk process. It describes a trailing stop that moves upward as a position reaches new highs, with the aim of limiting the amount of accumulated profit that can be given back. The examples are…

Risk managementPosition sizingVolatility
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)

The article examines a performance measure based on the highest geometric return achievable at a strategy's optimal leverage. Under Gaussian returns and unrestricted leverage, it explains why Sharpe ratio can determine the preferred strategy, while a nonzero…

StatisticsRisk managementPosition sizingBacktesting
Systematic trading blog (Rob Carver)

This document lists recurring trading errors, including failing to define a system, abandoning stop losses, risking too much capital, setting stops without sound money management, relying on fixed profit targets instead of trailing stops, trading…

Risk managementPosition sizingBacktesting
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 describes a simulation framework for estimating the probability, time, and expense of passing two proprietary trading firm evaluations. It compares challenge rules, including profit targets, daily loss limits, drawdown constraints, minimum…

StatisticsRisk managementPosition sizingBacktesting
Systematic trading blog (Rob Carver)

The document examines whether improving volatility forecasts is worth the effort when volatility estimates are used to scale trading positions inversely. It contrasts basic estimates based on recent realized volatility with more involved approaches,…

VolatilityPosition sizingFuturesBacktesting
Systematic trading blog (Rob Carver)

The document considers how to draw regular income from a trading account while accounting for uncertainty in the estimated Sharpe ratio. It outlines three ways to represent that uncertainty: a distributional formula under a Gaussian return assumption,…

Position sizingRisk managementStatisticsBacktesting