Pairs trade: Difference between revisions
No edit summary |
|||
(38 intermediate revisions by 26 users not shown) | |||
Line 1: | Line 1: | ||
{{short description|Trading strategy}} |
|||
{{technical|date=November 2012}} |
{{technical|date=November 2012}} |
||
[[Image:pair tool.JPG|thumb|alt=Example of pair trade graphical representation|Example of pair trade graphical representation]] |
[[Image:pair tool.JPG|thumb|alt=Example of pair trade graphical representation|Example of pair trade graphical representation]] |
||
A '''pairs trade''' or '''pair trading''' is a [[market neutral]] [[trading strategy]] enabling traders to profit from virtually any market conditions: uptrend, downtrend, or sideways movement. This strategy is categorized as a [[statistical arbitrage]] and [[convergence trading]] strategy.<ref>{{cite web |author1=Kanamura, Takashi |author2=Rachev, Svetlozar |author3=Fabozzi, FranK |date=5 July 2008 |title=The Application of Pairs Trading to Energy Futures Markets |url=http://statistik.ets.kit.edu/download/doc_secure1/ptem342v144techreport.pdf |archive-url=https://web.archive.org/web/20130205215100/http://statistik.ets.kit.edu/download/doc_secure1/ptem342v144techreport.pdf |archive-date=2013-02-05 |access-date=20 January 2015 |publisher=Karlsruhe Institute of Technology}}</ref> Pair trading was pioneered by Gerry Bamberger and later led by Nunzio Tartaglia's quantitative group at [[Morgan Stanley]] in the 1980s.<ref>Bookstaber, Richard. ''A Demon Of Our Own Design'', p. 186. Wiley, 2006.</ref> |
|||
⚫ | The strategy monitors performance of two historically correlated securities. When the [[correlation]] between the two securities temporarily weakens, i.e. one stock moves up while the other moves down, the pairs trade would be to short the outperforming stock and to long the underperforming one, betting that the "spread" between the two would eventually converge.<ref>{{cite web|url=http://www.cs.sunysb.edu/~skiena/691/lectures/lecture23.pdf|title=Lecture 23: Pairs Trading}}</ref> The divergence within a pair can be caused by temporary supply/demand changes, large buy/sell orders for one security, reaction for important news about one of the companies, and so on. |
||
==Overview== |
|||
⚫ | The strategy monitors performance of two historically correlated securities. When the [[correlation]] between the two securities temporarily weakens, i.e. one stock moves up while the other moves down, the pairs trade would be to short the outperforming stock and to long the underperforming one, betting that the "spread" between the two would eventually converge.<ref> |
||
Pairs trading strategy demands good position sizing, [[market timing]], and decision making skill. Although the strategy does not have much [[downside risk]], there is a scarcity of opportunities, and, for profiting, the trader must be one of the first to capitalize on the opportunity. |
Pairs trading strategy demands good [[Position size|position sizing]], [[market timing]], and decision making skill. Although the strategy does not have much [[downside risk]], there is a scarcity of opportunities, and, for profiting, the trader must be one of the first to capitalize on the opportunity. |
||
A notable pairs trader was hedge fund [[Long-Term Capital Management]] |
A notable pairs trader was hedge fund [[Long-Term Capital Management]];<ref>{{cite book|last=Lowenstein|first=Roger|title=When genius failed : the rise and fall of Long-Term Capital Management|date=2000|publisher=Random House|location=New York|isbn=978-0-375-50317-7|edition=1|url-access=registration|url=https://archive.org/details/whengeniusfailed00lowe}}</ref> see [[Arbitrage#Dual-listed companies|Dual-listed companies]]. |
||
⚫ | |||
⚫ | |||
⚫ | Pepsi (PEP) and Coca |
||
⚫ | |||
==Examples of potentially correlated pairs== |
|||
*[[Coca-Cola]] (KO) and [[Pepsi]] (PEP) |
|||
*[[Renault]] (RNL) and [[PSA Peugeot Citroen]] (UG) |
|||
*[[Wal-Mart]] (WMT) and [[Target Corporation]] (TGT)<ref name="Mahdavi Damghani 2013 50–61">{{cite journal |first=Babak |last=Mahdavi Damghani |year=2013|title= The Non-Misleading Value of Inferred Correlation: An Introduction to the Cointelation Model |journal=[[Wilmott]] |volume=2013 |issue=1 |pages=50–61 |doi= 10.1002/wilm.10252}}</ref> |
|||
*[[Exxon Mobil]] (XOM) and [[Chevron Corporation]] (CVX) |
|||
*[[Portugal Telecom]] (PTC.LS) and [[Telefonica]] (TEF.MC) |
|||
*[[Banco Comercial Português]] (MBC.LS) and [[Banco Português de Investimento]] (BPI.LS) |
|||
*[[RWE]] (RWE.DE) and [[E.ON]] (EOAN.DE) |
|||
*[[BHP]] Billiton Limited (BHP) and BHP Billiton plc (BBL) |
|||
⚫ | |||
[[File:Forecast pra rli.jpg|thumb|alt=Example of a spread forecast using an optimal ARMA model | Example of a portfolio spread forecast using an ARMA model and the associated forecast error bounds]] |
[[File:Forecast pra rli.jpg|thumb|alt=Example of a spread forecast using an optimal ARMA model | Example of a portfolio spread forecast using an ARMA model and the associated forecast error bounds]] |
||
While it is commonly agreed that ''individual'' stock prices are difficult to forecast, there is evidence suggesting that it may be possible to forecast the price—the spread series—of certain stock ''portfolios''. A common way to attempt this is by constructing the portfolio such that the spread series is a [[stationary process]]. To achieve spread stationarity in the context of pairs trading, where the portfolios only consist of two stocks, one can attempt to find a [[cointegration]] irregularities between the two stock price series who generally show stationary correlation. This irregularity is assumed to be bridged soon and forecasts are made in the opposite nature of the irregularity.<ref>C. Alexander: "Market Models: A Guide to Financial Data Analysis". Wiley, 2001.</ref><ref>{{cite web | url=http://www.bullmenbinary.com/r107_co-integration-trading-strategy | title=Co-integration Trading Strategy | publisher=Bullmen Binary | |
While it is commonly agreed that ''individual'' stock prices are difficult to forecast, there is evidence suggesting that it may be possible to forecast the price—the spread series—of certain stock ''portfolios''. A common way to attempt this is by constructing the portfolio such that the spread series is a [[stationary process]]. To achieve spread stationarity in the context of pairs trading, where the portfolios only consist of two stocks, one can attempt to find a [[cointegration]] irregularities between the two stock price series who generally show stationary correlation. This irregularity is assumed to be bridged soon and forecasts are made in the opposite nature of the irregularity.<ref>C. Alexander: "Market Models: A Guide to Financial Data Analysis". Wiley, 2001.</ref><ref>{{cite web | url=http://www.bullmenbinary.com/r107_co-integration-trading-strategy | title=Co-integration Trading Strategy | publisher=Bullmen Binary | access-date=20 January 2015}}</ref> This would then allow for combining them into a portfolio with a stationary spread series.<ref name=coint>A. D. Schmidt: "Pairs Trading - A Cointegration Approach". University of Sydney, 2008. http://ses.library.usyd.edu.au/bitstream/2123/4072/1/Thesis_Schmidt.pdf</ref> Regardless of how the portfolio is constructed, if the spread series is a stationary processes, then it can be modeled, and subsequently forecast, using techniques of [[time series analysis]]. Among those suitable for pairs trading are [[Ornstein–Uhlenbeck process|Ornstein-Uhlenbeck]] models,<ref name="Mahdavi Damghani 2013 50–61">{{cite journal|last=Mahdavi Damghani|first=Babak|year=2013|title=The Non-Misleading Value of Inferred Correlation: An Introduction to the Cointelation Model|journal=[[Wilmott (magazine)|Wilmott]]|volume=2013|issue=1|pages=50–61|doi=10.1002/wilm.10252}}</ref><ref>S. Mudchanatongsuk, J. A. Primbs and W. Wong: "Optimal Pairs Trading: A Stochastic Control Approach". Proceedings of the American Control Conference, 2008. http://www.nt.ntnu.no/users/skoge/prost/proceedings/acc08/data/papers/0479.pdf</ref> [[autoregressive moving average]] (ARMA) models<ref>G. Vidyamurthy: "Pairs trading: quantitative methods and analysis". Wiley, 2004.</ref> and (vector) [[error correction models]].<ref name=coint /> Forecastability of the portfolio spread series is useful for traders because: |
||
models with GARCH effects. Chen et al. (2017) <ref>{{cite journal|last1=Chen|first1=C.W.S.|last2=Wang|first2=Z.|last3=Sriboonchitta|first3=S.|last4=Lee|first4=S.|title=Pair trading based on quantile forecasting of smooth transition GARCH models|journal=the North American Journal of Economics and Finance|volume=39|pages=38-55|url=https://doi.org/10.1016/j.najef.2016.10.015}}</ref> utilize smooth transition GARCH models with a second-order logistic function to generate trading entry and exit signals and suggest two pair trading strategies: the first uses the upper and lower threshold values in the proposed model as trading entry and exit signals, while the second strategy instead takes one-step-ahead quantile forecasts obtained from the same model. Forecastability of the portfolio spread series is useful for traders because: |
|||
# The spread can be directly traded by buying and selling the stocks in the portfolio, and |
# The spread can be directly traded by buying and selling the stocks in the portfolio, and |
||
# The forecast and its error bounds (given by the model) yield an estimate of the return and risk associated with the trade. |
# The forecast and its error bounds (given by the model) yield an estimate of the return and risk associated with the trade. |
||
The success of pairs trading depends heavily on the modeling and forecasting of the spread time series.<ref>"A New Approach to Modeling and Estimation for Pairs Trading". Monash University, Working Paper. http://www.finanzaonline.com/forum/attachments/econometria-e-modelli-di-trading-operativo/1048428d1238757908-spread-e-pair-trading-pairstrading_binhdo.pdf</ref> Comprehensive empirical studies on pairs trading have investigated its profitability over the long-term in the US market using the distance method, co-integration, and copulas. They have found that the distance and co-integration methods result in significant alphas and similar performance, but their profits have decreased over time. Copula pairs trading strategies result in more stable but smaller profits.<ref>{{Cite journal| |
The success of pairs trading depends heavily on the modeling and forecasting of the spread time series.<ref>"A New Approach to Modeling and Estimation for Pairs Trading". Monash University, Working Paper. http://www.finanzaonline.com/forum/attachments/econometria-e-modelli-di-trading-operativo/1048428d1238757908-spread-e-pair-trading-pairstrading_binhdo.pdf</ref> Comprehensive empirical studies on pairs trading have investigated its profitability over the long-term in the US market using the distance method, co-integration, and copulas. They have found that the distance and co-integration methods result in significant alphas and similar performance, but their profits have decreased over time. Copula pairs trading strategies result in more stable but smaller profits.<ref>{{Cite journal|last1=Rad|first1=Hossein|last2=Low|first2=Rand Kwong Yew|last3=Faff|first3=Robert|date=2016-04-27|title=The profitability of pairs trading strategies: distance, cointegration and copula methods|journal=Quantitative Finance|volume=16|issue=10|pages=1541–1558|doi=10.1080/14697688.2016.1164337|s2cid=219717488 |issn=1469-7688}}</ref> |
||
== Algorithmic pairs trading == |
|||
⚫ | Today, pairs trading is often conducted using [[Algorithmic trading|algorithmic trading strategies]] on an [[execution management system]]. These strategies are typically built around models that define the spread based on historical data mining and analysis. The algorithm monitors for deviations in price, automatically buying and selling to capitalize on market inefficiencies. The advantage in terms of reaction time allows traders to take advantage of tighter spreads. |
||
==Market neutrality== |
==Market neutrality== |
||
Line 41: | Line 28: | ||
*Pairs trade is a [[Mean reversion (finance)|mean-reverting]] strategy, betting that the prices will eventually revert to their historical trends. |
*Pairs trade is a [[Mean reversion (finance)|mean-reverting]] strategy, betting that the prices will eventually revert to their historical trends. |
||
*Pairs trade is a substantially self-funding strategy, since the short sale proceeds may be used to create the long position. |
*Pairs trade is a substantially self-funding strategy, since the short sale proceeds may be used to create the long position. |
||
==Algorithmic pairs trading== |
|||
⚫ | Today, pairs trading is often conducted using [[Algorithmic trading|algorithmic trading strategies]] on an [[execution management system]]. These strategies are typically built around models that define the spread based on historical data mining and analysis. The algorithm monitors for deviations in price, automatically buying and selling to capitalize on market inefficiencies. The advantage in terms of reaction time allows traders to take advantage of tighter spreads. |
||
==Drift and risk management== |
==Drift and risk management== |
||
Line 49: | Line 33: | ||
Some other risks include: |
Some other risks include: |
||
*In ‘market-neutral’ strategies, you are assuming that the CAPM model is valid and that beta is a correct estimate of [[systematic risk]]—if this is not the case, your hedge may not properly protect you in the event of a shift in the markets. Note there are other theories on how to estimate market risk—such as the Fama-French Factors. |
*In ‘market-neutral’ strategies, you are assuming that the [[Capital asset pricing model|CAPM]] model is valid and that [[Beta coefficient|beta]] is a correct estimate of [[systematic risk]]—if this is not the case, your hedge may not properly protect you in the event of a shift in the markets. Note there are other theories on how to estimate market risk—such as the Fama-French Factors. |
||
*Measures of market risk, such as |
*Measures of market risk, such as beta, are historical and could be very different in the future than they have been in the past. |
||
*If you are implementing a mean reversion strategy, you are assuming that the mean will remain the same in the future as it has been in the past. When the means change, it is sometimes referred to as ‘drift’. |
*If you are implementing a mean reversion strategy, you are assuming that the mean will remain the same in the future as it has been in the past. When the means change, it is sometimes referred to as ‘drift’. |
||
⚫ | |||
⚫ | Pepsi (PEP) and Coca-Cola (KO) are different companies that create a similar product, soda pop. Historically, the two companies have shared similar dips and highs, depending on the soda pop market. If the price of Coca-Cola were to go up a significant amount while Pepsi stayed the same, a pairs trader would buy Pepsi stock and sell Coca-Cola stock, assuming that the two companies would later return to their historical balance point. If the price of Pepsi rose to close that gap in price, the trader would make money on the Pepsi stock, while if the price of Coca-Cola fell, they would make money on having shorted the Coca-Cola stock. |
||
⚫ | |||
== See also == |
|||
*[[Convergence trade]] |
|||
*[[Johansen test]] |
|||
==References== |
==References== |
||
Line 58: | Line 51: | ||
{{stock market}} |
{{stock market}} |
||
{{DEFAULTSORT:Pairs Trade}} |
|||
[[Category:Investment]] |
[[Category:Investment]] |
||
[[Category:Arbitrage]] |
|||
[[pt:Long & Short]] |
[[pt:Long & Short]] |
Latest revision as of 13:25, 2 February 2024
This article may be too technical for most readers to understand.(November 2012) |
A pairs trade or pair trading is a market neutral trading strategy enabling traders to profit from virtually any market conditions: uptrend, downtrend, or sideways movement. This strategy is categorized as a statistical arbitrage and convergence trading strategy.[1] Pair trading was pioneered by Gerry Bamberger and later led by Nunzio Tartaglia's quantitative group at Morgan Stanley in the 1980s.[2]
The strategy monitors performance of two historically correlated securities. When the correlation between the two securities temporarily weakens, i.e. one stock moves up while the other moves down, the pairs trade would be to short the outperforming stock and to long the underperforming one, betting that the "spread" between the two would eventually converge.[3] The divergence within a pair can be caused by temporary supply/demand changes, large buy/sell orders for one security, reaction for important news about one of the companies, and so on.
Pairs trading strategy demands good position sizing, market timing, and decision making skill. Although the strategy does not have much downside risk, there is a scarcity of opportunities, and, for profiting, the trader must be one of the first to capitalize on the opportunity.
A notable pairs trader was hedge fund Long-Term Capital Management;[4] see Dual-listed companies.
Model-based pairs trading
[edit]While it is commonly agreed that individual stock prices are difficult to forecast, there is evidence suggesting that it may be possible to forecast the price—the spread series—of certain stock portfolios. A common way to attempt this is by constructing the portfolio such that the spread series is a stationary process. To achieve spread stationarity in the context of pairs trading, where the portfolios only consist of two stocks, one can attempt to find a cointegration irregularities between the two stock price series who generally show stationary correlation. This irregularity is assumed to be bridged soon and forecasts are made in the opposite nature of the irregularity.[5][6] This would then allow for combining them into a portfolio with a stationary spread series.[7] Regardless of how the portfolio is constructed, if the spread series is a stationary processes, then it can be modeled, and subsequently forecast, using techniques of time series analysis. Among those suitable for pairs trading are Ornstein-Uhlenbeck models,[8][9] autoregressive moving average (ARMA) models[10] and (vector) error correction models.[7] Forecastability of the portfolio spread series is useful for traders because:
- The spread can be directly traded by buying and selling the stocks in the portfolio, and
- The forecast and its error bounds (given by the model) yield an estimate of the return and risk associated with the trade.
The success of pairs trading depends heavily on the modeling and forecasting of the spread time series.[11] Comprehensive empirical studies on pairs trading have investigated its profitability over the long-term in the US market using the distance method, co-integration, and copulas. They have found that the distance and co-integration methods result in significant alphas and similar performance, but their profits have decreased over time. Copula pairs trading strategies result in more stable but smaller profits.[12]
Algorithmic pairs trading
[edit]Today, pairs trading is often conducted using algorithmic trading strategies on an execution management system. These strategies are typically built around models that define the spread based on historical data mining and analysis. The algorithm monitors for deviations in price, automatically buying and selling to capitalize on market inefficiencies. The advantage in terms of reaction time allows traders to take advantage of tighter spreads.
Market neutrality
[edit]- The pairs trade helps to hedge sector- and market-risk. For example, if the whole market crashes, and the two stocks plummet along with it, the trade should result in a gain on the short position and a negating loss on the long position, leaving the profit close to zero in spite of the large move.
- Pairs trade is a mean-reverting strategy, betting that the prices will eventually revert to their historical trends.
- Pairs trade is a substantially self-funding strategy, since the short sale proceeds may be used to create the long position.
Drift and risk management
[edit]Trading pairs is not a risk-free strategy. The difficulty comes when prices of the two securities begin to drift apart, i.e. the spread begins to trend instead of reverting to the original mean. Dealing with such adverse situations requires strict risk management rules, which have the trader exit an unprofitable trade as soon as the original setup—a bet for reversion to the mean—has been invalidated. This can be achieved, for example, by forecasting the spread and exiting at forecast error bounds. A common way to model, and forecast, the spread for risk management purposes is by using autoregressive moving average models.
Some other risks include:
- In ‘market-neutral’ strategies, you are assuming that the CAPM model is valid and that beta is a correct estimate of systematic risk—if this is not the case, your hedge may not properly protect you in the event of a shift in the markets. Note there are other theories on how to estimate market risk—such as the Fama-French Factors.
- Measures of market risk, such as beta, are historical and could be very different in the future than they have been in the past.
- If you are implementing a mean reversion strategy, you are assuming that the mean will remain the same in the future as it has been in the past. When the means change, it is sometimes referred to as ‘drift’.
A simplified example
[edit]Pepsi (PEP) and Coca-Cola (KO) are different companies that create a similar product, soda pop. Historically, the two companies have shared similar dips and highs, depending on the soda pop market. If the price of Coca-Cola were to go up a significant amount while Pepsi stayed the same, a pairs trader would buy Pepsi stock and sell Coca-Cola stock, assuming that the two companies would later return to their historical balance point. If the price of Pepsi rose to close that gap in price, the trader would make money on the Pepsi stock, while if the price of Coca-Cola fell, they would make money on having shorted the Coca-Cola stock.
The reason for the deviated stock to come back to original value is itself an assumption. It is assumed that the pair will have similar business performance as in the past during the holding period of the stock.
See also
[edit]References
[edit]- ^ Kanamura, Takashi; Rachev, Svetlozar; Fabozzi, FranK (5 July 2008). "The Application of Pairs Trading to Energy Futures Markets" (PDF). Karlsruhe Institute of Technology. Archived from the original (PDF) on 2013-02-05. Retrieved 20 January 2015.
- ^ Bookstaber, Richard. A Demon Of Our Own Design, p. 186. Wiley, 2006.
- ^ "Lecture 23: Pairs Trading" (PDF).
- ^ Lowenstein, Roger (2000). When genius failed : the rise and fall of Long-Term Capital Management (1 ed.). New York: Random House. ISBN 978-0-375-50317-7.
- ^ C. Alexander: "Market Models: A Guide to Financial Data Analysis". Wiley, 2001.
- ^ "Co-integration Trading Strategy". Bullmen Binary. Retrieved 20 January 2015.
- ^ a b A. D. Schmidt: "Pairs Trading - A Cointegration Approach". University of Sydney, 2008. http://ses.library.usyd.edu.au/bitstream/2123/4072/1/Thesis_Schmidt.pdf
- ^ Mahdavi Damghani, Babak (2013). "The Non-Misleading Value of Inferred Correlation: An Introduction to the Cointelation Model". Wilmott. 2013 (1): 50–61. doi:10.1002/wilm.10252.
- ^ S. Mudchanatongsuk, J. A. Primbs and W. Wong: "Optimal Pairs Trading: A Stochastic Control Approach". Proceedings of the American Control Conference, 2008. http://www.nt.ntnu.no/users/skoge/prost/proceedings/acc08/data/papers/0479.pdf
- ^ G. Vidyamurthy: "Pairs trading: quantitative methods and analysis". Wiley, 2004.
- ^ "A New Approach to Modeling and Estimation for Pairs Trading". Monash University, Working Paper. http://www.finanzaonline.com/forum/attachments/econometria-e-modelli-di-trading-operativo/1048428d1238757908-spread-e-pair-trading-pairstrading_binhdo.pdf
- ^ Rad, Hossein; Low, Rand Kwong Yew; Faff, Robert (2016-04-27). "The profitability of pairs trading strategies: distance, cointegration and copula methods". Quantitative Finance. 16 (10): 1541–1558. doi:10.1080/14697688.2016.1164337. ISSN 1469-7688. S2CID 219717488.