Skip to main content

Pairs Trade Sizing and Reversion Profit

IntermediateQuantitative FinanceAlso known as: statistical arbitrage, stat arb, pairs trading, spread trade

Finds: how big to make a pairs trade and what reversion would earn.

When to use it: Use it to size a trade once a spread has been identified. When the z-score is large and positive the spread is rich: short Y and buy beta units of X. When it is large and negative, do the reverse. Profit assumes the spread fully reverts, and ignores costs, financing and the chance that the relationship has broken, so it is an upper bound, not a forecast.

The formula

z\displaystyle z=s−sˉσs\displaystyle =\frac{s-\bar{s}}{\sigma_{s}}Units\displaystyle \text{Units}=⌊KPY+βPX⌋\displaystyle =\left\lfloor\frac{K}{P_{Y}+\beta P_{X}}\right\rfloorProfit\displaystyle \text{Profit}=Units×∣s−sˉ∣\displaystyle =\text{Units}\times|s-\bar{s}|

In words: z-score = (spread − mean spread) / sd of spread; Units of the pair = floor(capital / (price Y + hedge ratio x price X)); Profit if the spread returns to its mean = Units x |spread − mean|

What each symbol means

sCurrent spread, Y - beta x Xmoney
s-bar, sigma_sMean and standard deviation of the spreadmoney
betaHedge ratio: units of X per unit of Ynumber
KCapital allocated to gross exposuremoney

Worked example

The spread has a mean of 0.40 and a standard deviation of 0.80 and is now 2.40. The hedge ratio is 1.5, Y trades at 120 and X at 70, and 50,000 of capital is allocated to gross exposure.

z-score(2.4 − 0.4) ÷ sd2.50
Gross exposure per unit120 + 1.5 × 70225
Units222
Profit if the spread returns to the mean444
Return on capital444 ÷ 50,0000.89%
The answer

The z-score is 2.50, so the spread is rich: short Y and buy X. Each unit of the pair uses 225 of gross exposure, so 222 units fit in the capital. Reversion to the mean would earn 444, or 0.89% of the capital.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

z-score2.50
Units222
Profit if the spread returns to the mean444

Keep going