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

95 documents

Robot Wealth

This article demonstrates a vector autoregression (VAR) model using daily returns for a basket of U.S. homebuilding stocks. It fits the model on a rolling historical window, forecasts each asset’s next return, and converts the cross-sectional forecasts into…

EquitiesStatisticsBacktestingPortfolio construction
Robot Wealth

This article walks through implementing a price-spread pairs trade in Zorro using GDX and GLD as an example. It defines the spread as one asset’s price minus a hedge-ratio-adjusted price of the other, then standardises the spread with a rolling z-score. The…

Pairs tradingMean reversionBacktestingExecution
Robot Wealth

This article demonstrates a convex optimisation workflow for a crypto perpetual futures portfolio. It combines expected returns estimated from cross-sectional momentum and carry features with a breakout signal, then uses a covariance estimate to represent…

CryptoPerpetual futuresPortfolio constructionRisk management
Robot Wealth

This article demonstrates ways to speed up a portfolio backtest implemented in R. It begins with profiling a cash backtest that processes prices and target weights across dates, updates holdings using a no-trade buffer, accounts for commissions, and records…

BacktestingExecutionStatistics
Robot Wealth

This course overview presents a systematic trading process built around identifying an economic reason for an edge before optimizing a backtest. It recommends forming a hypothesis first, then examining data and testing the idea, and describes a framework for…

BacktestingMulti-assetStatistics
Robot Wealth

The document describes reconstructing monthly S&P 500 membership history from the current constituent list and a record of index additions and removals. Working backward month by month, the method removes stocks that were added and restores those that were…

EquitiesUS marketsBacktestingStatistics
Robot Wealth

The article demonstrates a spreadsheet workflow for exploring a claimed weekday pattern in gold-related prices. Using GLD price history, it derives log returns and calendar fields, groups returns by weekday in a pivot table, and charts the sums. It reports…

CommoditiesStatisticsBacktestingPosition sizing
Robot Wealth

The document introduces Shannon entropy as a way to examine how random price movements appear over a chosen lookback period. It describes applying the measure to price data, selecting a period and pattern length, and plotting entropy values for several…

StatisticsTechnical indicatorsBacktesting
Robot Wealth

The article explains how to split SPY’s adjusted daily price data into overnight and intraday returns. It defines the overnight leg as holding from one day’s close to the next open, and the intraday leg as holding from the open to that day’s close. Adjusting…

EquitiesStatisticsBacktestingUS markets
Robot Wealth

The article presents a research philosophy for systematic trading centered on identifying genuine market mechanisms and combining modest opportunities. An edge should have an explanation for why another participant accepts the other side of the trade, such…

Portfolio constructionRisk managementBacktestingExecution
Robot Wealth

The article demonstrates a spreadsheet-based permutation test for assessing whether an observed market pattern could arise by chance. Its example examines whether Bitcoin returns are unusually high on Tuesdays: daily returns are randomly shuffled, grouped by…

CryptoStatisticsBacktesting
Robot Wealth

The article introduces rolling and expanding windows through stock-price examples. A rolling window calculates a statistic, such as a mean, over a fixed number of recent observations. As each new observation arrives, the window advances and older data drops…

StatisticsTechnical indicatorsBacktesting
Robot Wealth

This introductory article asks whether deep learning can be useful for market forecasting and outlines the practical work involved. A trading researcher must frame the prediction as a suitable task, scale inputs, choose a network structure, tune model and…

Machine learningStatisticsBacktesting
Robot Wealth

This review surveys research on selecting and trading equity pairs, comparing distance-based matching, cointegration, correlation, and other selection criteria. A common design forms candidate pairs over one period and trades them during a subsequent,…

Pairs tradingEquitiesArbitrageBacktesting
Robot Wealth

The article explains how an autoregressive model predicts the next exchange-rate value from prior observations, then examines whether those predictions could support AUD/USD trades. It discusses partial autocorrelation across several sampling intervals, fits…

ForexStatisticsBacktestingMean reversion
Robot Wealth

The article demonstrates how to estimate historical FX rollover payments using central bank policy rates, a broker charge, and currency conversion. It implements the calculations in both Zorro and Python. The long and short roll estimates depend on the…

ForexCarryRisk managementBacktesting
Robot Wealth

The article demonstrates how to retrieve daily stock prices and company financial data through Finnhub’s API, then organize the responses into data frames. It describes the range of available information, including price history, current and historical…

EquitiesSentimentStatisticsBacktesting
Robot Wealth

This walkthrough tests whether a stock’s unadjusted closing share price predicts its return over the following year. It describes preparing adjusted price data while retaining unadjusted closes, trading-volume information, and index membership, then sorting…

EquitiesFactor investingStatisticsBacktesting
Robot Wealth

This article uses k-means clustering to group daily GBP/JPY candles according to their high, low, and close relative to the open. It examines whether particular candle clusters tend to follow one another and whether returns after each cluster differ. The…

ForexMachine learningStatisticsBacktesting
Robot Wealth

This tutorial builds an adaptive pairs trading example with gold and gold-mining ETF prices. A Kalman filter estimates a changing hedge ratio and intercept as new observations arrive. The prediction error is compared with its estimated standard deviation to…

Pairs tradingMean reversionBacktestingStatistics
Robot Wealth

The article distinguishes risk premia, which compensate traders for bearing unwanted risks, from inefficiencies caused by participants who must trade for reasons other than price. Forced liquidations, redemptions, reporting practices, index changes, and…

Market microstructureRisk managementBacktestingPortfolio construction
Robot Wealth

The document summarizes proposed cross-sectional signals for judging whether equity options are relatively cheap or expensive. Its central comparison is implied volatility against volatility that later realizes: options may be candidates to buy when implied…

OptionsVolatilityFactor investingBacktesting
Robot Wealth

This guide outlines the capabilities and working practices needed to develop algorithmic trading systems. It highlights programming, statistics, and risk management, with Python and R presented as useful research tools. It also gives criteria for choosing a…

StatisticsRisk managementBacktesting
Robot Wealth

This article argues that programming simulations can make statistical questions more intuitive than relying solely on classical formulas. It illustrates the approach with roulette: under a stated single-number win probability, repeated simulated sequences…

StatisticsBacktestingRisk management