hedgefund.wiki — institutional knowledge base

Pairs Trading

Hedge Fund Strategies · intermediate · CC-BY-4.0

Pairs trading is a market-neutral quantitative strategy that simultaneously buys (goes long) a relatively underperforming security and sells short (goes short) a related, historically correlated security when the spread between their prices or returns deviates from its historical equilibrium, betting on reversion to the mean relationship.

Key takeaways

Explanation

Pairs trading was pioneered in the 1980s by quantitative teams at Morgan Stanley, notably Nunzio Tartaglia's group, and has since become one of the most widely practiced quantitative equity strategies. The core insight is that securities within the same industry, with similar business models and risk exposures, should maintain a relatively stable price relationship over time. When news, sentiment, or temporary supply-demand imbalances push one security to trade at an unusual premium or discount to its historical relationship with a peer, a mean-reversion opportunity arises.

The statistical foundation of pairs trading rests on cointegration theory. Two price series are cointegrated if, despite individually being non-stationary (i.e., random walks without a fixed mean), a linear combination of the two is stationary — meaning it has a mean-reverting character. The Engle-Granger two-step procedure tests for cointegration by running OLS regression of one price series on another and testing whether the residuals are stationary using augmented Dickey-Fuller tests. Cointegrated pairs are preferable to correlated pairs because correlation measures co-movement in returns (short-run) while cointegration captures the long-run equilibrium relationship between price levels.

Strategy implementation involves: selecting pairs (either industry-based fundamental pairing or statistical data-mining approaches); estimating the hedge ratio (the number of shares of Security B to short per share of Security A long, typically the OLS regression coefficient); calculating the spread and its z-score (number of standard deviations from the mean); entering the trade when the z-score exceeds a threshold (commonly 1.5–2.0 standard deviations); and exiting when the spread mean-reverts (z-score returns to 0) or cutting the trade at a stop-loss level (often z > 3.0, indicating the pair relationship may have broken down).

The primary risks in pairs trading are: convergence risk (the spread continues widening rather than reverting — the worst-case scenario); breakdown risk (a fundamental structural change permanently alters the relationship between the securities); liquidity risk (difficulty borrowing the short security, especially after a large divergence when other pairs traders are also short); and factor risk (if both securities are affected by a common factor — such as sector re-rating — the pair P&L reflects the difference in factor sensitivity rather than the intended idiosyncratic spread).

In equity long/short hedge funds, pairs trading is often used as a lower-risk complement to higher-conviction fundamental long/short positions. The market-neutral character of a well-constructed pair provides income and diversification against directional market exposure, while consuming relatively little of the fund's risk budget. Institutional pairs trading has expanded into cross-asset domains: trading the equity of a company against its credit instruments, or related futures contracts across commodity sub-sectors.

Formula

Spread = Price_A − β × Price_B; Z-Score = (Spread − Mean_Spread) / StdDev_Spread; Enter when |Z| > 2, Exit when |Z| < 0.5

Example

An equity pairs trader identifies that Visa (V) and Mastercard (MA), which have historically traded with a correlation of 0.92 and are cointegrated based on 5 years of price data, have recently diverged. MA has underperformed V by 8 standard deviations of the spread's historical distribution — driven by temporary negative sentiment around a regulatory investigation into MA's network fees. The trader enters: Long $5M MA / Short $5M V (dollar-neutral, hedge ratio estimated at 1.03 MA shares per V share based on OLS regression). Entry spread z-score: −3.1 (MA is 3.1 std devs cheap relative to V). Over 14 trading days, the regulatory concerns diminish, MA's stock recovers, and the spread z-score reverts to −0.3. The long MA position gains 4.2% ($210,000) and the short V position loses 0.8% ($40,000) — net P&L = $170,000 on $10M gross exposure, a 1.7% return in 14 days, annualizing to approximately 44% (before financing and transaction costs).

Related terms

Bankruptcy Trading Breakdown Cointegration Convergence Correlation Distressed Debt Diversification Emerging Market Hedge Fund Equity Equity Long Bias Hedge Ratio Liquidity