IntroductionPairs trading is a market-neutral trading strategy that matches a long position with a short position in a pair of highly correlated instruments such as two stocks, exchange-traded funds (ETFs), currencies, commodities or options. Pairs traders wait for weakness in the correlation, and then go long on the under-performer while simultaneously going short on the over-performer, closing the positions as the relationship returns to its statistical norm. The strategy’s profit is derived from the difference in price change between the two instruments, rather than from the direction in which each moves. Therefore, a profit can be realized if the long position goes up more than the short, or the short position goes down more than the long (in a perfect situation, the long position will rise and the short position will fall, but this is not a requirement for making a profit). It is possible for pairs traders to profit during a variety of market conditions, including periods when the market goes up, down or sideways, and during periods of either low or high volatility.
Pairs trading’s origin is generally credited to a group of computer scientists, mathematicians and physicists assembled by Wall Street’s Morgan Stanley & Co. in the early to mid-1980s. The team, which included computer scientists Gerry Bamberger and David Shaw, and quant trader Nunzio Tartaglia, was brought together to study arbitrage opportunities in the equities markets, employing advanced statistical modeling and developing an automated trading program to exploit market imbalances.
Central to their research was the development of quantitative methods for identifying pairs of securities whose prices exhibited similar historical price movements, or that were highly correlated. While the team’s resulting black box was traded successfully in 1987 – the group made a reported $50 million profit for Morgan Stanley – the next two years of trading saw poor enough results that in 1989 the group disbanded.
Over the years, pairs trading has gained modest attention among individual, institutional and hedge fund traders as a market-neutral investment strategy. This is largely due to the advent of the Internet and advancements in trading technology. These two factors have helped level the playing field for individual investors, making real-time market data and powerful tools both available and affordable to more than just the institutional traders. True, the large hedge funds and institutional traders still have advantages (for example, robust proprietary systems and economies of scale). However, today’s market participants – whether retails traders or a team of highly-skilled mathematicians in a quant shop – have access to real-time financial market data, direct access trading platforms, advanced computer modeling and the ability to automate complex trading strategies.
Using technology – as well as drawing on fundamentals, probabilities, statistics and technical analysis – pairs traders attempt to identify relationships between two instruments, determine the direction of the relationship and execute trades based on the data presented. Here, we introduce pairs trading, market-neutral investments, arbitrage and provide an example of a pairs trade.
Market Neutral InvestingThe concept of market-neutral investing is relevant because pairs trading is a type of market-neutral strategy. Joseph G. Nicholas, founder and chairman of HFR Group, wrote in his 2000 book “Market Neutral Investing: Long/Short Hedge Fund Strategies”: “Market-neutral investing refers to a group of investment strategies that seek to neutralize certain market risks by taking offsetting long and short positions in instruments with actual or theoretical relationships. These approaches seek to limit exposure to systemic changes in price caused by shifts in macroeconomic variables or market sentiment.”
Market-neutral investing is not a single strategy. Numerous market-neutral strategies include:
Equity market neutral
Mortgage-backed securities arbitrage
Relative value arbitrage
Statistical arbitrage (“StatArb”).
Pairs traders limit directional risk by going long on one stock (or other instrument) in a particular sector or industry, and pairing that trade with an equal-dollar-value (or dollar neutral) short position in a correlated stock (for example long $10,000 on stock A and short $10,000 on stock B), typically within the same sector or industry. Because it does not matter which direction the market moves, directional risk is mitigated. Profits depend on the difference in price change between the two instruments, regardless of the market’s direction, and are realized through a gain in the net position.
CorrelationCorrelation is a term from linear regression analysis that describes the strength of the relationship between a dependent variable and an independent variable. Central to pairs trading is the idea that if the two stocks (or other instruments) are correlated enough, any changes in correlation may be followed by a reversion to the pair’s mean trend, creating a profit opportunity. For example, stock A and stock B are highly correlated. If the correlation weakens temporarily – stock A moves up and stock B moves down – a pairs trader might exploit this divergence by shorting stock A (the over-performing issue) and going long on stock B (the under-performing issue). If the stocks revert to the statistical mean, the trader can profit.
The importance of correlationCorrelation measures the relationship between two instruments. We can see from Figure 1 that the e-mini S&P 500 (ES, in red) and e-mini Dow (YM, in green) futures contracts have prices that tend to move together, or that are correlated.
Figure 1 This daily chart of the ES and YM e-mini futures contracts shows that prices tend to move together. Image created with TradeStation.
Remember, pairs traders attempt to:
Execute trades based on the data presented.
The correlation between any two variables – such as rates of return or historical prices – is a relative statistical measure of the degree to which these variables tend to move together. The correlation coefficient measures the extent to which values of one variable are associated with values of another. Values of the correlation coefficient range from -1 to +1, where:
No correlation (0) exists if the price movements are completely random (stock A and stock B go up and down randomly).
-1 0 +1Perfect negative correlation No correlation Perfect positive correlation
Why is correlation important to pairs trading? If the two instruments were not correlated to begin with, any divergence and subsequent convergence in price might, in general, be less meaningful. As an example, let’s consider a main road along a river. In general, the road follows the river very closely. Occasionally, the road must diverge away from the river due to terrain or development (comparable to the “spread” in price). Each time this happens, however, the road eventually reverts to its spot parallel to the river.
In this example, the road and the river have a correlated relationship. If we compare the river to another nearby dirt road, however, with no definable correlation to the river (i.e., their movements are completely random), it would be futile to predict how the two would behave relative to one another. The positive correlation between the main road and the river, however, is what makes it reasonable to anticipate that the main road and the river will eventually reunite. The same logic holds true for pairs trading: by identifying correlated securities, we can look for periods of divergence, try to figure out why price is separating and attempt to profit through convergence.
Note: A different approach is to attempt to profit through additional divergence (referred to as divergence trading). Here, we will focus on strategies that attempt to profit through convergence, or a reversion to the mean (known as convergence trading).
Determining correlationThe first step in finding suitable pairs is to look for securities that have something in common, and that trade with good liquidity and can be shorted. Because of similar market risks, competing companies within the same sector make natural potential pairs and are a good place to start. Examples of potentially correlated instruments might include pairs such as:
Coca-Cola and Pepsi
Dell and Hewlett-Packard
Duke Energy and Allegheny Energy
E-mini S&P 500 and E-mini Dow
Exxon and Chevron
Lowe’s and Home Depot
McDonald’s and Yum! Brands
S&P 500 ETF and SPDR DJIA ETF.
Most trading platforms provide some type of technical indicator that can be applied to the two securities, performing the math functions automatically and plotting the results on a price chart.
Traders who do not have access to this particular technical indicator can perform an Internet search “correlation coefficient calculator” to access online tools that perform the calculations.
Traders can enter the price data in Excel and use its “CORREL” function to perform the calculations, as shown in Figure 2:
Figure 2 Excel can be used to calculate a pair’s correlation coefficient.
After the correlation coefficients have been determined, the results can be used as a filter to find the pairs that show the most potential.
Price ratio = Price of Instrument A / Price of Instrument B
If traders do not have access to this type of analysis in a trading platform, the price data can be entered into Excel, as shown in Figure 3:
Figure 3 Excel can be used to calculate a pair’s price, or spread, ratio.
99.74 percent of the data will fall within +/- three standard deviations of the mean.
Applying this data, we wait until the price ratio diverges “x” number of standard deviations – such as +/- two standard deviations – and enter a long/short trade based on the information (the number of standard deviations selected is determined through historical analysis and optimization). If the pair reverts to its mean trend, the trade can be profitable.
Events that trigger weakness in correlationWhen two instruments are highly correlated, certain events can cause a temporary weakness in correlation. Because many factors that would cause price movements would affect correlated pairs equally (such as Federal Reserve announcements or geopolitical turmoil), events that trigger weakness in correlation are generally limited to things that primarily impact only one of the instruments. For example, divergence can be the result of temporary supply and demand changes within one stock, such as when a single large investor changes positions either through buying or selling in one of the securities represented in a pair.
Note: All U.S.-listed companies must notify the listing exchange (e.g., NYSE or Nasdaq) about any corporate developments that have the potential to affect trading activity in that stock before making the announcement public. Examples of developments include:
Legal or regulatory issues that could affect the company’s power to conduct business.
U.S.stock exchanges are authorized to issue a trading halt – a temporary suspension of trading activity – based on their evaluation of an announcement. In general, the more likely the announcement is to have an effect of the stock’s price, the greater the likelihood that the exchange will call for a trading halt until the news is disseminated to the public.
Additionally, if a U.S.-listed stock’s price changes significantly within any five-minute period, a short-term trading pause may be issued. A pause lasts five minutes unless there is still a significant imbalance between the security’s buy and sell orders after that period. The price moves that trigger a pause are:
50 percent price movement for other stocks priced below $1.
Weakness can also be caused by internal developments – or events that occur within companies – such as mergers and acquisitions, earnings reports, dividend changes, the development/approval of new products, and scandal or fraud. Particularly if an internal event is unexpected, the involved company’s stock price can experience rapid and dramatic price fluctuations. Depending on the event, the price change can be very short-term or can result in a trend change.
ArbitrageAt a basic level, arbitrage is the process of simultaneously buying and selling the same (or equivalent) securities on different markets to take advantage of price differences and make a profit. The price differences can be the result of market inefficiencies, pricing mismatches and even currency exchange rates. An arbitrageur, for example, could buy stock ABC for $50 on the New York Stock Exchange (NYSE), while at the same time, sell it for $51 on the London Stock Exchange (LSE), profiting $1 per share. Since arbitrageurs attempt to benefit from very small price moves, they typically must enter large positions to make substantial profits.
Before advancements in technology, it was possible for well-resourced arbitrageurs to capitalize on these arbitrage opportunities. Today the markets are a more level playing field, and as more people have real-time access to market data and with increased transparency, many of these pure arbitrage opportunities no longer exist.
While pure arbitrage is risk-free and based on actual pricing flaws, other forms of arbitrage are speculative in nature and based on perceived or implied pricing flaws: an investor’s perception that a price relationship has deviated from its historical average in a significant way. Pairs trading shares characteristics with two such types of arbitrage: relative value arbitrage and statistical arbitrage:
Relative value arbitrageThis type of arbitrage refers to simultaneous buying and selling of related instruments, whereby the trader’s profit depends on a favorable change in the relationship between the instruments’ prices. This type of arbitrage involves taking offsetting positions (long/short) in securities that are historically or mathematically interrelated, but where the relationship is temporarily misaligned. Investors can realize a profit when the relationship between the securities reverts to its norm.
Relative value arbitrage approaches involve several different investment strategies, including:
Capital structure arbitrage
Equity statistical arbitrage
Options and warrants
Statistical arbitragePairs trading can also fall under statistical arbitrage (“StatArb”), which is similar to relative value arbitrage. Relative value arbitrage and StatArb differ in terms of time frame, type of analysis and method of order entry. As relative value arbitrage, pairs trading can exist in almost any time horizon, using fundamental and/or technical analysis, and can be manually traded. Conversely, as statistical arbitrage, pairs trading exists in the very short term, relying on computer-driven modeling for analysis, and taking frequent trades (dozens or even hundreds each trading session) that are executed automatically by a computer (i.e., an automated strategy).
Pairs trading, then, has elements of both relative value and statistical arbitrage, and is, in fact, often referred to as either relative value arbitrage or statistical arbitrage. Regardless of how pairs are selected (either by fundamental or technical analysis), or how they are traded (manual-based or computer-driven), a pairs trading strategy is centered on the concept of mean reversion: that weakness in correlation can occur in the short-term, but will be corrected as prices revert back to the historical mean.
Part two continues next week
Jean Folger can be contacted at PowerZoneTrading