Wed06192013

Last update12:00:00 AM

BackHomeS&C MagazineCurrent ContentsAt The Close Pair Trading And Chart Construction

Pair Trading And Chart Construction

In this, the second part of this series, find out how to construct a spreadsheet to help reveal profitable opportunities in pair trades.

In the first part of this series, I explained that pair trading is classified as a market-neutral strategy, where you are not concerned with market direction, up or down. The idea, I asserted, is to exploit temporary price discrepancies in two (or more) securities by simultaneously going long the outperforming security and going short the underperforming security. I looked at how to enter stock data and the formulas to calculate returns, cumulative returns, regression residuals, and the formulas to transform the calculations for use as chart inputs.

Image 1

FIGURE 1: EXCEL SPREADSHEET. The spreadsheet needs to have all the necessary data entered to further analyze your pairs.

This time, we will complete the Excel spreadsheet for identifying the mean reversion (comovement) characteristic of a spread in a pair of stocks. Here’s how:

Step 1
Plot cumulative return residuals. The first chart to create is an XY scatter chart of the residual data in columns K and M. Figure 1 displays the spreadsheet, but please refer to my previous article for a detailed description of how to create this spreadsheet. Enter these ranges in an XY scatterplot B:

X values =Sheet1!$K$10:$K$118 
Y values =Sheet1!$M$10:$M$118

You will need to add a trendline to the residual data points and select the “display R-squared value.” The finished chart will look like what you see in Figure 2.

…Continued in the May issue of Technical Analysis ofStocks & Commodities

Excerpted from an article originally published in the May 2012 issue of Technical Analysis ofStocks & Commodities magazine. All rights reserved. © Copyright 2012, Technical Analysis, Inc.


To read the entire issue click here and subscribe today!

PTSK — The Professional Traders' Starter Kit
Home| Working Money Magazine | S&C Magazine | Traders.com Advantage | Online Store | Traders’ Resource
Add a Product to Traders’ Resource | Message Boards | Subscribe/Renew | Free Trial Issue | Article Code | Search

DEPARTMENTS: Advertising | Editorial | Circulation | Employment | Contact Us | BY PHONE: (206) 938-0570

Join us on Facebook     Follow us on Twitter     Follow Us on StockTwits

Bookmark and ShareCopyright © 1996-2013 Technical Analysis, Inc. All rights reserved. Read our disclaimer & privacy statement.

SUBSCRIBE TO OUR FREE
EMAIL NEWSLETTER!