Quant research and backtesting

Pairs trading

Also called pairs trade, relative value pair

Trading two related assets against each other: buying the relatively cheap one and selling the relatively expensive one when their spread deviates from normal, and closing when it reverts.

How it works

The pair is chosen by a distance measure on normalised prices, by cointegration or by economic similarity. The position is sized by a hedge ratio so that common moves cancel and only the spread is held. Gatev, Goetzmann and Rouwenhorst tested a distance-based rule on US stocks from 1962 to 1997 with six-month trading periods and found annualised excess returns of up to 12% for portfolios of top pairs, above a conservative estimate of transaction costs for most of the period. Risks are that the link breaks, that the spread takes longer to revert than capital allows, and that many funds hold the same pairs.

Worked example

Two stocks whose normalised prices usually move together diverge by 2 historical standard deviations. Buy $1m of the laggard and sell $1m of the leader; close when the prices meet again.

Put it to work in a timed game.

Practise with Find the Bug

Sources

  1. nber.org/papers/w7032
  2. en.wikipedia.org/wiki/Pairs_trade

Last checked November 2026.

← All 281 glossary terms

Was this definition clear?