SlideShare a Scribd company logo
1 of 19
PAIRS TRADING MODEL
                Mathematical Framework &
                 Software Implementation




Eren Ocakverdi
Head of Analytical Modeling                  January, 2012
                              1
                                  E-mail:
                                  eren.ocakverdi@ykyatirim.com.tr
Disclaimer

• Pairs trading investments (or transactions) involve significant risk and volatility and may not be suitable for
everyone. Readers/Users must make their own investing and trading decisions using their own independent
advisors as they believe necessary and based upon their specific objectives and financial situation. When doing
so, readers/users should be sure to make their own assessment of risks inherent to their investment decisions.

• This document is prepared for purely informative purposes. All information enclosed in this document has been
obtained from sources believed to be reliable and accurate but which without further investigation cannot be
warranted as to their accuracy or completeness. There may also appear opinions which are of non-factual nature
and subject to change without notice for which Yapı Kredi Yatırım Menkul Değerler A.Ş. cannot be held
responsible. This document and its contents (including the add-in developed) are provided solely for the
recipient(s), who is/are expected to make their own investment decisions without undue reliance on any
information contained in this document or generated via the analysis tool it mentions (the add-in). In no
circumstances should any information contained herein (and/or generated via the use of add-in) be used or
considered as an offer to sell or a solicitation of any offer to buy the securities or commodities mentioned. Any of
the directors, officers or employees of Yapı Kredi Yatırım Menkul Değerler A.Ş. or of their affiliates may serve as a
director for companies mentioned in this document. From time to time, Yapı Kredi Yatırım Menkul Değerler A.Ş.
and any of its directors, officers, employees or representatives, directly or indirectly, may have positions or
otherwise be interested in any transactions, in any securities, or in any commodities mentioned. The views and
opinions expressed in this document belong to the members of the Research Team of Yapı Kredi Yatırım Menkul
Değerler A.Ş. and do not represent views and opinions of the Yapı Kredi Yatırım Menkul Değerler A.Ş.
management. It is possible that individuals employed by Yapı Kredi Yatırım Menkul Değerler A.Ş. elsewhere or
affiliates of Yapı Kredi Yatırım Menkul Değerler A.Ş. may disagree with the recommendations or opinions in this
document. Yapı Kredi Yatırım Menkul Değerler A.Ş. or their affiliates may, from time to time, perform investment
banking or other services for, or solicit investment banking or other business from, any company mentioned in
this document. This document may not be, reproduced, published or distributed by any person for any purpose
without the written consent of the author. Please cite source when quoting.
                                                             2
What you should expect from the Model?

The model;

• does not include any formal pair selection algorithm.

• requires pairs to be explicitly supplied.

• tests or verifies if the specified pairs are statistically valid.

• produces trading signals only for evaluation purposes.

• does not generate any kind of trading strategies or suggestions.

• aims to provide further insight into the pairs trading opportunities.

• should be supported by other assessment techniques.

• should only be considered as a decision support tool.
                                        3
Methods used in the Model

The model offers four different methods for the analysis of spread:
   • Normalized differences
   • Cointegration
   • Stochastic Spread
   • Time Varying Mean Reversion

And two different methods for the calculation of confidence bands:
   • Fixed
   • Varying (i.e. moving average)

Since all these methods are data dependent, the selection of period
for the analysis is of crucial importance!
                                     4
Normalized difference

Series are normalized as:




And then the spread is calculated as:



The model produces a trading signal if:



where Δ is a prespecified threshold value.

                                   5
Cointegration

An error correction representation can be written as follows:




The spread can be considered as the long term equilibrium:



The model produces a trading signal if:



where Δ is a prespecified threshold value.

                                    6
Stochastic Spread*

 The model, as specified in Elliot et. al. (2005), is like the following:




 The spread here is defined as:



 The model produces a trading signal if:



where Δ is a prespecified threshold value.
* Robert J. Elliott, John Van Der Hoek & William P. Malcolm (2005): Pairs trading,
Quantitative Finance, Vol. 5(3), pp. 271-276
                                              7
Time Varying Mean Reversion*

 The model can be specified as follows:




 The spread here is defined as:


 The model produces a trading signal if:



where Δ is a prespecified threshold value.
* Eren Ocakverdi (2011): A Simple Pairs Trading Strategy for ISE30, Yapi Kredi Occasional
Macro Notes, May 2, 2011.
                                             8
Additional Output

 Gregory-Hansen procedure1 is a formal test that investigates the
 existence of cointegration relationship in the presence of an
 unknown structural break, which is endogenously identified.

 Dynamic conditional correlation2 is a nonlinear model of time
 varying correlation within a multivariate framework.



1 Gregory, A. W. and Hansen, B. E. (1996). "Residual-Based Tests for Cointegration in
Models with Regime Shifts", Journal of Econometrics, Vol. 70, pp. 99-126.
2 Engle, R. (2002). Dynamic Conditional Correlation: A Simple Class of Multivariate
Generalized Autoregressive Conditional Heteroskedasticity Models," Journal of Business
& Economic Statistics, American Statistical Association, Vol. 20(3), pp. 339-50
                                              9
Software Implementation

• Heavy computational burden of the methods used requires a
specialized software.

• The software should have advanced statistical and/or econometric
features.

• Ability to handle complex data structures and to easily exchange
data with other programs (e.g. Excel) and databases is important.

• We prefer to use EViews, since it also has an Add-in infrastructure
that provides easy access to user-defined programs.

• All methods are built and analyzed via EViews’ estimation and/or
programming features.

• An Add-in is developed to allow the user to quickly perform and
repeat all the analyses.
                                    10
Add-in Interface*




* EViews version 7.1 or later is required to install and run the Add-in.
                                              11
Example




Note: The Add-in can be run with default settings as long as valid pairs are supplied.
                                             12
Sample Output (e.g. cointegration)




                         13
Sample Output (e.g. time varying mean reversion)




                         14
Sample Output (e.g. Gregory-Hansen Test)




Significant (highlighted) break points are also drawn in the related graphs as dashed lines.
                                               15
Sample Output (e.g. Dynamic Conditional Correl.)




                         16
A few remarks on summary results

• Although the analysis is designed to generate an output in any
case, there is no guarantee that all the results will be meaningful.

• Some methods impose strict functional forms, which may lead to
infeasible/incorrect results if the assumptions do not hold.

• Some methods, on the other hand, rely on more complex analyses
and may therefore experience estimation problems.

• Charts and warning messages in the tables will be helpful in
identifying the source of the problem.

• Much of the statistical output generated during the estimation
process is intentionally left outside the scope of the summary report.

• The summary report, as an analytic tool, seeks to reflect the trade-
offs among flexibility, customization, ease of use and capability.
                                     17
Final word on the Add-in

• This add-in demonstrates that how economic concepts and/or
econometric techniques can be useful in financial decision making
(i.e. trading) and that how EViews can effectively handle the whole
process.

• A restricted and a slightly less sophisticated version of the original
add-in can be downladed at Eviews’ website:

 http://www.eviews.com

• Or directly from the following link:

 http://www.eviews.com/Addins/pairstrade.aipz




                                         18
Essentially, all models are wrong, but some are useful.

                            George Edward Pelham Box

More Related Content

What's hot

"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob..."Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...Quantopian
 
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016Quantopian
 
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe..."Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...Quantopian
 
Local and Stochastic volatility
Local and Stochastic volatilityLocal and Stochastic volatility
Local and Stochastic volatilitySwati Mital
 
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an..."Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...Quantopian
 
Technical analysis doc
Technical analysis doc Technical analysis doc
Technical analysis doc Babasab Patil
 
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin..."Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...Quantopian
 
Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...
Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...
Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...Quantopian
 
Algorithmic Trading: an Overview
Algorithmic Trading: an Overview Algorithmic Trading: an Overview
Algorithmic Trading: an Overview EXANTE
 
Introduction To Technical Analysis
Introduction To Technical AnalysisIntroduction To Technical Analysis
Introduction To Technical AnalysisTrilok Hg
 
Options Presentation Introduction to Corporate Finance
Options Presentation Introduction to Corporate FinanceOptions Presentation Introduction to Corporate Finance
Options Presentation Introduction to Corporate Financemuratcoskun
 
Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Quantopian
 
DIY Quant Strategies on Quantopian
DIY Quant Strategies on QuantopianDIY Quant Strategies on Quantopian
DIY Quant Strategies on QuantopianJess Stauth
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Quantopian
 
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ..."Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...Quantopian
 
Volatility Trading - Hedge Fund Strategies
Volatility Trading - Hedge Fund StrategiesVolatility Trading - Hedge Fund Strategies
Volatility Trading - Hedge Fund StrategiesHedge Fund South Africa
 

What's hot (20)

"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob..."Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
 
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016
 
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe..."Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
 
Local and Stochastic volatility
Local and Stochastic volatilityLocal and Stochastic volatility
Local and Stochastic volatility
 
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an..."Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
 
Technical analysis doc
Technical analysis doc Technical analysis doc
Technical analysis doc
 
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin..."Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
 
Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...
Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...
Quantitative Trading in Eurodollar Futures Market by Edith Mandel at QuantCon...
 
Algorithmic Trading: an Overview
Algorithmic Trading: an Overview Algorithmic Trading: an Overview
Algorithmic Trading: an Overview
 
Introduction To Technical Analysis
Introduction To Technical AnalysisIntroduction To Technical Analysis
Introduction To Technical Analysis
 
Options Presentation Introduction to Corporate Finance
Options Presentation Introduction to Corporate FinanceOptions Presentation Introduction to Corporate Finance
Options Presentation Introduction to Corporate Finance
 
Algo Trading
Algo TradingAlgo Trading
Algo Trading
 
Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.
 
DIY Quant Strategies on Quantopian
DIY Quant Strategies on QuantopianDIY Quant Strategies on Quantopian
DIY Quant Strategies on Quantopian
 
Lf 2020 skew
Lf 2020 skewLf 2020 skew
Lf 2020 skew
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
 
Technical analysis
Technical analysisTechnical analysis
Technical analysis
 
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ..."Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
 
RSI Strategy
RSI StrategyRSI Strategy
RSI Strategy
 
Volatility Trading - Hedge Fund Strategies
Volatility Trading - Hedge Fund StrategiesVolatility Trading - Hedge Fund Strategies
Volatility Trading - Hedge Fund Strategies
 

Similar to Yki Pairs Trading Model (Version 2.0)

Discussion- 11. How does efficient frontier analysis (EFA) dif.docx
Discussion- 11. How does efficient frontier analysis (EFA) dif.docxDiscussion- 11. How does efficient frontier analysis (EFA) dif.docx
Discussion- 11. How does efficient frontier analysis (EFA) dif.docxmadlynplamondon
 
TOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docx
TOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docxTOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docx
TOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docxturveycharlyn
 
Stock Price Prediction Using Sentiment Analysis and Historic Data of Stock
Stock Price Prediction Using Sentiment Analysis and Historic Data of StockStock Price Prediction Using Sentiment Analysis and Historic Data of Stock
Stock Price Prediction Using Sentiment Analysis and Historic Data of StockIRJET Journal
 
C o l o r a d o S t a t e U n i v e r s i t y - P u e b l o .docx
C o l o r a d o  S t a t e  U n i v e r s i t y - P u e b l o .docxC o l o r a d o  S t a t e  U n i v e r s i t y - P u e b l o .docx
C o l o r a d o S t a t e U n i v e r s i t y - P u e b l o .docxclairbycraft
 
7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...
7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...
7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...Lucky Gods
 
Decision Tree and Tables
Decision Tree and Tables Decision Tree and Tables
Decision Tree and Tables DivyaSure
 
Fuzzy based approach for temporary objective identification
Fuzzy based approach for temporary objective identificationFuzzy based approach for temporary objective identification
Fuzzy based approach for temporary objective identificationAlexander Decker
 
11.fuzzy based approach for temporary objective identification
11.fuzzy based approach for temporary objective identification11.fuzzy based approach for temporary objective identification
11.fuzzy based approach for temporary objective identificationAlexander Decker
 
Business analyst interview questions and answers
Business analyst interview questions and answersBusiness analyst interview questions and answers
Business analyst interview questions and answersRobin G
 
2010-Tokyo-EBIG-Schrager-Semagin
2010-Tokyo-EBIG-Schrager-Semagin2010-Tokyo-EBIG-Schrager-Semagin
2010-Tokyo-EBIG-Schrager-SemaginDenys Semagin
 
Ignacio Velez-Pareja : From the Slide Rule to the Black Berry
Ignacio Velez-Pareja : From the Slide Rule to the Black BerryIgnacio Velez-Pareja : From the Slide Rule to the Black Berry
Ignacio Velez-Pareja : From the Slide Rule to the Black BerryFuturum2
 
Decision making models project
Decision making models projectDecision making models project
Decision making models projectneha singh
 
CLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATION
CLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATIONCLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATION
CLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATIONIRJET Journal
 
alteryx-for-excel-users.pdf
alteryx-for-excel-users.pdfalteryx-for-excel-users.pdf
alteryx-for-excel-users.pdfssuserc5f6dc
 
IRJET - Stock Recommendation System using Machine Learning Approache
IRJET - Stock Recommendation System using Machine Learning ApproacheIRJET - Stock Recommendation System using Machine Learning Approache
IRJET - Stock Recommendation System using Machine Learning ApproacheIRJET Journal
 
Demystifying FIG IB.pdf
Demystifying FIG IB.pdfDemystifying FIG IB.pdf
Demystifying FIG IB.pdfSevdaAliyeva8
 

Similar to Yki Pairs Trading Model (Version 2.0) (20)

KPMG_Task2.pptx
KPMG_Task2.pptxKPMG_Task2.pptx
KPMG_Task2.pptx
 
Project selection
Project selection Project selection
Project selection
 
Discussion- 11. How does efficient frontier analysis (EFA) dif.docx
Discussion- 11. How does efficient frontier analysis (EFA) dif.docxDiscussion- 11. How does efficient frontier analysis (EFA) dif.docx
Discussion- 11. How does efficient frontier analysis (EFA) dif.docx
 
TOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docx
TOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docxTOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docx
TOP 10 Forecasting models Meghan WoodsMarketing 188 Dr. .docx
 
Predictive data mining
Predictive data miningPredictive data mining
Predictive data mining
 
Stock Price Prediction Using Sentiment Analysis and Historic Data of Stock
Stock Price Prediction Using Sentiment Analysis and Historic Data of StockStock Price Prediction Using Sentiment Analysis and Historic Data of Stock
Stock Price Prediction Using Sentiment Analysis and Historic Data of Stock
 
C o l o r a d o S t a t e U n i v e r s i t y - P u e b l o .docx
C o l o r a d o  S t a t e  U n i v e r s i t y - P u e b l o .docxC o l o r a d o  S t a t e  U n i v e r s i t y - P u e b l o .docx
C o l o r a d o S t a t e U n i v e r s i t y - P u e b l o .docx
 
7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...
7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...
7 Financial Models for Analysts, Investors and Finance Professionals: Theory ...
 
Decision Tree and Tables
Decision Tree and Tables Decision Tree and Tables
Decision Tree and Tables
 
Fuzzy based approach for temporary objective identification
Fuzzy based approach for temporary objective identificationFuzzy based approach for temporary objective identification
Fuzzy based approach for temporary objective identification
 
11.fuzzy based approach for temporary objective identification
11.fuzzy based approach for temporary objective identification11.fuzzy based approach for temporary objective identification
11.fuzzy based approach for temporary objective identification
 
Business analyst interview questions and answers
Business analyst interview questions and answersBusiness analyst interview questions and answers
Business analyst interview questions and answers
 
2010-Tokyo-EBIG-Schrager-Semagin
2010-Tokyo-EBIG-Schrager-Semagin2010-Tokyo-EBIG-Schrager-Semagin
2010-Tokyo-EBIG-Schrager-Semagin
 
Ignacio Velez-Pareja : From the Slide Rule to the Black Berry
Ignacio Velez-Pareja : From the Slide Rule to the Black BerryIgnacio Velez-Pareja : From the Slide Rule to the Black Berry
Ignacio Velez-Pareja : From the Slide Rule to the Black Berry
 
Decision making models project
Decision making models projectDecision making models project
Decision making models project
 
CLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATION
CLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATIONCLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATION
CLUSTERING MODELS FOR MUTUAL FUND RECOMMENDATION
 
alteryx-for-excel-users.pdf
alteryx-for-excel-users.pdfalteryx-for-excel-users.pdf
alteryx-for-excel-users.pdf
 
IRJET - Stock Recommendation System using Machine Learning Approache
IRJET - Stock Recommendation System using Machine Learning ApproacheIRJET - Stock Recommendation System using Machine Learning Approache
IRJET - Stock Recommendation System using Machine Learning Approache
 
Risk Based Loan Approval Framework
Risk Based Loan Approval FrameworkRisk Based Loan Approval Framework
Risk Based Loan Approval Framework
 
Demystifying FIG IB.pdf
Demystifying FIG IB.pdfDemystifying FIG IB.pdf
Demystifying FIG IB.pdf
 

More from Eren Ocakverdi

Alternatif_Zaman_Serisi_Modelleri_ve_Uygulamalari
Alternatif_Zaman_Serisi_Modelleri_ve_UygulamalariAlternatif_Zaman_Serisi_Modelleri_ve_Uygulamalari
Alternatif_Zaman_Serisi_Modelleri_ve_UygulamalariEren Ocakverdi
 
Hazine Bölümü Makroekonomik Değerlendirme Sunumu
Hazine Bölümü Makroekonomik Değerlendirme SunumuHazine Bölümü Makroekonomik Değerlendirme Sunumu
Hazine Bölümü Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Piyasa Riski Bölümü Makroekonomik Değerlendirme Sunumu
Piyasa Riski Bölümü Makroekonomik Değerlendirme SunumuPiyasa Riski Bölümü Makroekonomik Değerlendirme Sunumu
Piyasa Riski Bölümü Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Yapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme SunumuYapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuKrediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
ITU Institute of Social Science
ITU Institute of Social ScienceITU Institute of Social Science
ITU Institute of Social ScienceEren Ocakverdi
 
Türkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışTürkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışEren Ocakverdi
 
Yapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme SunumuYapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Türkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışTürkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışEren Ocakverdi
 
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuHazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuKrediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuKrediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Piyasa Riski Makroekonomik Değerlendirme Sunumu
Piyasa Riski Makroekonomik Değerlendirme SunumuPiyasa Riski Makroekonomik Değerlendirme Sunumu
Piyasa Riski Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Türkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışTürkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışEren Ocakverdi
 
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuHazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuHazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuEren Ocakverdi
 
Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)Eren Ocakverdi
 
Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)Eren Ocakverdi
 
Türkiye ekonomisine makro bakış
Türkiye ekonomisine makro bakışTürkiye ekonomisine makro bakış
Türkiye ekonomisine makro bakışEren Ocakverdi
 
TURKTRADE Yönetim Kurulu Sunumu
TURKTRADE Yönetim Kurulu SunumuTURKTRADE Yönetim Kurulu Sunumu
TURKTRADE Yönetim Kurulu SunumuEren Ocakverdi
 

More from Eren Ocakverdi (20)

Alternatif_Zaman_Serisi_Modelleri_ve_Uygulamalari
Alternatif_Zaman_Serisi_Modelleri_ve_UygulamalariAlternatif_Zaman_Serisi_Modelleri_ve_Uygulamalari
Alternatif_Zaman_Serisi_Modelleri_ve_Uygulamalari
 
Hazine Bölümü Makroekonomik Değerlendirme Sunumu
Hazine Bölümü Makroekonomik Değerlendirme SunumuHazine Bölümü Makroekonomik Değerlendirme Sunumu
Hazine Bölümü Makroekonomik Değerlendirme Sunumu
 
Piyasa Riski Bölümü Makroekonomik Değerlendirme Sunumu
Piyasa Riski Bölümü Makroekonomik Değerlendirme SunumuPiyasa Riski Bölümü Makroekonomik Değerlendirme Sunumu
Piyasa Riski Bölümü Makroekonomik Değerlendirme Sunumu
 
Yapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme SunumuYapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
 
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuKrediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
 
ITU Institute of Social Science
ITU Institute of Social ScienceITU Institute of Social Science
ITU Institute of Social Science
 
Türkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışTürkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro Bakış
 
Yapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme SunumuYapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
Yapı Kredi Portföy Makroekonomik Değerlendirme Sunumu
 
Türkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışTürkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro Bakış
 
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuHazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
 
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuKrediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
 
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme SunumuKrediler Bölümü Makroekonomik Değerlendirme Sunumu
Krediler Bölümü Makroekonomik Değerlendirme Sunumu
 
Piyasa Riski Makroekonomik Değerlendirme Sunumu
Piyasa Riski Makroekonomik Değerlendirme SunumuPiyasa Riski Makroekonomik Değerlendirme Sunumu
Piyasa Riski Makroekonomik Değerlendirme Sunumu
 
Türkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro BakışTürkiye ve Dünya Ekonomisine Makro Bakış
Türkiye ve Dünya Ekonomisine Makro Bakış
 
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuHazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
 
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme SunumuHazine Yönetimi Makroekonomik Değerlendirme Sunumu
Hazine Yönetimi Makroekonomik Değerlendirme Sunumu
 
Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)
 
Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)Makroekonomik Görünüm (Türkiye ve Dünya)
Makroekonomik Görünüm (Türkiye ve Dünya)
 
Türkiye ekonomisine makro bakış
Türkiye ekonomisine makro bakışTürkiye ekonomisine makro bakış
Türkiye ekonomisine makro bakış
 
TURKTRADE Yönetim Kurulu Sunumu
TURKTRADE Yönetim Kurulu SunumuTURKTRADE Yönetim Kurulu Sunumu
TURKTRADE Yönetim Kurulu Sunumu
 

Recently uploaded

Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)ECTIJ
 
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...Amil baba
 
Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Governor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraintGovernor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraintSuomen Pankki
 
Financial analysis on Risk and Return.ppt
Financial analysis on Risk and Return.pptFinancial analysis on Risk and Return.ppt
Financial analysis on Risk and Return.ppttadegebreyesus
 
Vp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsAppVp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsAppmiss dipika
 
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》rnrncn29
 
government_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdfgovernment_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdfshaunmashale756
 
2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGeckoCoinGecko
 
Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713Sonam Pathan
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarHarsh Kumar
 
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.pptAnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.pptPriyankaSharma89719
 
Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Commonwealth
 
NCDC and NAFED presentation by Paras .pptx
NCDC and NAFED presentation by Paras .pptxNCDC and NAFED presentation by Paras .pptx
NCDC and NAFED presentation by Paras .pptxnaikparas90
 
Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.Precize Formely Leadoff
 
Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024Champak Jhagmag
 
Tenets of Physiocracy History of Economic
Tenets of Physiocracy History of EconomicTenets of Physiocracy History of Economic
Tenets of Physiocracy History of Economiccinemoviesu
 
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证rjrjkk
 
The Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng PilipinasThe Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng PilipinasCherylouCamus
 
The AES Investment Code - the go-to counsel for the most well-informed, wise...
The AES Investment Code -  the go-to counsel for the most well-informed, wise...The AES Investment Code -  the go-to counsel for the most well-informed, wise...
The AES Investment Code - the go-to counsel for the most well-informed, wise...AES International
 

Recently uploaded (20)

Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)
 
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
NO1 WorldWide Love marriage specialist baba ji Amil Baba Kala ilam powerful v...
 
Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
Uae-NO1 Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Governor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraintGovernor Olli Rehn: Dialling back monetary restraint
Governor Olli Rehn: Dialling back monetary restraint
 
Financial analysis on Risk and Return.ppt
Financial analysis on Risk and Return.pptFinancial analysis on Risk and Return.ppt
Financial analysis on Risk and Return.ppt
 
Vp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsAppVp Girls near me Delhi Call Now or WhatsApp
Vp Girls near me Delhi Call Now or WhatsApp
 
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
《加拿大本地办假证-寻找办理Dalhousie毕业证和达尔豪斯大学毕业证书的中介代理》
 
government_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdfgovernment_intervention_in_business_ownership[1].pdf
government_intervention_in_business_ownership[1].pdf
 
2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko2024 Q1 Crypto Industry Report | CoinGecko
2024 Q1 Crypto Industry Report | CoinGecko
 
Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713Call Girls Near Me WhatsApp:+91-9833363713
Call Girls Near Me WhatsApp:+91-9833363713
 
The Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh KumarThe Triple Threat | Article on Global Resession | Harsh Kumar
The Triple Threat | Article on Global Resession | Harsh Kumar
 
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.pptAnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
AnyConv.com__FSS Advance Retail & Distribution - 15.06.17.ppt
 
Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]
 
NCDC and NAFED presentation by Paras .pptx
NCDC and NAFED presentation by Paras .pptxNCDC and NAFED presentation by Paras .pptx
NCDC and NAFED presentation by Paras .pptx
 
Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.Overview of Inkel Unlisted Shares Price.
Overview of Inkel Unlisted Shares Price.
 
Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024Unveiling Business Expansion Trends in 2024
Unveiling Business Expansion Trends in 2024
 
Tenets of Physiocracy History of Economic
Tenets of Physiocracy History of EconomicTenets of Physiocracy History of Economic
Tenets of Physiocracy History of Economic
 
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
原版1:1复刻温哥华岛大学毕业证Vancouver毕业证留信学历认证
 
The Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng PilipinasThe Core Functions of the Bangko Sentral ng Pilipinas
The Core Functions of the Bangko Sentral ng Pilipinas
 
The AES Investment Code - the go-to counsel for the most well-informed, wise...
The AES Investment Code -  the go-to counsel for the most well-informed, wise...The AES Investment Code -  the go-to counsel for the most well-informed, wise...
The AES Investment Code - the go-to counsel for the most well-informed, wise...
 

Yki Pairs Trading Model (Version 2.0)

  • 1. PAIRS TRADING MODEL Mathematical Framework & Software Implementation Eren Ocakverdi Head of Analytical Modeling January, 2012 1 E-mail: eren.ocakverdi@ykyatirim.com.tr
  • 2. Disclaimer • Pairs trading investments (or transactions) involve significant risk and volatility and may not be suitable for everyone. Readers/Users must make their own investing and trading decisions using their own independent advisors as they believe necessary and based upon their specific objectives and financial situation. When doing so, readers/users should be sure to make their own assessment of risks inherent to their investment decisions. • This document is prepared for purely informative purposes. All information enclosed in this document has been obtained from sources believed to be reliable and accurate but which without further investigation cannot be warranted as to their accuracy or completeness. There may also appear opinions which are of non-factual nature and subject to change without notice for which Yapı Kredi Yatırım Menkul Değerler A.Ş. cannot be held responsible. This document and its contents (including the add-in developed) are provided solely for the recipient(s), who is/are expected to make their own investment decisions without undue reliance on any information contained in this document or generated via the analysis tool it mentions (the add-in). In no circumstances should any information contained herein (and/or generated via the use of add-in) be used or considered as an offer to sell or a solicitation of any offer to buy the securities or commodities mentioned. Any of the directors, officers or employees of Yapı Kredi Yatırım Menkul Değerler A.Ş. or of their affiliates may serve as a director for companies mentioned in this document. From time to time, Yapı Kredi Yatırım Menkul Değerler A.Ş. and any of its directors, officers, employees or representatives, directly or indirectly, may have positions or otherwise be interested in any transactions, in any securities, or in any commodities mentioned. The views and opinions expressed in this document belong to the members of the Research Team of Yapı Kredi Yatırım Menkul Değerler A.Ş. and do not represent views and opinions of the Yapı Kredi Yatırım Menkul Değerler A.Ş. management. It is possible that individuals employed by Yapı Kredi Yatırım Menkul Değerler A.Ş. elsewhere or affiliates of Yapı Kredi Yatırım Menkul Değerler A.Ş. may disagree with the recommendations or opinions in this document. Yapı Kredi Yatırım Menkul Değerler A.Ş. or their affiliates may, from time to time, perform investment banking or other services for, or solicit investment banking or other business from, any company mentioned in this document. This document may not be, reproduced, published or distributed by any person for any purpose without the written consent of the author. Please cite source when quoting. 2
  • 3. What you should expect from the Model? The model; • does not include any formal pair selection algorithm. • requires pairs to be explicitly supplied. • tests or verifies if the specified pairs are statistically valid. • produces trading signals only for evaluation purposes. • does not generate any kind of trading strategies or suggestions. • aims to provide further insight into the pairs trading opportunities. • should be supported by other assessment techniques. • should only be considered as a decision support tool. 3
  • 4. Methods used in the Model The model offers four different methods for the analysis of spread: • Normalized differences • Cointegration • Stochastic Spread • Time Varying Mean Reversion And two different methods for the calculation of confidence bands: • Fixed • Varying (i.e. moving average) Since all these methods are data dependent, the selection of period for the analysis is of crucial importance! 4
  • 5. Normalized difference Series are normalized as: And then the spread is calculated as: The model produces a trading signal if: where Δ is a prespecified threshold value. 5
  • 6. Cointegration An error correction representation can be written as follows: The spread can be considered as the long term equilibrium: The model produces a trading signal if: where Δ is a prespecified threshold value. 6
  • 7. Stochastic Spread* The model, as specified in Elliot et. al. (2005), is like the following: The spread here is defined as: The model produces a trading signal if: where Δ is a prespecified threshold value. * Robert J. Elliott, John Van Der Hoek & William P. Malcolm (2005): Pairs trading, Quantitative Finance, Vol. 5(3), pp. 271-276 7
  • 8. Time Varying Mean Reversion* The model can be specified as follows: The spread here is defined as: The model produces a trading signal if: where Δ is a prespecified threshold value. * Eren Ocakverdi (2011): A Simple Pairs Trading Strategy for ISE30, Yapi Kredi Occasional Macro Notes, May 2, 2011. 8
  • 9. Additional Output Gregory-Hansen procedure1 is a formal test that investigates the existence of cointegration relationship in the presence of an unknown structural break, which is endogenously identified. Dynamic conditional correlation2 is a nonlinear model of time varying correlation within a multivariate framework. 1 Gregory, A. W. and Hansen, B. E. (1996). "Residual-Based Tests for Cointegration in Models with Regime Shifts", Journal of Econometrics, Vol. 70, pp. 99-126. 2 Engle, R. (2002). Dynamic Conditional Correlation: A Simple Class of Multivariate Generalized Autoregressive Conditional Heteroskedasticity Models," Journal of Business & Economic Statistics, American Statistical Association, Vol. 20(3), pp. 339-50 9
  • 10. Software Implementation • Heavy computational burden of the methods used requires a specialized software. • The software should have advanced statistical and/or econometric features. • Ability to handle complex data structures and to easily exchange data with other programs (e.g. Excel) and databases is important. • We prefer to use EViews, since it also has an Add-in infrastructure that provides easy access to user-defined programs. • All methods are built and analyzed via EViews’ estimation and/or programming features. • An Add-in is developed to allow the user to quickly perform and repeat all the analyses. 10
  • 11. Add-in Interface* * EViews version 7.1 or later is required to install and run the Add-in. 11
  • 12. Example Note: The Add-in can be run with default settings as long as valid pairs are supplied. 12
  • 13. Sample Output (e.g. cointegration) 13
  • 14. Sample Output (e.g. time varying mean reversion) 14
  • 15. Sample Output (e.g. Gregory-Hansen Test) Significant (highlighted) break points are also drawn in the related graphs as dashed lines. 15
  • 16. Sample Output (e.g. Dynamic Conditional Correl.) 16
  • 17. A few remarks on summary results • Although the analysis is designed to generate an output in any case, there is no guarantee that all the results will be meaningful. • Some methods impose strict functional forms, which may lead to infeasible/incorrect results if the assumptions do not hold. • Some methods, on the other hand, rely on more complex analyses and may therefore experience estimation problems. • Charts and warning messages in the tables will be helpful in identifying the source of the problem. • Much of the statistical output generated during the estimation process is intentionally left outside the scope of the summary report. • The summary report, as an analytic tool, seeks to reflect the trade- offs among flexibility, customization, ease of use and capability. 17
  • 18. Final word on the Add-in • This add-in demonstrates that how economic concepts and/or econometric techniques can be useful in financial decision making (i.e. trading) and that how EViews can effectively handle the whole process. • A restricted and a slightly less sophisticated version of the original add-in can be downladed at Eviews’ website: http://www.eviews.com • Or directly from the following link: http://www.eviews.com/Addins/pairstrade.aipz 18
  • 19. Essentially, all models are wrong, but some are useful. George Edward Pelham Box