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

81 documents

arXiv papers

The document formulates pairs trading as a dynamic portfolio optimization problem. The spread between two related securities follows a Gaussian mean-reverting process, while its drift rate changes according to an unobserved finite-state continuous-time…

Pairs tradingMean reversionRisk managementPosition sizing
arXiv papers

The document introduces pair trading as a market-neutral strategy that takes simultaneous long and short positions in two correlated assets. It describes the broad workflow: identify cointegrated pairs, construct trading signals from relative price…

Pairs tradingMean reversionStatisticsBacktesting
arXiv papers

This paper extends the Robust Positive Expectation theorem from a single stock to a pair of stocks. The original result concerns combining specially designed linear feedback controllers, one long and one short, to produce a gain-loss function with robustly…

EquitiesPairs tradingMomentumRisk management
arXiv papers

This paper formulates a pairs-trading strategy for two stocks whose prices follow general geometric Brownian motions, rather than assuming their price difference is mean-reverting. The trader compares the stocks’ relative strength, opens a position by…

EquitiesPairs tradingMean reversionRisk management
arXiv papers

This paper studies when to close a stock pairs trade, which holds one stock long and another short. It formulates the exit decision as an optimal selling and repurchasing problem under trading constraints. The model assumes that the two stock prices follow a…

EquitiesPairs tradingMean reversionStatistics
arXiv papers

This work frames pair trading as a hierarchical decision problem with two linked stages: selecting an asset pair over a longer horizon and executing trades over shorter horizons under partial observability. Because feedback arrives late and may be ambiguous,…

Pairs tradingMachine learningExecution
arXiv papers

The paper develops a framework that learns conditional latent factors to identify related equities, detect relative mispricing, and form a trading policy that accounts for trading costs. Its attention factors are built from embeddings of firm…

EquitiesMachine learningPairs trading
arXiv papers

The paper presents an optimal-execution framework for statistical arbitrage when predictive signals depend on the path of market data. It represents both the alpha signal and trading speed as linear functions of a truncated signature of a time-augmented…

EquitiesPairs tradingExecution
arXiv papers

This paper models the price spread between two assets as a hidden state that follows a mean-reverting process. The model allows spread innovations to be non-Gaussian and heteroskedastic, while making mean reversion nonlinear. It uses the filtered estimate of…

Pairs tradingMean reversionStatisticsArbitrage
arXiv papers

This case study tests whether a cointegration-based pairs strategy for PepsiCo and Coca-Cola is statistically sound and economically viable. It estimates the spread's mean-reversion behavior using earlier data, holds those statistical estimates fixed, and…

EquitiesPairs tradingMean reversionBacktesting
arXiv papers

The study examines Asian American Depositary Receipts in markets whose trading hours do not align with those of the underlying foreign shares. It separates ADR returns into components earned during U.S. market hours and overnight, and compares each ADR with…

EquitiesMean reversionPairs tradingBacktesting
arXiv papers

The study examines pairs-trading extensions across Brent, WTI, and Shanghai crude oil futures. It reports that the three price series are cointegrated and models their resulting spread as mean-reverting with regimes governed by a hidden Markov chain. Online…

CommoditiesFuturesPairs tradingArbitrage
arXiv papers

This study tests deep reinforcement learning as an execution overlay for pair trading in volatile cryptocurrency markets. Its framework first filters and ranks candidate pairs, then uses a Proximal Policy Optimization agent with a Long Short-Term Memory…

CryptoFuturesPairs tradingMachine learning
arXiv papers

The document describes a data-driven method for finding statistical arbitrage strategies that seek to remain profitable under uncertainty about the market model. It uses deep neural networks to consider many securities together, avoiding the need to first…

ArbitragePairs tradingMachine learningStatistics
arXiv papers

This paper studies optimal trading when a signal follows a mean-reverting Ornstein-Uhlenbeck process whose parameters change according to hidden regimes. It combines recurrent neural networks with reinforcement learning to infer information about the…

Machine learningMean reversionPairs tradingEquities
arXiv papers

This paper presents an optimization method for constructing a mean-reverting portfolio from a larger set of assets. It seeks portfolios whose spread is well described by an Ornstein–Uhlenbeck process, with process parameters estimated by maximum likelihood.…

Mean reversionPairs tradingPortfolio constructionStatistics
arXiv papers

This paper studies an investment and consumption problem in a pairs trading market where the spread between risky assets follows an Ornstein–Uhlenbeck process. It focuses on optimal strategies under power utility, bringing together portfolio decisions and…

Pairs tradingMean reversionStatisticsPortfolio construction
arXiv papers

This study develops a mean-reversion pairs strategy for US equities. Rather than selecting pairs through customary pair-trading practice, it uses maximum likelihood estimation to form static portfolios that fit an Ornstein-Uhlenbeck process. The estimated…

EquitiesMean reversionPairs tradingStatistics
arXiv papers

The document presents KBPT, a pairs trading policy that combines a Kalman filter, Bollinger Band signals, and a neural network based on the KalmanNet architecture. Traditional versions model the relationship between two assets as a linear state-space process…

Pairs tradingMachine learningMean reversionTechnical indicators
arXiv papers

This work examines ways to reduce latency in performance-sensitive C++ applications, with high-frequency trading as its main setting. It describes a programming repository with benchmarked examples, an optimized market-neutral statistical arbitrage pairs…

High-frequency tradingPairs tradingArbitrageExecution
arXiv papers

This document describes a model-agnostic framework for forecasting asset volatility by extracting a compact set of time-varying factors from realized volatilities. The factors are intended to capture changing cross-asset co-movement while keeping computation…

VolatilityStatisticsPairs tradingMachine learning
arXiv papers

This study develops a Monte Carlo method for pairs trading when the spread follows a mean-reverting Ornstein–Uhlenbeck process driven by jumps. It uses a variance gamma process, which allows infinite activity and more flexible spread dynamics than the…

Pairs tradingMean reversionStatisticsBacktesting
arXiv papers

This article examines correlations and co-movements among stocks to study intraday seasonality and market evolution. Using intraday CAC 40 data, it revisits earlier findings that average stock correlations rise over the course of the trading day. It applies…

EquitiesStatisticsPairs tradingMean reversion
arXiv papers

This paper studies when to close a pair trade whose spread is modeled as an Ornstein–Uhlenbeck-type process driven by a finite-activity Lévy process. The jump component extends a setting where the asset difference is modeled without jumps, allowing the…

Pairs tradingMean reversionStatistics