Lecture 23: Pairs Trading Steven Skiena. http://www.cs.sunysb.edu/ skiena



Similar documents
Lecture 24: Market Microstructure Steven Skiena. skiena

Lecture 6: Portfolios with Stock Options Steven Skiena. skiena

Exchange-Traded Funds

Lecture Two Essentials of Trading. Andy Bower

Algorithmic Trading Session 1 Introduction. Oliver Steinki, CFA, FRM

Futures Price d,f $ 0.65 = (1.05) (1.04)

Lecture 7: Bounds on Options Prices Steven Skiena. skiena

Pair Trading with Options

Stock Market -Trading and market participants

Pair Trading Educational Course Part 1

Purpose of Selling Stocks Short JANUARY 2007 NUMBER 5

Factors Affecting Option Prices

THE POWER OF FOREX OPTIONS

Some Quantitative Issues in Pairs Trading

Pairs Trading: A Professional Approach. Russell Wojcik Illinois Institute of Technology

OIC Options on ETFs

What is Equity Linked Note

CHAPTER 22: FUTURES MARKETS

Pairs Trading: Performance of a Relative-Value Arbitrage Rule

IntroductIon to commsec cfds

Stock market simulation with ambient variables and multiple agents

Learn about exchange-traded funds. Investor education

Short Selling Tutorial

High Frequency Equity Pairs Trading: Transaction Costs, Speed of Execution and Patterns in Returns

Introduction to Futures Contracts

EVALUATION OF THE PAIRS TRADING STRATEGY IN THE CANADIAN MARKET

Stock Market Dashboard Back-Test October 29, 1998 March 29, 2010 Revised 2010 Leslie N. Masonson

Understanding ETF Liquidity

Layman s Guide to Pair trading

Fin 3710 Investment Analysis Professor Rui Yao CHAPTER 14: OPTIONS MARKETS

CHAPTER 22: FUTURES MARKETS

Client Education. Learn About Exchange-Traded Funds

An Option In the security market, an option gives the holder the right to buy or sell a stock (or index of stocks) at a specified price ( strike

General Forex Glossary

Options Pricing. This is sometimes referred to as the intrinsic value of the option.

SAMPLE MID-TERM QUESTIONS

FREQUENTLY ASKED QUESTIONS March 2015

Performance of pairs trading on the S&P 500 index

Investing In Volatility

2. How is a fund manager motivated to behave with this type of renumeration package?

BUSM 411: Derivatives and Fixed Income

Options. Moty Katzman. September 19, 2014

Financial Markets and Institutions Abridged 10 th Edition

Answers to Concepts in Review

Nine Questions Every ETF Investor Should Ask Before Investing

Trading Education. July The Five Key Elements of CFD Trading. The Five Key Elements of CFD Trading INTRODUCTION

Fundamentals of Futures and Options (a summary)

Terminology of Convertable Bonds

Chapter 21 Valuing Options

Hedging. An Undergraduate Introduction to Financial Mathematics. J. Robert Buchanan. J. Robert Buchanan Hedging

Pricing and Strategy for Muni BMA Swaps

Tilted Portfolios, Hedge Funds, and Portable Alpha

Determination of Forward and Futures Prices

About Hedge Funds. What is a Hedge Fund?

Spread Betting for Dividends Guide

9 Questions Every Australian Investor Should Ask Before Investing in an Exchange Traded Fund (ETF)

Basic Strategies for Stocks

Best ETF Trading Practices

How to Pick the Right IBD 50 Stocks to Buy Thursday, October 9 th, 2014s

Fixed Income Arbitrage

Overlapping ETF: Pair trading between two gold stocks

FIN 432 Investment Analysis and Management Review Notes for Midterm Exam

PUTS AND CALLS FOR THE CONSERVATIVE INVESTOR Common Sense Strategies

CHAPTER 8: TRADING STRATEGES INVOLVING OPTIONS

FIN FINANCIAL INSTRUMENTS SPRING 2008

BASKET A collection of securities. The underlying securities within an ETF are often collectively referred to as a basket

Commodity Trading Advisors. AQF 2005 Nicolas Papageorgiou

The Merits of Absolute Return Quantitative Investment Strategies

Option Values. Option Valuation. Call Option Value before Expiration. Determinants of Call Option Values

Single Stock Futures ( SSF ) Simple and constant gearing

Brief Overview of Futures and Options in Risk Management

For example, someone paid $3.67 per share (or $367 plus fees total) for the right to buy 100 shares of IBM for $180 on or before November 18, 2011

Lecture 12. Options Strategies

CHAPTER 20: OPTIONS MARKETS: INTRODUCTION

Trading CFDs with Trader Dealer ABN (AFSL NO )

CONTRACTS FOR DIFFERENCE

Underneath the Hood of Fixed Income ETFs: Primary and Secondary Market Dynamics

Modernizing Portfolio Theory & The Liquid Endowment UMA

Margin Requirements & Margin Calls

Portfolio Management for institutional investors

A Pared-Down Approach to Stock Picking. That is Market-Neutral and Results-Driven

Exchange Traded Funds. Plain Talk Library

Put ETFs to work for your clients

Exchange Traded Funds A Brief Introduction

Getting Started in Stock Market

A Study of Pairs Trading in the Hong Kong Stock Market: 0005.HK & 0011.HK

ELECTRONIC TRADING GLOSSARY

9 Questions Every ETF Investor Should Ask Before Investing

Steve Meizinger. FX Options Pricing, what does it Mean?

Algorithmic Trading Session 6 Trade Signal Generation IV Momentum Strategies. Oliver Steinki, CFA, FRM

To Cope with Stress? DEMONS of Traders DEMONS. The Mysteries of the Trend Using the Opening Price. The Thought

SAVI TRADING 2 KEY TERMS AND TYPES OF ORDERS. SaviTrading LLP 2013

How to Win the Stock Market Game

Session X: Lecturer: Dr. Jose Olmo. Module: Economics of Financial Markets. MSc. Financial Economics. Department of Economics, City University, London

Volatility Dispersion Presentation for the CBOE Risk Management Conference

Introduction. Part IV: Option Fundamentals. Derivatives & Risk Management. The Nature of Derivatives. Definitions. Options. Main themes Options

Transcription:

Lecture 23: Pairs Trading Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena

Pairs Trading This strategy was pioneered by Nunzio Tartaglia s quant group at Morgan Stanley in the 1980 s. It remains an important statistical arbitrage technique used by hedge funds. They found that certain securities were correlated in their day-to-day price movements. When a well established price correlation between A and B broke down, i.e. stock A traded up while B traded down, they would sell A and buy B, betting that the spread would eventually converge. This divergence between pairs may be caused by temporary supply/demand changes, when a single large investor changes position in a single security.

Potentially Correlated Pairs Coca-Cola (KO) and Pepsi (PEP) Wal-Mart (WMT) and Target Corporation (TGT) Dell (DELL) and Hewlett-Packard (HPQ) Ford (F) and General Motors (GM) Highly-correlated pairs often (but not always) come from the same sector because they face similar systematic risks.

Advantages of Pair Trading: Market Neutrality The pairs trade helps to hedge sector- and market-risk. If the market or sector crashes, you should experience a gain on the short position and a negating loss on the long position, leaving your profit close to zero in spite of the large move. In a pairs trade, you bet on the direction of the stocks relative to each other. Trading strategies which are independent of market movements are said to be market neutral. Pairs trading is a mean-reverting strategy, assuming that prices will revert to historical trends. Pairs trading is largely self-funding, since the short sale returns can be used to buy the long position.

Dangers of Pair Trading: News Reaction The increased divergence between two stocks can be a rational response to news about one of the companies. Transaction costs (e.g. commissions, bid-ask spreads) can eat up the theoretical returns in such an active strategy. Pairs trading became less advantagous as more groups started doing it. Hedge funds use algorithmic trading strategies that monitor for deviations in price, automatically buying and selling to capitalize on market inefficiencies. Such program trading requires fast reaction/execution time to take advantage of tighter spreads before other groups can.

Identifying Pairs Correlation analysis can be used to identify interesting potential pairs, but beware of spurious correlation. Competing companies in the same sector make natural potential pairs. Certain companies have several classes of shares trading simultaneously (e.g. common and preferred) which should move largely in unison. Certain companies may be simultaneously traded on multiple exchanges or have international subsidiaries (e.g. Dutch and Royal Shell) A general or sector index portfolio (ETF) might be used as one component of a pair.

Example: Intel vs. SMH The price ratio is flat long term but fluctuates day to day. The trailing dip would suggest buying Intel and shorting the semiconductor index (SMH). The ratio reverting to its historical mean suggests a logical time to exit both positions.

Achieving Market Neutrality Stock A: $20 per share, Stock B: $10 per share Pairs trade: Long 100 shares of Stock A: $2,000 Short 200 shares of Stock B: $2,000 Net long/short: $0 This is a true market-neutral position: Scenario 1: Both stocks rise 50 percent: Stock A: $30 Stock B: $15 Scenario 2: Both stocks fall 50 percent: Stock A: $10 Stock B: $5

Example: Wells Fargo vs. Washington Mutual

A Successful Pairs Trade That said, Washington Mutual has since collapsed, observed correlations do break down... so

Why Might Pairs Trading Work? Reversion to the mean requires a driving mechanism; pairs trading would not work were prices truly random walks. The Law of One Price (LOP) is the proposition that two investments with the same payoff in every state of nature must have the same current value. A strong historical correlation suggests they behave the same in a large number of states, and so should be priced the same. Another possible explanation is that changing risks of (rarely occuring) bankrupcies would cause reversion after the nonrealization of the event plays out.

Academic Studies: Gatev, Goetzmann, Rouwenhorst Pairs Trading: Performance of a Relative-Value Arbitrage Rule, The Review of Financial Studies, 19 (2006) 797-827 They tested a simple pairs trading strategy on daily data from 1962-2002. A simple trading rule yields average annualized excess returns of up to 11% for self-financing portfolios of pairs. We will look at their results as a model for a careful backtesting analysis of a trading strategy.

Strategy Specification Pairs were formed based on price correlations over a 12- month period, starting every month. Each pair was then traded (possibly multiple times) over the next six months. The pair was bought when its ratio spread was outside two standard deviations of its 12-month spread. If normally distributed, this should happen about 5% of the time.

The position is closed when the ratio returned to its historical parity, or when the given six-month period ended. Pair trades were made for $1 in each direction.

Pair Formation Stocks which did not trade on at least one day in the formation period were eliminated to ensure liquidity. A matching partner for each security was found by minimizing the squared deviations between the two normalized daily price series, where dividends were reinvested. Separate experiments were done to restrict pairs to the same industrial sector. The pairs were ranked by distance, and those within given rank traded.

Return Computation That pairs open and close at various points during the sixmonth trading period complicates evaluation of return. Pairs that open and converge will have positive cash flows; Pairs that open but do not converge will have positive or negative cash flows on the last day of the trading interval when all positions are closed out. All positions are marked-to-market daily to analyze daily returns.

What is the Denominator? To compute returns you must measure how much capital you need. They assume it costs $1 to go long and nothing up front to go short. Thus committed capital is equal to the number of pairs monitored. Employed capital is equal to the number of open positions at each time, and thus less than committed capital. Employed capital makes sense if the uninvested money can used elsewhere in the hedge fund.

Results Pairs portfolio Top 5 Top 20 101 to 120 All Avg. monthly return 0.01308 0.01436 0.01081 0.01104 Return on committed capital 0.00784 0.00805 0.00679 0.00614 Avg. monthly return (1 day delay) 0.00745 0.00895 0.00795 0.00715 Return on committed capital 0.00463 0.00520 0.00503 0.00396 Performance is sensitive to execution time or bid/ask spread and denominator. Performance is relatively insensitive to which pairs are used. Much of the return disappears when trading one day after optimal, which was studied to capture some aspect of transaction costs.

Trading Statistics Pairs portfolio Top 5 Top 20 101120 All Average price deviation trigger 0.04758 0.05284 0.07560 0.16888 Average pairs traded per period 4.81 19.30 19.41 1944.22 Average round-trip trades per pair 2.02 1.96 1.78 1.62 Average time pairs are open 3.75 3.76 3.98 3.97 Average weight of stocks in top five size deciles 0.91 0.91 0.79 0.62 Average weight of pairs from different deciles 0.66 0.69 0.75 0.82 Utilities 0.72 0.71 0.32 0.08 Transportation 0.02 0.02 0.02 0.03 Financials 0.11 0.13 0.26 0.16 Industrials 0.15 0.14 0.40 0.73 Mixed sector pairs 0.20 0.22 0.44 0.33 The most highly correlated pairs provided little potential return (4.76%), because two σ represents a small absolute spread. Returns from randomly selected pairs were negative, so the initial correlation was important.

Most of the returns came from the short position, the effect is not simple mean reversion or reward for unrealized bankrupcy risk. Most pairs occurred within a sector because the systematic risk is so highly correlated. Certain sectors (particularly utilities) generated highercorrelated pairs.

Monthly Returns Returns are positive and quite regular, but become smaller and more volitile after the pairs trading became a popular strategy. Of the $137 billion in hedge fund assets in 2000, $119 billion were employed in market neutral strategies.

Pairs Trading: Conclusions Pairs trading is an important type of statistical arbitrage technique. There is good theoretical, experimental and practical experience that it can be a profitable strategy. Such strategies become much harder to employ once they become popular; hedge funds deploy them on a massive scale as part of algorithmic trading systems. The original Morgan Stanley group was initially extremely profitable but disbanded with losses only a few years later.

Types of Buy/Sell Orders Brokers can typically perform the following buy/sell orders for exchange traded assets: Market orders request the trade happen immediately at the best current price. Limit orders demand a given or better price at which to buy or sell the asset. Nothing happens unless a matching buyer or seller is found. Stop or stop-loss order becomes a market order when a given price is reached by the market on the downside. This enables an investor to minimize their losses in a

market reversal, but does not guarantee them the given price. Market-if-Touched order (MIT) becomes a market order when a given price is reached by the market on the upside. This enables an investor to take profits when they are available, but does not guarantee them the given price. The volume and distribution of stop and limit orders in principle contains information about future price movements. Theory argues against making such orders as giving away an option for no payoff, however, such orders are useful particularly for modest-sized investments.