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

45 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

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 short article uses the long-run nominal growth of US stocks and bonds as a starting point for discussing risk premia. It reports that stocks rose 48,000 times in value and bonds 300 times from 1900 to the article’s present. Its explanation is that…

EquitiesFixed incomeMulti-assetRisk management
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 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

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

The article illustrates how a put option can limit downside on an equity holding and shows how the premium changes the portfolio’s payoff. It first models a position in an index-tracking fund, identifying the price level associated with a chosen loss and…

OptionsRisk managementPosition sizingPortfolio construction
Robot Wealth

The article explains how to assess candidate equity pairs and estimate a spread for mean-reversion trading. Using XOM and CVX as an example, it fits an ordinary least squares hedge ratio, forms a residual spread, and applies an Augmented Dickey-Fuller test.…

EquitiesPairs tradingMean reversionStatistics
Robot Wealth

The document explains how the Graphical Lasso estimates a sparse inverse covariance matrix from stock data. After scaling its off-diagonal entries, the method derives partial correlations, which describe the relationship between two stocks while accounting…

EquitiesStatisticsMachine learning
Robot Wealth

This article presents a practical workflow for exploratory research on SPY using QuantConnect. It examines daily return distributions, compares them with a normal distribution, looks for possible calendar and intraday seasonal patterns, and measures return…

EquitiesStatisticsTechnical indicatorsBacktesting
Robot Wealth

The article examines whether US election dates coincide with unusual S&P 500 returns. It describes aligning historical index returns to the nearest election, grouping observations by days before or after election day, and comparing average returns across the…

EquitiesEvent-drivenUS marketsFutures
Robot Wealth

This article focuses on selecting stock pairs for statistical arbitrage. It argues that finding pairs whose prices reliably diverge and reconverge matters more than the details of hedge-ratio estimation or other implementation models. Historical correlation…

Pairs tradingMean reversionStatisticsBacktesting
Robot Wealth

The article presents pairs trading as taking opposite positions in correlated assets when their relative prices diverge, with the expectation that the relationship will move back toward its mean. It questions the routine use of price regression to estimate a…

Pairs tradingMean reversionStatisticsRisk management
Robot Wealth

The article introduces tidy data principles and shows how to represent financial returns in long and wide formats. In tidy form, each column represents a variable, each row an observation, and each cell one value. Its example uses dates, tickers, and…

StatisticsMulti-assetEquitiesFixed income
Robot Wealth

The article describes a way to lengthen an ETF’s historical price series when the fund has a short trading record. It maps ETFs to earlier mutual-fund or index return series, calculates cumulative returns, and finds the overlap date when the ETF first has a…

EquitiesFixed incomeCommoditiesBacktesting
Robot Wealth

The article uses Excel to investigate whether the cyclically adjusted price-to-earnings ratio (CAPE) predicts subsequent real returns on a broad US equity index. It rebuilds a valuation-versus-forward-return scatterplot from historical data, then questions…

EquitiesStatisticsUS markets
Robot Wealth

The article demonstrates how to compute the rolling average of pairwise stock correlations across S&P 500 constituents in R, then divide the work into overlapping date chunks. The workflow prepares prices and returns, forms stock pairs, calculates rolling…

EquitiesStatisticsExecution
Robot Wealth

This tutorial shows how to estimate rolling correlations for every pair of stocks in a universe, then summarize them as a daily mean. It starts by calculating each stock’s daily close-to-close return, joins the return data to itself by date to form ticker…

EquitiesStatisticsBacktesting