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

132 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 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 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 sets out criteria for assembling a curated ETF list across equity and bond regions and categories. The stated filters include sufficient fund size, a preference for distributing share classes when dividend yield is used as a valuation measure,…

Multi-assetEquitiesFixed incomePortfolio construction
Systematic trading blog (Rob Carver)

This technical guide outlines a workflow for requesting historical prices through Interactive Brokers' API from Python using swigibpy. It describes preparing a callback object to receive data and errors, submitting a historical-data request, and waiting for…

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

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 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 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 lays out a taxonomy for discussing ethical problems in finance and the claim that most hedge funds are not inherently evil. Its headings identify several areas of concern: insider information, market manipulation that affects real prices,…

Market microstructureRisk management
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 examines whether forecast weights should be fitted separately for each instrument, pooled across all markets, or pooled within similar groups, and whether blending these estimates can balance robustness with market-specific performance. It…

Portfolio constructionMomentumFuturesEquities
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 explains why “CTA” can refer to several overlapping ideas: a US regulatory category, an adviser operating managed accounts, a manager of futures strategies, or a modern investment fund. It contrasts traditional managed accounts, where clients…

FuturesCommoditiesTrend followingCarry