IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2005.09794.html
   My bibliography  Save this paper

Pairs Trading with Nonlinear and Non-Gaussian State Space Models

Author

Listed:
  • Guang Zhang

Abstract

This paper studies pairs trading using a nonlinear and non-Gaussian state-space model framework. We model the spread between the prices of two assets as an unobservable state variable and assume that it follows a mean-reverting process. This new model has two distinctive features: (1) The innovations to the spread is non-Gaussianity and heteroskedastic. (2) The mean reversion of the spread is nonlinear. We show how to use the filtered spread as the trading indicator to carry out statistical arbitrage. We also propose a new trading strategy and present a Monte Carlo based approach to select the optimal trading rule. As the first empirical application, we apply the new model and the new trading strategy to two examples: PEP vs KO and EWT vs EWH. The results show that the new approach can achieve a 21.86% annualized return for the PEP/KO pair and a 31.84% annualized return for the EWT/EWH pair. As the second empirical application, we consider all the possible pairs among the largest and the smallest five US banks listed on the NYSE. For these pairs, we compare the performance of the proposed approach with that of the existing popular approaches, both in-sample and out-of-sample. Interestingly, we find that our approach can significantly improve the return and the Sharpe ratio in almost all the cases considered.

Suggested Citation

  • Guang Zhang, 2020. "Pairs Trading with Nonlinear and Non-Gaussian State Space Models," Papers 2005.09794, arXiv.org.
  • Handle: RePEc:arx:papers:2005.09794
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2005.09794
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Kon, Stanley J, 1984. "Models of Stock Returns-A Comparison," Journal of Finance, American Finance Association, vol. 39(1), pages 147-165, March.
    2. Ait-Sahalia, Yacine, 1996. "Testing Continuous-Time Models of the Spot Interest Rate," The Review of Financial Studies, Society for Financial Studies, vol. 9(2), pages 385-426.
    3. Lei, Yaoting & Xu, Jing, 2015. "Costly arbitrage through pairs trading," Journal of Economic Dynamics and Control, Elsevier, vol. 56(C), pages 1-19.
    4. Tourin, Agnès & Yan, Raphael, 2013. "Dynamic pairs trading using the stochastic control approach," Journal of Economic Dynamics and Control, Elsevier, vol. 37(10), pages 1972-1981.
    5. Clegg, Matthew & Krauss, Christopher, 2016. "Pairs trading with partial cointegration," FAU Discussion Papers in Economics 05/2016, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    6. Scheinkman, Jose A & LeBaron, Blake, 1989. "Nonlinear Dynamics and Stock Returns," The Journal of Business, University of Chicago Press, vol. 62(3), pages 311-337, July.
    7. Yang Bai & Lan Wu, 2018. "Analytic value function for optimal regime-switching pairs trading rules," Quantitative Finance, Taylor & Francis Journals, vol. 18(4), pages 637-654, April.
    8. Mark Cummins & Andrea Bucca, 2012. "Quantitative spread trading on crude oil and refined products markets," Quantitative Finance, Taylor & Francis Journals, vol. 12(12), pages 1857-1875, December.
    9. Ding, Zhuanxin & Granger, Clive W. J. & Engle, Robert F., 1993. "A long memory property of stock market returns and a new model," Journal of Empirical Finance, Elsevier, vol. 1(1), pages 83-106, June.
    10. Mandelbrot, Benoit B, 1971. "When Can Price Be Arbitraged Efficiently? A Limit to the Validity of the Random Walk and Martingale Models," The Review of Economics and Statistics, MIT Press, vol. 53(3), pages 225-236, August.
    11. Carlos Eduardo de Moura & Adrian Pizzinga & Jorge Zubelli, 2016. "A pairs trading strategy based on linear state space models and the Kalman filter," Quantitative Finance, Taylor & Francis Journals, vol. 16(10), pages 1559-1573, October.
    12. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    13. Timofei Bogomolov, 2013. "Pairs trading based on statistical variability of the spread process," Quantitative Finance, Taylor & Francis Journals, vol. 13(9), pages 1411-1430, September.
    14. Benoit Mandelbrot, 2015. "The Variation of Certain Speculative Prices," World Scientific Book Chapters, in: Anastasios G Malliaris & William T Ziemba (ed.), THE WORLD SCIENTIFIC HANDBOOK OF FUTURES MARKETS, chapter 3, pages 39-78, World Scientific Publishing Co. Pte. Ltd..
    15. Focardi, Sergio M. & Fabozzi, Frank J. & Mitov, Ivan K., 2016. "A new approach to statistical arbitrage: Strategies based on dynamic factor models of prices and their performance," Journal of Banking & Finance, Elsevier, vol. 65(C), pages 134-155.
    16. Matthew Clegg & Christopher Krauss, 2018. "Pairs trading with partial cointegration," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 121-138, January.
    17. Steve Y. Yang & Qifeng Qiao & Peter A. Beling & William T. Scherer & Andrei A. Kirilenko, 2015. "Gaussian process-based algorithmic trading strategy identification," Quantitative Finance, Taylor & Francis Journals, vol. 15(10), pages 1683-1703, October.
    18. Hossein Rad & Rand Kwong Yew Low & Robert Faff, 2016. "The profitability of pairs trading strategies: distance, cointegration and copula methods," Quantitative Finance, Taylor & Francis Journals, vol. 16(10), pages 1541-1558, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Stübinger, Johannes & Endres, Sylvia, 2017. "Pairs trading with a mean-reverting jump-diffusion model on high-frequency data," FAU Discussion Papers in Economics 10/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    2. Matthew Clegg & Christopher Krauss, 2018. "Pairs trading with partial cointegration," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 121-138, January.
    3. Johannes Stübinger & Sylvia Endres, 2018. "Pairs trading with a mean-reverting jump–diffusion model on high-frequency data," Quantitative Finance, Taylor & Francis Journals, vol. 18(10), pages 1735-1751, October.
    4. Staccioli, Jacopo & Napoletano, Mauro, 2021. "An agent-based model of intra-day financial markets dynamics," Journal of Economic Behavior & Organization, Elsevier, vol. 182(C), pages 331-348.
    5. Flori, Andrea & Regoli, Daniele, 2021. "Revealing Pairs-trading opportunities with long short-term memory networks," European Journal of Operational Research, Elsevier, vol. 295(2), pages 772-791.
    6. Krauss, Christopher, 2015. "Statistical arbitrage pairs trading strategies: Review and outlook," FAU Discussion Papers in Economics 09/2015, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    7. repec:hal:spmain:info:hdl:2441/5mqflt6amg8gab4rlqn6sbko4b is not listed on IDEAS
    8. Alexander Subbotin & Thierry Chauveau & Kateryna Shapovalova, 2009. "Volatility Models: from GARCH to Multi-Horizon Cascades," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-00390636, HAL.
    9. Fernando Caneo & Werner Kristjanpoller, 2021. "Improving statistical arbitrage investment strategy: Evidence from Latin American stock markets," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(3), pages 4424-4440, July.
    10. Endres, Sylvia & Stübinger, Johannes, 2017. "Optimal trading strategies for Lévy-driven Ornstein-Uhlenbeck processes," FAU Discussion Papers in Economics 17/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    11. Subbotin, Alexandre, 2009. "Volatility Models: from Conditional Heteroscedasticity to Cascades at Multiple Horizons," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 15(3), pages 94-138.
    12. Rodríguez, Mª Araceli, 2005. "Nueva Evidencia Empírica sobre las Turbulencias Cambiarias de la Peseta Española. 1989-1998/New Evidence about Turbulences on the Spanish Peseta. 1989-1998s," Estudios de Economia Aplicada, Estudios de Economia Aplicada, vol. 23, pages 207-230, Abril.
    13. Geoffrey Ngene & Ann Nduati Mungai & Allen K. Lynch, 2018. "Long-Term Dependency Structure and Structural Breaks: Evidence from the U.S. Sector Returns and Volatility," Review of Pacific Basin Financial Markets and Policies (RPBFMP), World Scientific Publishing Co. Pte. Ltd., vol. 21(02), pages 1-38, June.
    14. Bo Liu & Lo-Bin Chang & Hélyette Geman, 2017. "Intraday pairs trading strategies on high frequency data: the case of oil companies," Quantitative Finance, Taylor & Francis Journals, vol. 17(1), pages 87-100, January.
    15. Paul Eitelman & Justin Vitanza, 2008. "A non-random walk revisited: short- and long-term memory in asset prices," International Finance Discussion Papers 956, Board of Governors of the Federal Reserve System (U.S.).
    16. Alexander Eastman & Brian Lucey, 2008. "Skewness and asymmetry in futures returns and volumes," Applied Financial Economics, Taylor & Francis Journals, vol. 18(10), pages 777-800.
    17. Stavros Degiannakis & Alexandra Livada & Epaminondas Panas, 2008. "Rolling-sampled parameters of ARCH and Levy-stable models," Applied Economics, Taylor & Francis Journals, vol. 40(23), pages 3051-3067.
    18. Danilo Delpini & Giacomo Bormetti, 2012. "Stochastic Volatility with Heterogeneous Time Scales," Papers 1206.0026, arXiv.org, revised Apr 2013.
    19. Marcin Wk{a}torek & Stanis{l}aw Dro.zd.z & Jaros{l}aw Kwapie'n & Ludovico Minati & Pawe{l} O'swik{e}cimka & Marek Stanuszek, 2020. "Multiscale characteristics of the emerging global cryptocurrency market," Papers 2010.15403, arXiv.org, revised Mar 2021.
    20. Johann Lussange & Ivan Lazarevich & Sacha Bourgeois-Gironde & Stefano Palminteri & Boris Gutkin, 2021. "Modelling Stock Markets by Multi-agent Reinforcement Learning," Computational Economics, Springer;Society for Computational Economics, vol. 57(1), pages 113-147, January.
    21. Giulia Di Nunno & Kk{e}stutis Kubilius & Yuliya Mishura & Anton Yurchenko-Tytarenko, 2023. "From constant to rough: A survey of continuous volatility modeling," Papers 2309.01033, arXiv.org, revised Sep 2023.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2005.09794. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.