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

115 documents

Robot Wealth

The document describes a screening method for finding stocks whose behavior during sharp market declines differs from their average relationship with the broad market. It aligns daily stock and SPY returns, estimates each stock’s market beta over the full…

EquitiesOptionsStatisticsRisk management
Robot Wealth

The document contrasts two possible trading outcomes for a strategy described as having a known, substantial edge: a favorable run and an unfavorable run. Its central lesson is that realized profit and loss can vary considerably even when the underlying…

StatisticsRisk managementPortfolio construction
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 explains how to profile an R workflow that calculates rolling pairwise correlations across S&P 500 constituents. It outlines possible ways to address memory limits, including chunking data, choosing compact data structures, using memory-focused…

EquitiesStatisticsExecution
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

This article explains statistical arbitrage by contrasting it with cross-exchange arbitrage. Pure arbitrage seeks to buy and sell the same asset at different prices, but transfers, costs, and price changes make the apparent opportunity difficult to capture.…

Pairs tradingArbitrageMean reversionStatistics
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 introduces a lag-based estimate of the Hurst exponent and applies it to simulated mean-reverting data and adjusted SPY prices. The method compares the variability of price differences across a range of lags, fits a line to the log-scaled…

StatisticsMean reversionMomentumEquities
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 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 builds intuition for option pricing by comparing expiration payoffs with possible underlying prices. Calls pay the amount by which the underlying finishes above the strike, while puts pay the amount by which it finishes below. Before expiration,…

OptionsVolatilityDerivatives pricingStatistics
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

The article explains why covariance estimates matter for portfolio risk: pairwise asset covariances combine with portfolio weights to determine portfolio variance. Using adjusted-price returns for SPY, TLT, and GLD, it first compares rolling-window…

StatisticsRisk managementPortfolio constructionMulti-asset
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 describes Apache Beam as a framework for building a systematic trading data pipeline. Its outlined workflow collects data from APIs, stores it, transforms and enriches records, calculates features, loads results into an analytical database, and…

EquitiesExecutionStatistics
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 article explains how to combine overlapping pair spread signals to infer which individual stocks appear rich or cheap relative to peers. Each spread acts as a relative vote; aggregating votes across a network can help distinguish a likely outlier from a…

EquitiesPairs tradingArbitragePortfolio construction
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