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

A Comprehensive Analysis of Machine Learning Models for Algorithmic Trading of Bitcoin

Author

Listed:
  • Abdul Jabbar
  • Syed Qaisar Jalil

Abstract

This study evaluates the performance of 41 machine learning models, including 21 classifiers and 20 regressors, in predicting Bitcoin prices for algorithmic trading. By examining these models under various market conditions, we highlight their accuracy, robustness, and adaptability to the volatile cryptocurrency market. Our comprehensive analysis reveals the strengths and limitations of each model, providing critical insights for developing effective trading strategies. We employ both machine learning metrics (e.g., Mean Absolute Error, Root Mean Squared Error) and trading metrics (e.g., Profit and Loss percentage, Sharpe Ratio) to assess model performance. Our evaluation includes backtesting on historical data, forward testing on recent unseen data, and real-world trading scenarios, ensuring the robustness and practical applicability of our models. Key findings demonstrate that certain models, such as Random Forest and Stochastic Gradient Descent, outperform others in terms of profit and risk management. These insights offer valuable guidance for traders and researchers aiming to leverage machine learning for cryptocurrency trading.

Suggested Citation

  • Abdul Jabbar & Syed Qaisar Jalil, 2024. "A Comprehensive Analysis of Machine Learning Models for Algorithmic Trading of Bitcoin," Papers 2407.18334, arXiv.org.
  • Handle: RePEc:arx:papers:2407.18334
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Fan Fang & Carmine Ventre & Michail Basios & Leslie Kanthan & David Martinez-Rego & Fan Wu & Lingbo Li, 2022. "Cryptocurrency trading: a comprehensive survey," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-59, December.
    2. Fan Fang & Carmine Ventre & Michail Basios & Leslie Kanthan & Lingbo Li & David Martinez-Regoband & Fan Wu, 2020. "Cryptocurrency Trading: A Comprehensive Survey," Papers 2003.11352, arXiv.org, revised Jan 2022.
    3. Helder Sebastião & Pedro Godinho, 2021. "Forecasting and trading cryptocurrencies with machine learning under changing market conditions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-30, December.
    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. Soria, Jorge & Moya, Jorge & Mohazab, Amin, 2023. "Optimal mining in proof-of-work blockchain protocols," Finance Research Letters, Elsevier, vol. 53(C).
    2. Husam Rjoub & Tomiwa Sunday Adebayo & Dervis Kirikkaleli, 2023. "Blockchain technology-based FinTech banking sector involvement using adaptive neuro-fuzzy-based K-nearest neighbors algorithm," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-23, December.
    3. Laurens Swinkels, 2023. "Empirical evidence on the ownership and liquidity of real estate tokens," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-29, December.
    4. Luis Lorenzo & Javier Arroyo, 2023. "Online risk-based portfolio allocation on subsets of crypto assets applying a prototype-based clustering algorithm," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-40, December.
    5. Wujun Lv & Tao Pang & Xiaobao Xia & Jingzhou Yan, 2023. "Dynamic portfolio choice with uncertain rare-events risk in stock and cryptocurrency markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-28, December.
    6. Alessio Brini & Jimmie Lenz, 2024. "A comparison of cryptocurrency volatility-benchmarking new and mature asset classes," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-38, December.
    7. Walid Mensi & Mariya Gubareva & Hee-Un Ko & Xuan Vinh Vo & Sang Hoon Kang, 2023. "Tail spillover effects between cryptocurrencies and uncertainty in the gold, oil, and stock markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-27, December.
    8. Riccardo Blasis & Luca Galati & Alexander Webb & Robert I. Webb, 2023. "Intelligent design: stablecoins (in)stability and collateral during market turbulence," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-23, December.
    9. Waqas Hanif & Hee-Un Ko & Linh Pham & Sang Hoon Kang, 2023. "Dynamic connectedness and network in the high moments of cryptocurrency, stock, and commodity markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-40, December.
    10. Danilo Bazzanella & Andrea Gangemi, 2023. "Bitcoin: a new proof-of-work system with reduced variance," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-14, December.
    11. Virginie Terraza & Aslı Boru İpek & Mohammad Mahdi Rounaghi, 2024. "The nexus between the volatility of Bitcoin, gold, and American stock markets during the COVID-19 pandemic: evidence from VAR-DCC-EGARCH and ANN models," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-34, December.
    12. Yi-Hsiang Lu & Ching-Chiang Yeh & Yu-Mei Kuo, 2024. "Exploring the critical factors affecting the adoption of blockchain: Taiwan’s banking industry," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-25, December.
    13. Mingbo Zheng & Gen-Fu Feng & Xinxin Zhao & Chun-Ping Chang, 2023. "The transaction behavior of cryptocurrency and electricity consumption," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-18, December.
    14. Tina Linden & Tina Shirazi, 2023. "Markets in crypto-assets regulation: Does it provide legal certainty and increase adoption of crypto-assets?," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-30, December.
    15. Zhiqi Feng & Yongli Li & Xiaochen Ma, 2023. "Blockchain-oriented approach for detecting cyber-attack transactions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-38, December.
    16. Elie Bouri & Afees A. Salisu & Rangan Gupta, 2023. "The predictive power of Bitcoin prices for the realized volatility of US stock sector returns," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-22, December.
    17. Haji Suleman Ali & Feiyan Jia & Zhiyuan Lou & Jingui Xie, 2023. "Effect of blockchain technology initiatives on firms’ market value," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-35, December.
    18. Rubaiyat Ahsan Bhuiyan & Afzol Husain & Changyong Zhang, 2023. "Diversification evidence of bitcoin and gold from wavelet analysis," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-36, December.
    19. Nuray Tosunoğlu & Hilal Abacı & Gizem Ateş & Neslihan Saygılı Akkaya, 2023. "Artificial neural network analysis of the day of the week anomaly in cryptocurrencies," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-24, December.
    20. Ştefan Cristian Gherghina & Liliana Nicoleta Simionescu, 2023. "Exploring the asymmetric effect of COVID-19 pandemic news on the cryptocurrency market: evidence from nonlinear autoregressive distributed lag approach and frequency domain causality," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-58, December.

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