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

146 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 presents a multi-asset model with two investor types: fundamentalists, who respond to perceived differences between stock prices and fundamentals, and chartists, who use price trends. Both groups make investment decisions by maximizing constant…

Multi-assetEquitiesMean reversionTechnical indicators
arXiv papers

The document analyzes static energy storage optimization as an option exercise problem. Variational analysis yields an implicit optimal exercise rule and shows how it responds to constraints such as carry costs and limits on cycling. It also compares…

CommoditiesOptionsDerivatives pricingMean reversion
arXiv papers

This work presents a simple stochastic differential equation for explaining how bubbles can form and collapse in asset prices. The model combines three forces: mean reversion toward a stable value, speculative social response associated with trend following,…

StatisticsMean reversionMomentumRisk management
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 work considers how to manage a changing portfolio of moving-band statistical arbitrages using ideas from the Markowitz portfolio optimization framework. Rather than treating a single arbitrage in isolation, it describes managing a dynamic basket of…

Mean reversionPortfolio constructionRisk managementBacktesting
arXiv papers

This article introduces moving average reversion (MAR), a multi-period alternative to the single-period mean-reversion assumption used by some online portfolio strategies. It proposes On-Line Moving Average Reversion (OLMAR), which applies online learning…

EquitiesMean reversionMachine learningPortfolio construction
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 study explores autoencoders for statistical arbitrage in US stocks. In a conventional two-stage workflow, a pricing or principal-component model identifies a synthetic asset and a separate mean-reversion strategy produces trading signals. The authors…

EquitiesMachine learningMean reversionPortfolio construction
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 note develops a pedagogical approach to pricing foreign exchange options when the exchange rate is confined to a target zone with attainable, reflecting boundaries. It explains a no-arbitrage implication of this setting: the difference between foreign…

ForexOptionsDerivatives pricingMean reversion
arXiv papers

The document describes a model for analyzing price movements in terms of effective forces associated with trend-following and trend-adverse traders. Its purpose is to infer which type of behavior is prevailing over a chosen interval, rather than to prescribe…

EquitiesSentimentTrend followingMean reversion
arXiv papers

This work studies how aggregate trend-following or mean-reverting trading behavior can alter asset-price dynamics. It models the direction of trading explicitly and links those styles to serial correlation: trend-following behavior can create positive…

Trend followingMean reversionStatisticsEquities
arXiv papers

The document studies statistical properties of electricity returns, highlighting both their high volatility and a strong mean-reverting tendency. It frames extreme price movements as a source of trading risk and focuses on measuring dependence across time…

CommoditiesMean reversionVolatilityStatistics
arXiv papers

The paper presents simulation methods for energy spot prices modeled as the exponential of two independent components: a mean-reverting Ornstein–Uhlenbeck process and a pure jump process. The jump component follows a compound Poisson process with positive…

CommoditiesMean reversionVolatilityDerivatives pricing
arXiv papers

The strategy combines online changepoint detection with a Deep Momentum Network built around an LSTM. The network learns trend estimates and position sizes, while the detection module supplies a suspected turning point and a measure of its severity. The…

MomentumTrend followingMean reversionMachine learning
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

This work proposes representing equities by their rank in market capitalization rather than by company identity. The motivation is that conventional name-based representations can be noisy and volatile, making patterns difficult for deep neural networks to…

EquitiesMachine learningMean reversionArbitrage
arXiv papers

This work extends a latent order book model of market impact by allowing agents to exhibit mean-reverting behavior, a pattern commonly observed in markets. It studies the resulting order book dynamics using a mean-field assumption, which represents the book…

Market microstructureMean reversionStatisticsExecution
arXiv papers

The paper combines statistically constructed factor models with stochastic control to study high-dimensional statistical arbitrage. Its model assumes mean-reverting residuals and shows how to build analytically market-neutral portfolios. It then derives…

ArbitrageMean reversionFactor investingPortfolio construction
arXiv papers

StockGPT treats daily stock returns as sequences of numerical tokens and trains an autoregressive model to predict future returns. Its attention mechanism is intended to learn temporal patterns directly from return histories, avoiding the need to specify…

EquitiesUS marketsMachine learningMomentum