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

Pairs Trading Using a Novel Graphical Matching Approach

Author

Listed:
  • Khizar Qureshi
  • Tauhid Zaman

Abstract

Pairs trading, a strategy that capitalizes on price movements of asset pairs driven by similar factors, has gained significant popularity among traders. Common practice involves selecting highly cointegrated pairs to form a portfolio, which often leads to the inclusion of multiple pairs sharing common assets. This approach, while intuitive, inadvertently elevates portfolio variance and diminishes risk-adjusted returns by concentrating on a small number of highly cointegrated assets. Our study introduces an innovative pair selection method employing graphical matchings designed to tackle this challenge. We model all assets and their cointegration levels with a weighted graph, where edges signify pairs and their weights indicate the extent of cointegration. A portfolio of pairs is a subgraph of this graph. We construct a portfolio which is a maximum weighted matching of this graph to select pairs which have strong cointegration while simultaneously ensuring that there are no shared assets within any pair of pairs. This approach ensures each asset is included in just one pair, leading to a significantly lower variance in the matching-based portfolio compared to a baseline approach that selects pairs purely based on cointegration. Theoretical analysis and empirical testing using data from the S\&P 500 between 2017 and 2023, affirm the efficacy of our method. Notably, our matching-based strategy showcases a marked improvement in risk-adjusted performance, evidenced by a gross Sharpe ratio of 1.23, a significant enhancement over the baseline value of 0.48 and market value of 0.59. Additionally, our approach demonstrates reduced trading costs attributable to lower turnover, alongside minimized single asset risk due to a more diversified asset base.

Suggested Citation

  • Khizar Qureshi & Tauhid Zaman, 2024. "Pairs Trading Using a Novel Graphical Matching Approach," Papers 2403.07998, arXiv.org.
  • Handle: RePEc:arx:papers:2403.07998
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Nicolas Huck & Komivi Afawubo, 2015. "Pairs trading and selection methods: is cointegration superior?," Applied Economics, Taylor & Francis Journals, vol. 47(6), pages 599-613, February.
    2. Amit Goyal & Pedro Santa‐Clara, 2003. "Idiosyncratic Risk Matters!," Journal of Finance, American Finance Association, vol. 58(3), pages 975-1007, June.
    3. Jaehyung Choi, 2014. "Maximum drawdown, recovery, and momentum," Papers 1403.8125, arXiv.org, revised Sep 2021.
    4. 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.
    5. Binh Do & Robert Faff, 2012. "Are Pairs Trading Profits Robust To Trading Costs?," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 35(2), pages 261-287, June.
    6. Evan Gatev & William N. Goetzmann & K. Geert Rouwenhorst, 2006. "Pairs Trading: Performance of a Relative-Value Arbitrage Rule," The Review of Financial Studies, Society for Financial Studies, vol. 19(3), pages 797-827.
    7. Marco Avellaneda & Jeong-Hyun Lee, 2010. "Statistical arbitrage in the US equities market," Quantitative Finance, Taylor & Francis Journals, vol. 10(7), pages 761-782.
    8. Amit Goyal & Pedro Santa-Clara, 2003. "Idiosyncratic Risk Matters!," Journal of Finance, American Finance Association, vol. 58(3), pages 975-1008, June.
    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. 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.
    2. Alexander Lipton & Marcos Lopez de Prado, 2020. "A closed-form solution for optimal mean-reverting trading strategies," Papers 2003.10502, arXiv.org.
    3. Ahmet Göncü & Erdinç Akyıldırım, 2016. "Statistical Arbitrage with Pairs Trading," International Review of Finance, International Review of Finance Ltd., vol. 16(2), pages 307-319, June.
    4. 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.
    5. Boming Ning & Kiseop Lee, 2024. "Advanced Statistical Arbitrage with Reinforcement Learning," Papers 2403.12180, arXiv.org.
    6. 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.
    7. Ahmet Göncü & Erdinc Akyildirim, 2016. "A stochastic model for commodity pairs trading," Quantitative Finance, Taylor & Francis Journals, vol. 16(12), pages 1843-1857, December.
    8. 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.
    9. Boming Ning & Prakash Chakraborty & Kiseop Lee, 2023. "Optimal Entry and Exit with Signature in Statistical Arbitrage," Papers 2309.16008, arXiv.org, revised Mar 2024.
    10. Vladim'ir Hol'y & Petra Tomanov'a, 2018. "Estimation of Ornstein-Uhlenbeck Process Using Ultra-High-Frequency Data with Application to Intraday Pairs Trading Strategy," Papers 1811.09312, arXiv.org, revised Jul 2022.
    11. 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.
    12. Erdinc Akyildirim & Ahmet Goncu & Alper Hekimoglu & Duc Khuong Nguyen & Ahmet Sensoy, 2023. "Statistical arbitrage: factor investing approach," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 45(4), pages 1295-1331, December.
    13. Sánchez-Granero, M.A. & Balladares, K.A. & Ramos-Requena, J.P. & Trinidad-Segovia, J.E., 2020. "Testing the efficient market hypothesis in Latin American stock markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 540(C).
    14. Matthew Clegg & Christopher Krauss, 2018. "Pairs trading with partial cointegration," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 121-138, January.
    15. Viviana Fanelli & Claudio Fontana & Francesco Rotondi, 2023. "A hidden Markov model for statistical arbitrage in international crude oil futures markets," Papers 2309.00875, arXiv.org.
    16. Stübinger, Johannes, 2018. "Statistical arbitrage with optimal causal paths on high-frequencydata of the S&P 500," FAU Discussion Papers in Economics 01/2018, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    17. Tim Leung & Kevin W. Lu, 2023. "Monte Carlo Simulation for Trading Under a L\'evy-Driven Mean-Reverting Framework," Papers 2309.05512, arXiv.org, revised Jan 2024.
    18. Han, Chulwoo & He, Zhaodong & Toh, Alenson Jun Wei, 2023. "Pairs trading via unsupervised learning," European Journal of Operational Research, Elsevier, vol. 307(2), pages 929-947.
    19. Weiguang Han & Boyi Zhang & Qianqian Xie & Min Peng & Yanzhao Lai & Jimin Huang, 2023. "Select and Trade: Towards Unified Pair Trading with Hierarchical Reinforcement Learning," Papers 2301.10724, arXiv.org, revised Feb 2023.
    20. 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.

    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:2403.07998. 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.