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(4), 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. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    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. 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.
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. Psaradellis, Ioannis & Laws, Jason & Pantelous, Athanasios A. & Sermpinis, Georgios, 2023. "Technical analysis, spread trading, and data snooping control," International Journal of Forecasting, Elsevier, vol. 39(1), pages 178-191.
    14. Anginer,Deniz & Demirguc-Kunt,Asli & Mare,Davide Salvatore, 2020. "Bank Capital and Risk in Europe and Central Asia Ten Years After the Crisis," Policy Research Working Paper Series 9138, The World Bank.
    15. Alain Kabundi & Elsabé Loots, 2010. "Patterns Of Co‐Movement Between South Africa And Germany: Evidence From The Period 1985 To 2006," South African Journal of Economics, Economic Society of South Africa, vol. 78(4), pages 383-399, December.
    16. Lkhagvadorj Munkhdalai & Tsendsuren Munkhdalai & Oyun-Erdene Namsrai & Jong Yun Lee & Keun Ho Ryu, 2019. "An Empirical Comparison of Machine-Learning Methods on Bank Client Credit Assessments," Sustainability, MDPI, vol. 11(3), pages 1-23, January.
    17. Anna Bykhovskaya & Vadim Gorin, 2020. "Cointegration in large VARs," Papers 2006.14179, arXiv.org, revised Dec 2021.
    18. Rodrigues, Paulo M. M. & Taylor, A. M. Robert, 2004. "Alternative estimators and unit root tests for seasonal autoregressive processes," Journal of Econometrics, Elsevier, vol. 120(1), pages 35-73, May.
    19. Fenghui Yu & Wai-Ki Ching & Chufang Wu & Jia-Wen Gu, 2023. "Optimal Pairs Trading Strategies: A Stochastic Mean–Variance Approach," Journal of Optimization Theory and Applications, Springer, vol. 196(1), pages 36-55, January.
    20. Myoung-Jin Um & Jun-Haeng Heo & Momcilo Markus & Donald J. Wuebbles, 2018. "Performance Evaluation of four Statistical Tests for Trend and Non-stationarity and Assessment of Observed and Projected Annual Maximum Precipitation Series in Major United States Cities," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 32(3), pages 913-933, February.

    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.