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

67 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 outlines three futures trading rules built from skew and kurtosis: a standalone skew signal, skew conditioned on kurtosis, and kurtosis conditioned on skew. Signals are normalized by a robust volatility estimate and smoothed; conditioned…

FuturesStatisticsTechnical indicatorsPortfolio construction
Systematic trading blog (Rob Carver)

This career guide explains that quantitative and systematic trading covers many assets, holding periods, strategies, and degrees of automation. It notes overlap with related roles such as risk management, portfolio management, execution, quant development,…

Multi-assetMachine learningStatistics
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 document compares ways to include trading costs when optimizing portfolio or forecast weights. Options include optimizing gross returns, subtracting costs to form net returns, optimizing costs alone, penalizing costs by a multiplier, applying a maximum…

Portfolio constructionExecutionRisk managementStatistics
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 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 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)

This note asks whether markets that perform well for trend-following do so because their prices have drifted favorably, because of carry, or because they convert those effects into trend signals more effectively. It compares bonds, foreign exchange, metals,…

Trend followingMomentumCarryMulti-asset
Systematic trading blog (Rob Carver)

The post develops a framework for thinking about the compensation investors should require for taking on risk, focusing on standard deviation and skew. It evaluates investments by geometric growth or final wealth at selected points in the return…

StatisticsRisk managementPortfolio constructionVolatility
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 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 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 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 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 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 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