Correlation is not cointegration

The most common mistake in pairs trading is picking two assets because they are highly correlated. Correlation is about daily co-movement. A spread trade needs something else: the gap between the two must have a habit of closing.

What correlation measures

Take the daily returns of two assets. If, on most days, both go up together or both go down together, their return correlation is high. SPY and QQQ have a return correlation around 0.95. XLE and XOP are around 0.93. That tells you they share the same news flow.

It does not tell you where the level of one sits relative to the other. Two assets can be 95% correlated and still drift apart permanently, because a small daily difference that always points the same way compounds into a wide gap. QQQ has outrun SPY for fifteen years while remaining almost perfectly correlated with it. A trader who shorted QQQ against SPY every time the gap "looked stretched" lost money for a decade.

What cointegration measures

Cointegration is a statement about price levels, not returns. Two price series are cointegrated when some fixed combination of them, log A minus β times log B, is stationary: it wanders around a stable mean instead of trending off. The number β is the hedge ratio, the amount of B that offsets one unit of A.

The Engle-Granger test fits that combination and then asks whether the residual has a unit root. A p-value below 0.05 is the conventional threshold for "probably stationary". The Johansen test asks the same question a different way, without having to choose which asset is the dependent one, which is why Spread Trading Lab runs both and only calls a pair cointegrated when they agree.

Why the distinction decides everything

A spread trade bets that a stretched gap will close. If the pair is cointegrated, that bet has a statistical basis: deviations are temporary by construction. If the pair is merely correlated, the bet has no basis at all; the gap can be wide because the relationship has changed, and it may never come back.

Look at the two pairs above in the lab. SPY and QQQ: correlation 0.95, Engle-Granger p around 0.23. XLE and XOP: correlation 0.93, p around 0.17. Neither passes. Compare EWA and EWC, the Australia and Canada ETFs: correlation only 0.84 but p = 0.004 and a half-life near 25 days. The less correlated pair is the one with the tradeable relationship.

What cointegration does not promise

Passing the test on five years of history does not mean the relationship holds next year. The 2026 study by Pandini found that a classic gold and silver pair earned around 16% a year after costs until COVID broke it, and that cointegration is "neither sufficient nor strictly necessary" for profit. Two guards help: watch the rolling diagnostics for weakening, and judge results on the out-of-sample segment only.

Also remember that at a 5% threshold, one pair in twenty passes by chance. Screening a thousand pairs will hand you fifty false positives. Prefer pairs with an economic reason to be linked, and treat a screen as a shortlist, not a signal.

Open EWA / EWC in the lab