IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i5p780-d1352114.html
   My bibliography  Save this article

Enhanced Genetic-Algorithm-Driven Triple Barrier Labeling Method and Machine Learning Approach for Pair Trading Strategy in Cryptocurrency Markets

Author

Listed:
  • Ning Fu

    (Department of Software Engineering, Jeonbuk National University, Jeonju 54896, Republic of Korea)

  • Mingu Kang

    (Department of Software Engineering, Jeonbuk National University, Jeonju 54896, Republic of Korea)

  • Joongi Hong

    (Department of Software Engineering, Jeonbuk National University, Jeonju 54896, Republic of Korea)

  • Suntae Kim

    (Department of Software Engineering, Jeonbuk National University, Jeonju 54896, Republic of Korea)

Abstract

In the dynamic world of finance, the application of Artificial Intelligence (AI) in pair trading strategies is gaining significant interest among scholars. Current AI research largely concentrates on regression analyses of prices or spreads between paired assets for formulating trading strategies. However, AI models typically exhibit less precision in regression tasks compared to classification tasks, presenting a challenge in refining the accuracy of pair trading strategies. In pursuit of high-performance labels to elevate the precision of classification models, this study advanced the Triple Barrier Labeling Method for enhanced compatibility with pair trading strategies. This refinement enables the creation of diverse label sets, each tailored to distinct barrier configurations. Focusing on achieving maximal profit or minimizing the Maximum Drawdown (MDD), Genetic Algorithms (GAs) were employed for the optimization of these labels. After optimization, the labels were classified into two distinct types: High Risk and High Profit (HRHP) and Low Risk and Low Profit (LRLP). These labels then serve as the foundation for training machine learning models, which are designed to predict future trading activities in the cryptocurrency market. Our approach, employing cryptocurrency price data from 9 November 2017 to 31 August 2022 for training and 1 September 2022 to 1 December 2023 for testing, demonstrates a substantial improvement over traditional pair trading strategies. In particular, models trained with HRHP signals realized a 51.42% surge in profitability, while those trained with LRLP signals significantly mitigated risk, marked by a 73.24% reduction in the MDD. This innovative method marks a significant advancement in cryptocurrency pair trading strategies, offering traders a powerful and refined tool for optimizing their trading decisions.

Suggested Citation

  • Ning Fu & Mingu Kang & Joongi Hong & Suntae Kim, 2024. "Enhanced Genetic-Algorithm-Driven Triple Barrier Labeling Method and Machine Learning Approach for Pair Trading Strategy in Cryptocurrency Markets," Mathematics, MDPI, vol. 12(5), pages 1-21, March.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:5:p:780-:d:1352114
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/5/780/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/5/780/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Paolo Giudici, 2001. "Bayesian data mining, with application to benchmarking and credit scoring," Applied Stochastic Models in Business and Industry, John Wiley & Sons, vol. 17(1), pages 69-81, January.
    2. Tim Leung & Hung Nguyen, 2019. "Constructing cointegrated cryptocurrency portfolios for statistical arbitrage," Studies in Economics and Finance, Emerald Group Publishing Limited, vol. 36(3), pages 581-599, September.
    3. Mare, Davide Salvatore & Moreira, Fernando & Rossi, Roberto, 2017. "Nonstationary Z-Score measures," European Journal of Operational Research, Elsevier, vol. 260(1), pages 348-358.
    4. repec:eme:sef000:sef-08-2018-0264 is not listed on IDEAS
    5. Peter C. B. Phillips & Zhijie Xiao, 1998. "A Primer on Unit Root Testing," Journal of Economic Surveys, Wiley Blackwell, vol. 12(5), pages 423-470, December.
    6. Christopher Krauss, 2017. "Statistical Arbitrage Pairs Trading Strategies: Review And Outlook," Journal of Economic Surveys, Wiley Blackwell, vol. 31(2), pages 513-545, April.
    7. Aiman Hairudin & Imtiaz Mohammad Sifat & Azhar Mohamad & Yusniliyana Yusof, 2022. "Cryptocurrencies: A survey on acceptance, governance and market dynamics," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 27(4), pages 4633-4659, October.
    8. 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.
    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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. Johannes St binger & Jens Bredthauer, 2017. "Statistical Arbitrage Pairs Trading with High-frequency Data," International Journal of Economics and Financial Issues, Econjournals, vol. 7(4), pages 650-662.
    7. 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.
    8. Ventosa-Santaularària, Daniel & Gómez, Manuel, 2006. "Inflation and Breaks: the validity of the Dickey-Fuller test," MPRA Paper 58773, University Library of Munich, Germany.
    9. Christoph Rothe & Philipp Sibbertsen, 2006. "Phillips-Perron-type unit root tests in the nonlinear ESTAR framework," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 90(3), pages 439-456, September.
    10. 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.
    11. Christophe Kamps, 2006. "New Estimates of Government Net Capital Stocks for 22 OECD Countries, 1960-2001," IMF Staff Papers, Palgrave Macmillan, vol. 53(1), pages 1-6.
    12. Hyungsik R. Moon & Peter C.B. Phillips, 1999. "Maximum Likelihood Estimation in Panels with Incidental Trends," Cowles Foundation Discussion Papers 1246, Cowles Foundation for Research in Economics, Yale University.
    13. Werner Ploberger & Peter C.B. Phillips, 1998. "Rissanen's Theorem and Econometric Time Series," Cowles Foundation Discussion Papers 1197, Cowles Foundation for Research in Economics, Yale University.
    14. Franco Bevilacqua & Adriaan van Zon, 2004. "Random walks and non-linear paths in macroeconomic time series: some evidence and implications," Chapters, in: John Foster & Werner Hölzl (ed.), Applied Evolutionary Economics and Complex Systems, chapter 3, Edward Elgar Publishing.
    15. Geweke, J. & Joel Horowitz & Pesaran, M.H., 2006. "Econometrics: A Bird’s Eye View," Cambridge Working Papers in Economics 0655, Faculty of Economics, University of Cambridge.
    16. Nielsen, Morten, 2008. "A Powerful Tuning Parameter Free Test of the Autoregressive Unit Root Hypothesis," Working Papers 08-05, Cornell University, Center for Analytic Economics.
    17. Sahar Albosaily & Serguei Pergamenshchikov, 2018. "Optimal investment and consumption for Ornstein-Uhlenbeck spread financial markets with logarithmic utility," Papers 1809.08139, arXiv.org.
    18. Michael Jansson & Morten Ørregaard Nielsen, 2012. "Nearly Efficient Likelihood Ratio Tests of the Unit Root Hypothesis," Econometrica, Econometric Society, vol. 80(5), pages 2321-2332, September.
    19. 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.
    20. Wang, Jai-Jen & Lee, Jin-Ping & Zhao, Yang, 2018. "Pair-trading profitability and short-selling restriction: Evidence from the Taiwan stock market," International Review of Economics & Finance, Elsevier, vol. 55(C), pages 173-184.

    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:gam:jmathe:v:12:y:2024:i:5:p:780-:d:1352114. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.