If two assets are claims on essentially the same cash flows, their prices are tethered: the spread between them can wander, but economic forces — substitution, arbitrage, eventual corporate action — pull it back. Buy the cheap leg, short the rich leg, wait for the tether to do its work. The danger is that statistics will happily find "tethers" between assets that share nothing, and most of what a pair-scanner finds is exactly that.
Whoever pushes one leg without touching the other: an index fund forced to buy the listing that's in its index, a distressed holder dumping one share class, retail attention concentrating on one ticker of a dual-listed firm. They pay because their mandate or attention is leg-specific while the value is shared. The second, quieter payer is the arbitrageur before you who hit their risk limit — spreads stay open because closing them requires capital that gets withdrawn at the worst time.
The idea
Start with the cleanest pair that ever existed, because it teaches both the promise and the heartbreak. For most of a century, Royal Dutch Petroleum (Amsterdam) and Shell Transport (London) were two listings of the same underlying enterprise, with a charter fixing the split of all cash flows at 60/40. No modelling required: fair relative value was a constant, written in a legal document. The market price ratio should have sat at 1.5, permanently. It did not. Froot and Dabora (Froot & Dabora 1999) documented deviations from parity that reached 35% — for years at a time — moving with the relative sentiment of the markets where each twin traded. Here was a spread with a mechanically known anchor, and it still wandered a third of the way to nonsense before coming back.
Hold both halves of that story. The promise: the spread did revert — there really was a tether, and patient capital that bought the cheap twin earned it. The heartbreak: "eventually" took years, and anyone levered against the spread could be destroyed in the meantime — famously including LTCM, which was short the spread when it widened further in 1998 and had to unwind at a loss. A pair trade is a bet that your capital outlives the spread's patience. That is the whole game, and it's why limits-to-arbitrage (lesson 1.1's Shleifer-Vishny logic) is the right frame: the reason such gaps exist at all is that closing them is risky, slow, and career-testing.
Now generalise. Most pairs aren't legal twins; the claim is softer — two railways, two supermarkets, an ETF and its basket — "these businesses are similar enough that their values should move together." The statistical formalisation is cointegration, and it's worth being precise because the precision is what fails when misused. A price series that wanders without an anchor — think of a random walk — is called integrated of order one, I(1): its level has no tendency to return anywhere. Two I(1) series are cointegrated if some fixed combination of them — say — is stationary, I(0): the combination has a stable mean it keeps returning to. The pair wanders; the spread is tethered. Engle and Granger (Engle & Granger 1987) gave this its canonical treatment (it is a large part of what Granger's Nobel was for) along with a two-step recipe for finding and testing the tether — which we'll do properly in the maths section.
Does the statistical version make money? The honest benchmark is Gatev, Goetzmann and Rouwenhorst (Gatev, Goetzmann & Rouwenhorst 2006), who tested a deliberately simple rule — pair stocks whose normalised price paths tracked each other most closely over a year, then trade divergences beyond two standard deviations — across 1962–2002. Top pairs earned on the order of 11% a year in excess returns before costs, remarkably stable, and notably uncorrelated with the market. But their own subperiod analysis showed profits declining in the later decades, and Do and Faff (Do & Faff 2010) extended the sample and the cost accounting: post-2002 the simple strategy's returns thinned dramatically, and after realistic costs the average pair barely broke even.
The ~11% figure is the pre-cost, top-pairs number from the original sample; the post-2000 and post-cost numbers in both papers are far smaller and sensitive to construction. Check the tables in both before quoting any of these figures — the trajectory (strong, then decaying, then cost-consumed) is the reliable takeaway, not any single number.
Why did it decay? Publication (lesson 1.7) plus computation: by the 2000s, every stat-arb desk could run the same scan. But there's a deeper problem that would bite you even in a world with no competitors, and it's the centrepiece of this lesson: most pairs a scanner finds were never real in the first place.
Here is the trap, in module-2 language. Cointegration tests, like all hypothesis tests, have a false positive rate — run at the conventional 5% level, they will anoint roughly one in twenty unrelated pairs as "cointegrated" by chance. Now count the pairs. A universe of 500 stocks contains pairs. Scan them all and the test will hand you roughly six thousand "statistically significant" pairs even if every stock in the universe is a pure random walk with no relationships at all. Your scanner's output is a list dominated by noise that happened to dance together for a while — and noise that danced in-sample has no reason to dance out-of-sample. This is the multiple-testing catastrophe of lesson 2.3 in its purest form: the test was designed for one hypothesis chosen in advance, and you asked it 124,750.
The escape is the same as everywhere in this guide: mechanism first. A pair deserves testing only if you can say, before touching data, why these two prices share an anchor — same underlying entity (share classes, dual listings, holding company vs subsidiary), contractual linkage (ETF vs its basket), or genuinely substitutable economics. The statistics then confirm a story rather than generate one. The Royal Dutch/Shell tether was written in a charter; the tether between two "similar-looking" mid-caps your scanner surfaced is written in residuals, and residuals renegotiate without notice.
The maths
The Engle-Granger two-step, with every symbol earning its place. You have two log price series and (logs, so the hedge ratio is a ratio of percentage moves), each individually I(1).
Step one: estimate the tether. Regress one on the other by ordinary least squares:
Step two: test whether the spread actually reverts. Take the residual series and test it for a unit root — does it behave like a random walk (no anchor) or a stationary process (anchored)? The standard tool is an augmented Dickey-Fuller regression on the residual's changes:
If is significantly negative, the spread pulls back toward its mean — high spread predicts falling spread — and the pair passes. One technical landmine that generations of home-built scanners have stepped on: because came out of a regression that already chose to make the residual as small as possible, the ordinary ADF critical values are too lenient. You must use the Engle-Granger/ Phillips-Ouliaris critical values (any serious econometrics library has them); with plain ADF tables your false positive rate is even worse than the multiple-testing arithmetic above.
Trading quantities. If the spread passes, model it as mean-reverting — the workhorse is the Ornstein-Uhlenbeck process:
where is the spread, its long-run mean, its volatility, and the speed of reversion — the single most decision-relevant number in the whole pipeline, because it sets your holding period via the half-life:
A spread with a 10-day half-life is a strategy; a spread with a 14-month half-life is a hope with a borrow bill. In discrete time you estimate from an AR(1) regression of on : if , then per period. Entries and exits are then set in units of the spread's own standard deviation — the classic recipe (GGR's rule) opens at and closes at the mean.
Worked example
First, the cautionary arithmetic, concretely. Simulate 500 independent random walks — by construction, zero real relationships — and run the two-step on all 124,750 pairs at the 5% level:
import numpy as np
from statsmodels.tsa.stattools import coint # uses correct EG critical values
rng = np.random.default_rng(0)
prices = np.cumsum(rng.normal(0, 1, (750, 500)), axis=0) # 3y daily, all noise
hits = 0
for i in range(500):
for j in range(i + 1, 500):
_, pval, _ = coint(prices[:, i], prices[:, j])
hits += pval < 0.05
# hits ≈ 6,000: thousands of 'cointegrated' pairs among pure noiseRoughly six thousand pairs pass. Every one has a seductive in-sample spread chart — tight, oscillating, apparently begging to be traded — and every one is fiction. If your real-data scanner returns 7,000 pairs from the same universe, the honest estimate of how many are real is: about a thousand, and you don't know which.
Now the strategy arithmetic on a legitimate pair. Suppose an economically-anchored pair (say, two share classes) has log-spread statistics: mean 0, standard deviation , AR(1) coefficient daily, so /day and half-life days. You open at and close at the mean. Expected gross per round trip: the full 2.4% on the spread position. Expected holding: two-ish half-lives, call it 20 trading days. Costs: four trades (two legs, in and out); at 10 bp all-in each, 40 bp — a sixth of the gross. Borrow on the short leg at 50 bp a year for a month: ~4 bp. Viable — if the 2.4% entries occur often enough (a event every few months per pair) and the spread's parameters hold out of sample. Now re-run the same arithmetic with a 90-day half-life: the round trip takes most of a year, borrow and drift risk balloon, and the same 2.4% gross is no longer worth the queue. Speed of reversion, not size of spread, is what pays.
How you'd test it
Universe. Economically-anchored candidates only, enumerated before any statistics: dual listings and ADR pairs, share classes, holding company vs listed subsidiary, ETF vs replicating basket, commodity producers vs the commodity where the link is contractual. This list is short — dozens, not thousands — and that is the point. If you must scan wider, treat the scan as hypothesis generation and demand an economic story survive before a pair reaches the backtest, exactly as lesson 1.3 prescribes.
Data. Total-return series (a missed dividend on one leg looks exactly like a spread divergence), point-in-time universe membership, corporate action history (splits, conversions, tender offers — each one silently redefines your spread), and borrow availability for the short leg.
The specific lookahead trap. Selecting pairs on the full sample and then "backtesting" on the same years. The formation/trading split must be strict: estimate , , on a formation window, trade the next window with those frozen parameters, roll forward. A subtler version: re-estimating the hedge ratio mid-trade with data that includes the divergence you're trading — the refreshed partially "explains away" the divergence and flatters your marks. Freeze parameters at entry.
What cost level kills it. Four crossings per round trip plus carry on the short leg. At institutional costs (a few bp) the classic rules cleared costs historically; Do and Faff's (Do & Faff 2010) accounting shows retail-scale costs (tens of bp per crossing) consume the median pair entirely. The strategy concentrates whatever survives in the widest-spread entries — which are also the scariest ones.
What a null result looks like. Out of the formation window, half your "cointegrated" pairs show statistically indistinguishable from zero — the tether was in-sample fiction — and the survivors' half-lives double. If that's what you see on a scanned universe, the correct reading isn't "needs tuning"; it's the multiple-testing arithmetic doing exactly what it said it would.
What goes wrong
The tether is cut and nobody tells you. Cointegration is an estimate about the past of two businesses; businesses change. One supermarket pivots to convenience stores; one railway merges; management of the cheap twin starts burning the cash flows the anchor was made of. The spread doesn't "diverge" in the statistical sense — the relationship ends, and a mean-reversion model turns a dead relationship into an instruction to double up. Every position needs an invalidation trigger written at entry: a corporate event, a fundamental divergence, a maximum spread level at which you concede the anchor is gone.
You survive the statistics and die of financing. Royal Dutch/Shell is the eternal warning: right about the anchor, right about eventual reversion, dead anyway, because the spread widened for years and the capital was levered (Froot & Dabora 1999). A pair book's risk is not the spreads' volatility on quiet days; it's the correlated widening of all spreads when arbitrage capital retreats at once (the limits-of-arbitrage spiral — and note this is the same week your reversal book from 8.1 is bleeding, because it's the same underlying event).
Short-leg mechanics. Recalls, borrow spikes, and buy-ins cluster on exactly the rich, crowded, hard-to-borrow leg that pair trades short. Being forced out of the short half converts a hedged spread into a naked long at the worst moment.
The scanner's graveyard is invisible. If you test 5,000 pairs and trade the 30 prettiest, the honest track record of your process includes the 4,970 that fizzled. Keep the graveyard (lesson 1.10); when the live book underperforms the backtest by exactly the amount multiple-testing theory predicts, you'll at least know nothing is broken except the original expectations.
Decay watch
The simple statistical version has the cleanest decay record in this guide: strong for decades in the early sample (Gatev, Goetzmann & Rouwenhorst 2006), visibly weakening within the original paper's own later subperiods, and close to cost-consumed after 2002 (Do & Faff 2010) — a textbook McLean-Pontiff trajectory for a strategy that computation commoditised. The economically-anchored core decays differently: legal twins and ETF-basket links can't be arbitraged out of existence, but their normal spreads are now tiny and the wide ones open precisely during stress, when holding them is hardest — the Grossman-Stiglitz wage is still paid, but mostly to balance sheets that can wait. A reasonable 2026 stance: likely dead as a scanned, statistical strategy at retail costs; alive as occasional, patient, economically-anchored relative value — a handful of named spreads you understand deeply, monitored for the rare wide entry, sized to survive the spread doubling before it halves.