The Secret to Finding Profit in Pairs Trading (2024)

"Quants" is Wall Street's name for market researchers who use quantitative analysis to develop profitable trading strategies. In short, a quant combs through price ratios and mathematical relationships between companies or trading vehicles in order to divine profitable trading opportunities. During the 1980s, a group of quants working for Morgan Stanley struck gold with a strategy called the pairs trade. Institutional investors and proprietary trading desks at major investment banks have been using the technique ever since, and many have made a tidy profit with the strategy.

It is rarely in the best interest of investment bankers and mutual fund managers to share profitable trading strategies with the public, so the pairs trade remained a secret of the pros (and a few deft individuals) until the advent of the internet. Online trading opened the lid on real-time financial information and gave the novice access to all types of investment strategies. It didn't take long for the pairs trade to attract individual investors and small-time traders looking to hedge their risk exposure to the movements of the broader market.

Key Takeaways

  • Pairs trading involves betting on the price spread between two similar securities.
  • Pairs trades can be based on fundamental or technical factors, and these trades generally are held for shorter time horizons.
  • If the trader thinks the prices should converge, they will buy the relatively underpriced security and simultaneously sell the overpriced one.

What Is Pairs Trading?

Pairs trading has the potential to achieve profits through simple and relatively low-risk positions. The pairs trade is market-neutral, meaning the direction of the overall market does not affect its win or loss.

The goal is to match two trading vehicles that are highly correlated, trading one long and the other short when the pair's price ratio diverges "x" number of standard deviations—x" is optimized using historical data. If the pair reverts to its mean trend, a profit is made on one or both of the positions.

Example of a Pairs Trade with Stocks

Traders can use either fundamental or technical data to construct a pairs-trading style. Our example here is technical in nature, but some traders use a P/E ratio or other fundamental factors to measure correlation and divergence.

The first step in designing a pairs trade is finding two stocks that are highly correlated. Usually, that means that the businesses are in the same industry or sub-sector, but not always. For instance, index-tracking stocks like the QQQQ (Nasdaq 100) or the SPY () can offer excellent pairs trading opportunities. Two indices that generally trade together are the S&P 500 and the Dow Jones Utilities Average. This simple price plot of the two indices demonstrates their correlation:

For our example, we will look at two businesses that are highly correlated: GM and Ford. Since both are American auto manufacturers, their stocks tend to move together.

Below is a weekly chart of the price ratio between Ford and GM (calculated by dividing Ford's stock price by GM's stock price). This price ratio is sometimes called "relative performance" (not to be confused with the relative strength index, something completely different). The center white line represents the mean price ratio over the past two years. The yellow and red lines represent one and two standard deviations from the mean ratio, respectively.

In the chart below, the potential for profit can be identified when the price ratio hits its first or second deviation. When these profitable divergences occur it is time to take a long position in the underperformer and a short position in the overachiever. The revenue from the short sale can help cover the cost of the long position, making the pairs trade inexpensive to put on. Position size of the pair should be matched by dollar value rather than by the number of shares; this way a 5% move in one equals a 5% move in the other. As with all investments, there is a risk that the trades could move into the red, so it is important to determine optimized stop-loss points before implementing the pairs trade.

The Secret to Finding Profit in Pairs Trading (2)

An Example Using Futures Contracts

The pairs trading strategy works not only with stocks but also with currencies, commodities, and options. In the futures market, "mini" contracts—smaller-sized contracts that represent a fraction of the value of the full-size position—enable smaller investors to trade in futures.

A pairs trade in the futures market might involve an arbitrage between the futures contract and the cash position of a given index. When the futures contract gets ahead of the cash position, a trader might try to profit by shorting the future and going long in the index tracking stock, expecting them to come together at some point. Often the moves between an index or commodity and its futures contract are so tight that profits are left only for the fastest of traders—often using computers to automatically execute enormous positions IN the blink of an eye.

An Example Using Options

Option traders use calls and puts to hedge risks and exploit volatility (or the lack thereof). A call is a commitment by the writer to sell shares of a stock at a given price sometime in the future. A put is a commitment by the writer to buy shares at a given price sometime in the future. A pairs trade in the options market might involve writing a call for a security that is outperforming its pair (another highly correlated security) and matching the position by writing a put for the pair (the underperforming security). As the two underlying positions revert to their mean again, the options become worthless allowing the trader to pocket the proceeds from one or both of the positions.

Evidence of Profitability

In an important research paper written by Yale Business School economists Even G. Gatev, William Goetzmann, and K. Geert Rouwenhorst, the authors attempted to prove that pairs trading is profitable. Using a large set of data from 1967 to 1997, the trio found that over any six-month trading period, the pairs trade averaged a +12% return. To distinguish profitable results from plain luck, their test included conservative estimates of transaction costs and randomly selected pairs.

More recent research has also shown that pairs trading can still be a profitable venture, although the advent of algorithmic and high-frequency trading (HFT) has left this business largely to the professionals these days.

The Bottom Line

The broad market is full of ups and downs that force out weak players and confound even the smartest prognosticators. Fortunately, using market-neutral strategies like the pairs trade, investors and traders can find profits in all market conditions. The beauty of the pairs trade is its simplicity. The long/short relationship of two correlated securities acts as a ballast for a portfolio caught in the choppy waters of the overall market. Good luck with your hunt for profit in pairs trading, and here's to your success in the markets.

The Secret to Finding Profit in Pairs Trading (2024)

FAQs

What is the formula for pairs trading? ›

Spread = log(a) – nlog(b), where 'a' and 'b' are prices of stocks A and B respectively. For each stock of A bought, you have sold n stocks of B. n is calculated by regressing prices of stocks A and B.

What is the algorithm for pairs trading? ›

According to The Definitive Guide to Pairs Trading [5], there are 3 main steps to building a pairs trading algorithm: pair selection, spread modeling, and trading rules development. Pair selection aims to find co-moving assets with similar returns and mean-reverting spread.

How profitable is pair trading? ›

When a pairs trade performs as expected, the investor profits; the investor is also able to mitigate potential losses that would have occurred in the process. Profits are generated when the underperforming security regains value, and the outperforming security's price deflates.

What is the pairs trading strategy? ›

Pairs trading is a non-directional, relative value investment strategy that seeks to identify 2 companies or funds with similar characteristics whose equity securities are currently trading at a price relationship that is out of their historical trading range.

What is the Z score in pairs trading strategy? ›

σ is the standard deviation of the rolling window. The Z-score measures how far the current ratio of the two asset prices is from its historical mean. When the Z-score surpasses a predefined threshold, typically +1 or -1, it generates a trading signal.

How many pairs should I day trade? ›

When day trading a 1-minute chart, focus on trading one pair well. Only trade more if it actually results in an improvement in your results over trading one. There are enough opportunities in a few-hour period to make money.

Are trading algorithms profitable? ›

Yes, it is possible to make money with algorithmic trading. Algorithmic trading can provide a more systematic and disciplined approach to trading, which can help traders to identify and execute trades more efficiently than a human trader could.

What is the most profitable trading pattern? ›

The head and shoulders patterns are statistically the most accurate of the price action patterns, reaching their projected target almost 85% of the time. The regular head and shoulders pattern is defined by two swing highs (the shoulders) with a higher high (the head) between them.

What are the disadvantages of pairs trading? ›

Disadvantages of pairs trading

Firstly, it relies on an extremely high correlation between the two assets in question. If there isn't a concrete statistical relationship, the strategy will fail. Finding these can be challenging, as it requires extremely comprehensive and clean data sets.

How many forex pairs should a beginner trade? ›

If you're just starting out, try to focus on 5 to 10 currency pairs.

What is the 1 2 3 trading strategy? ›

The 123 reversal chart pattern strategy is a three-swing price formation that indicates a potential reversal in trend. It is formed by three price swings or waves with three swing points, which is where the name of the pattern comes from.

What is the hedge ratio in pair trading? ›

In pairs trading, that coefficient is called the hedge ratio, and it describes the amount of instrument B to purchase or sell for every unit of instrument A. The hedge ratio can refer to a dollar value of instrument B, or the number of units of instrument B, depending on the approach taken.

What is the formula for number of pairs in a list? ›

TLDR; The formula is n(n-1)/2 where n is the number of items in the set.

What is an example of a pair trade? ›

Pairs trading involves making two (or more) bets on different, but related securities. Most of the time, you buy one security (go long) and short another security. The classic example of a pairs trade is co*ke and Pepsi. If Coca-Cola stock goes up a lot while Pepsi remains unchanged, you would short co*ke and buy Pepsi.

Top Articles
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6609

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.