Charts and Metastock: |
Pairs trading is a strategy that takes a position in the spread between two correlated stocks rather than in either stock individually. The trader goes long one name and [[Short Selling Explained|short]] the other in approximately equal dollar amounts, on the model assumption that the spread — the price ratio or price difference between the two — is approximately stationary around a long-run mean. When the spread deviates by more than some threshold (commonly 2σ), the trader bets on reversion. Because the long and short legs are sized to dollar-neutral within the same sector, a broad market move affects both legs by approximately the same amount, and the net P&L depends on the relative move between the two names rather than on the direction of the index.
Two stocks in the same sub-sector share most of their fundamental drivers: commodity input costs, regulatory regime, end-demand cycle, sector beta. Decompose either stock's return into a market component, a sector component, and an idiosyncratic component, and the first two are nearly identical across the pair. What is left — the residual — is the part a pairs trader is taking a view on.
The trade is therefore not a directional bet on either stock. It is a bet on the residual reverting. Concretely, on the spread St = PA,t − β · PB,t (or in log form, log PA,t − β · log PB,t) being a mean-reverting process around some level μ. This is a [[Mean Reversion Trading|mean reversion]] application, but applied to a constructed spread, not to a single price series.
The relevant statistical property is not correlation. It is cointegration. Two random walks can be highly correlated over a sample window and still drift apart without bound. Cointegration is the stronger condition that a particular linear combination of the two series is stationary — that is, has a stable mean and finite variance. Most retail descriptions of pairs trading conflate the two. They are not the same, and the difference matters when the trade fails.
Begin with stocks whose business models overlap closely. The classical candidates:
The closer the operating exposure, the more of the price variance is attributable to common factors and the smaller the residual you are trading. Smaller residual variance means the noise in the spread is lower and the signal-to-noise on a divergence is higher.
Compute the rolling correlation ρ of daily returns over a 1- to 2-year window. A pair with ρ below roughly 0.6 is too noisy to bother with. A pair with ρ above 0.8 is a candidate. But a high ρ on returns is necessary, not sufficient. Two names can have ρ = 0.9 over a sample and still produce a spread that drifts. The next step is the binding test.
Run an Engle-Granger or Augmented Dickey-Fuller test on the residual of a regression of PA on PB. If the residual rejects the unit root null at conventional levels, the pair is statistically cointegrated and the spread has a defensible mean to revert to. If it does not reject, you are looking at two correlated random walks, which is a different and worse trade.
This is the step most retail descriptions skip. It is also the step that filters out most candidate pairs. In a typical screen of same-sector pairs, the fraction that survives a strict cointegration test at the 5% level is small — in my own screens, single digits out of low hundreds. That ratio is what the strategy actually looks like before anyone trades it.
Two common parameterisations:
Plot the spread, compute its rolling mean and rolling standard deviation, and overlay [[Bollinger Bands: Volatility, Squeezes, and Trading Signals|Bollinger-style]] ±2σ bands. The z-score zt = (St − μ) / σ is the operational signal: enter when |z| exceeds some threshold (commonly 2), exit when z crosses zero (or a tighter band).
Home Depot (HD) and Lowe's (LOW) have, over a multi-year window, a hedge-ratio-adjusted spread that oscillates around a stable mean. Suppose the recent log-ratio has spiked to +2.3σ above the mean: HD has rallied on a strong earnings print while LOW reported flat results in the same week.
The pairs trade:
If the spread reverts toward zero over the next 10 to 20 sessions, the position is profitable irrespective of the index direction. Three convergence paths produce the same P&L:
The trade is also profitable, in expectation, on a moderate sector-wide move that affects both legs symmetrically. This is what dollar-neutral construction buys you.
Decompose each leg's P&L into a market component (βm), a sector component (βs), and a residual. Within a tightly-matched pair, βm and βs on the long leg are close to those on the short leg. With dollar-neutral sizing, those two contributions enter the portfolio with opposite signs and roughly equal magnitudes, and they cancel to first order:
What you keep is the residual difference. That is the entire trade.
Two cautions on the “market-neutral” label. First, neutrality is approximate — the βs are estimated from a sample and they drift. Second, neutrality holds in the body of the distribution, not in the tail. In a regime break, one leg can become uncorrelated with the other, the spread widens further, and the position is suddenly directional in a way the formation-window data did not advertise. This makes [[What Is a Bear Market?|bear-market]] performance better than directional long-only strategies on average and worse than the headline numbers suggest in the regimes that matter most.
The dominant failure mode in pairs trading is not bad entry. It is letting a structurally broken pair run because the formation-window statistics still look acceptable.
I ran a same-sector pairs book in 2021 across roughly twelve cointegrated pairs. Sharpe came in around 0.7 gross of borrow, closer to 0.4 net. The bottleneck was not entry timing or pair selection. It was that two of the twelve pairs broke structurally over the year (one M&A announcement, one earnings revision that reset the relative growth profile), and those two trades absorbed most of the gross from the other ten. I shut down the book at year-end. The arithmetic was working; the operational margin was not wide enough to be worth the monitoring overhead.
| Advantages | Limitations |
|---|---|
| Approximately market-neutral; profits available across index regimes | Requires [[Short Selling Explained|short selling]] and a margin account |
| Lower portfolio volatility than directional strategies | Per-trade edge is small; sensitive to frictions |
| Driven by statistical structure rather than directional forecasts | Cointegration can break and is not always detected before it does |
| Holding periods of days to weeks; tolerable for part-time operators | Two positions per trade; doubled monitoring load |
| Diversifiable across multiple independent pairs | Short borrow cost compounds against the position daily |
One sequence that respects the statistical content of the strategy:
Model assumptions, to keep on the record for this article: the spread is approximately stationary over the holding period, the hedge ratio estimated in-sample is approximately stable out-of-sample, transaction costs and borrow rates are well-modelled, and the formation-window correlation structure persists into the trade window. Each of these is testable. None is unconditional. When any of them fails, the strategy fails in a way the backtest did not show. Plan accordingly.
See also: [[Short Selling Explained]] · [[Mean Reversion Trading]] · [[Bollinger Bands: Volatility, Squeezes, and Trading Signals|Bollinger Bands]] · [[Sector Rotation: Following the Business Cycle|Sector Rotation]] · [[What Is Margin Trading?]]
Site Map: |
||||
Home | Message Board | Video Analysis | Articles | Ticker Index | $1000 Contest | Hall of Fame | About Us | Contact Us | Forum Diversified Portfolio | Speculative Portfolio | Pennies | Long Term | Fast | Technimental | Quotes | FAQ | Full Site Map |
||||
Disclaimer: |
||||
Please Read: Information provided in this Service is for educational purposes only and that 3StocksOnFire.org is not, and does not represent itself to be offering or recommending any securities to be bought or sold. We are not brokers or stock advisors. The service is provided as a guide only, which must be tempered by the investment experience and independent decision making process of the subscriber.
3StocksOnFire.org and its owners, certify that we may trade our recommendations. 3StocksOnFire.org and its owners, further certify that we will not buy a stock recommended on the site prior to the stock being set as "On Fire". 3StocksOnFire.org and its owners, further certify that we may sell the stock shortly after our purchase. When we trade a stock recommended on our site, we trade it just like we publish on our website. 3StocksOnFire.org and its owners, further certify that the trades posted in the tables on this site are not necessarily all actual trades made by us. There is risk, and you can lose your entire investment. Do your own due diligence. Make informed choices. 3StocksOnFire.org makes no guarantees. If you have questions, please contact us: [email protected] or see our Privacy Policy. |
||||
www.3StocksOnFire.org © 2005–2026 |
||||