IDEAS home Printed from https://ideas.repec.org/a/eee/finana/v90y2023ics1057521923004301.html
   My bibliography  Save this article

Machine learning approaches to forecasting cryptocurrency volatility: Considering internal and external determinants

Author

Listed:
  • Wang, Yijun
  • Andreeva, Galina
  • Martin-Barragan, Belen

Abstract

Given the volatile nature of cryptocurrencies, accurately forecasting cryptocurrency volatility and understanding its determinants are crucial. This paper applies machine learning (ML) techniques to forecast cryptocurrency volatility using internal determinants (e.g., lagged volatility, previous trading information) and external determinants (e.g., technology, financial, and policy uncertainty factors). Both Random Forest and Long Short-Term Memory (LSTM) networks significantly outperform traditional volatility models such as GARCH. Furthermore, we explore two optimization models—Genetic Algorithm and Artificial Bee Colony—to tune the hyper-parameters of LSTM. Our results indicate that the application of these optimization models substantially improves forecasting performance. Moreover, using SHapley Additive exPlanations, an interpretation method, we find that internal determinants play the most important roles in volatility forecasts. Finally, our results show that models trained with determinants from multiple cryptocurrencies outperform those trained with determinants from a single cryptocurrency, suggesting that considering a broader range of determinants can capture the complex dynamics in the cryptocurrency market.

Suggested Citation

  • Wang, Yijun & Andreeva, Galina & Martin-Barragan, Belen, 2023. "Machine learning approaches to forecasting cryptocurrency volatility: Considering internal and external determinants," International Review of Financial Analysis, Elsevier, vol. 90(C).
  • Handle: RePEc:eee:finana:v:90:y:2023:i:c:s1057521923004301
    DOI: 10.1016/j.irfa.2023.102914
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1057521923004301
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.irfa.2023.102914?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Daniele Bianchi & Matthias Büchner & Tobias Hoogteijling & Andrea Tamoni, 2021. "Corrigendum: Bond Risk Premiums with Machine Learning [Bond risk premiums with machine learning]," The Review of Financial Studies, Society for Financial Studies, vol. 34(2), pages 1090-1103.
    2. Hyejung Chung & Kyung-shik Shin, 2018. "Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction," Sustainability, MDPI, vol. 10(10), pages 1-18, October.
    3. Gradojevic, Nikola & Kukolj, Dragan & Adcock, Robert & Djakovic, Vladimir, 2023. "Forecasting Bitcoin with technical analysis: A not-so-random forest?," International Journal of Forecasting, Elsevier, vol. 39(1), pages 1-17.
    4. Corbet, Shaen & Lucey, Brian & Yarovaya, Larisa, 2018. "Datestamping the Bitcoin and Ethereum bubbles," Finance Research Letters, Elsevier, vol. 26(C), pages 81-88.
    5. Sima Siami-Namini & Akbar Siami Namin, 2018. "Forecasting Economics and Financial Time Series: ARIMA vs. LSTM," Papers 1803.06386, arXiv.org.
    6. Justin Sirignano & Rama Cont, 2019. "Universal features of price formation in financial markets: perspectives from deep learning," Quantitative Finance, Taylor & Francis Journals, vol. 19(9), pages 1449-1459, September.
    7. Yen, Kuang-Chieh & Cheng, Hui-Pei, 2021. "Economic policy uncertainty and cryptocurrency volatility," Finance Research Letters, Elsevier, vol. 38(C).
    8. Daniele Bianchi & Matthias Büchner & Andrea Tamoni, 2021. "Bond Risk Premiums with Machine Learning [Quadratic term structure models: Theory and evidence]," The Review of Financial Studies, Society for Financial Studies, vol. 34(2), pages 1046-1089.
    9. Ricardo P. Masini & Marcelo C. Medeiros & Eduardo F. Mendes, 2023. "Machine learning advances for time series forecasting," Journal of Economic Surveys, Wiley Blackwell, vol. 37(1), pages 76-111, February.
    10. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    11. Agnolucci, Paolo, 2009. "Volatility in crude oil futures: A comparison of the predictive ability of GARCH and implied volatility models," Energy Economics, Elsevier, vol. 31(2), pages 316-321, March.
    12. Christian Conrad & Anessa Custovic & Eric Ghysels, 2018. "Long- and Short-Term Cryptocurrency Volatility Components: A GARCH-MIDAS Analysis," JRFM, MDPI, vol. 11(2), pages 1-12, May.
    13. Dehua Shen & Andrew Urquhart & Pengfei Wang, 2020. "Forecasting the volatility of Bitcoin: The importance of jumps and structural breaks," European Financial Management, European Financial Management Association, vol. 26(5), pages 1294-1323, November.
    14. Ahmet Murat Ozbayoglu & Mehmet Ugur Gudelek & Omer Berat Sezer, 2020. "Deep Learning for Financial Applications : A Survey," Papers 2002.05786, arXiv.org.
    15. Babaei, Golnoosh & Giudici, Paolo & Raffinetti, Emanuela, 2022. "Explainable artificial intelligence for crypto asset allocation," Finance Research Letters, Elsevier, vol. 47(PB).
    16. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    17. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    18. Salah Bouktif & Ali Fiaz & Ali Ouni & Mohamed Adel Serhani, 2018. "Optimal Deep Learning LSTM Model for Electric Load Forecasting using Feature Selection and Genetic Algorithm: Comparison with Machine Learning Approaches †," Energies, MDPI, vol. 11(7), pages 1-20, June.
    19. C. Alexander & M. Dakos, 2020. "A critical investigation of cryptocurrency data and analysis," Quantitative Finance, Taylor & Francis Journals, vol. 20(2), pages 173-188, February.
    20. Trucíos, Carlos, 2019. "Forecasting Bitcoin risk measures: A robust approach," International Journal of Forecasting, Elsevier, vol. 35(3), pages 836-847.
    21. Akyildirim, Erdinc & Corbet, Shaen & Lucey, Brian & Sensoy, Ahmet & Yarovaya, Larisa, 2020. "The relationship between implied volatility and cryptocurrency returns," Finance Research Letters, Elsevier, vol. 33(C).
    22. Jacopo Fior & Luca Cagliero & Paolo Garza, 2022. "Leveraging Explainable AI to Support Cryptocurrency Investors," Future Internet, MDPI, vol. 14(9), pages 1-19, August.
    23. Higor Y. D. Sigaki & Matjaz Perc & Haroldo V. Ribeiro, 2019. "Clustering patterns in efficiency and the coming-of-age of the cryptocurrency market," Papers 1901.04967, arXiv.org.
    24. Yukun Liu & Aleh Tsyvinski & Xi Wu, 2022. "Common Risk Factors in Cryptocurrency," Journal of Finance, American Finance Association, vol. 77(2), pages 1133-1177, April.
    25. Chen, Wei & Xu, Huilin & Jia, Lifen & Gao, Ying, 2021. "Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants," International Journal of Forecasting, Elsevier, vol. 37(1), pages 28-43.
    26. Yukun Liu & Aleh Tsyvinski, 2021. "Risks and Returns of Cryptocurrency," The Review of Financial Studies, Society for Financial Studies, vol. 34(6), pages 2689-2727.
    27. Wang, Lu & Ma, Feng & Liu, Jing & Yang, Lin, 2020. "Forecasting stock price volatility: New evidence from the GARCH-MIDAS model," International Journal of Forecasting, Elsevier, vol. 36(2), pages 684-694.
    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. Rudkin, Simon & Rudkin, Wanling & Dłotko, Paweł, 2023. "On the topology of cryptocurrency markets," International Review of Financial Analysis, Elsevier, vol. 89(C).
    2. 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.
    3. Jia, Yuecheng & Wu, Yangru & Yan, Shu & Liu, Yuzheng, 2023. "A seesaw effect in the cryptocurrency market: Understanding the return cross predictability of cryptocurrencies," Journal of Empirical Finance, Elsevier, vol. 74(C).
    4. Yin, Libo & Nie, Jing & Han, Liyan, 2021. "Understanding cryptocurrency volatility: The role of oil market shocks," International Review of Economics & Finance, Elsevier, vol. 72(C), pages 233-253.
    5. Andrew J. Patton & Yasin Simsek, 2023. "Generalized Autoregressive Score Trees and Forests," Papers 2305.18991, arXiv.org.
    6. Chowdhury, Md Shahedur R. & Damianov, Damian S., 2024. "Uncertainty and bubbles in cryptocurrencies: Evidence from newly developed uncertainty indices," International Review of Financial Analysis, Elsevier, vol. 91(C).
    7. Lv, Wendai & Qi, Jipeng & Feng, Jing, 2023. "Economic policy uncertainty and environmental governance company volatility: Evidence from China," Research in International Business and Finance, Elsevier, vol. 64(C).
    8. Smales, L.A., 2022. "Investor attention in cryptocurrency markets," International Review of Financial Analysis, Elsevier, vol. 79(C).
    9. Ahmed, Walid M.A., 2022. "Robust drivers of Bitcoin price movements: An extreme bounds analysis," The North American Journal of Economics and Finance, Elsevier, vol. 62(C).
    10. 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.
    11. Chen, Bin-xia & Sun, Yan-lin, 2024. "Risk characteristics and connectedness in cryptocurrency markets: New evidence from a non-linear framework," The North American Journal of Economics and Finance, Elsevier, vol. 69(PA).
    12. Rad, Hossein & Low, Rand Kwong Yew & Miffre, Joëlle & Faff, Robert, 2023. "The commodity risk premium and neural networks," Journal of Empirical Finance, Elsevier, vol. 74(C).
    13. Nikolaos A. Kyriazis, 2021. "A Survey on Volatility Fluctuations in the Decentralized Cryptocurrency Financial Assets," JRFM, MDPI, vol. 14(7), pages 1-46, June.
    14. Luo, Qin & Bu, Jinfeng & Xu, Weiju & Huang, Dengshi, 2023. "Stock market volatility prediction: Evidence from a new bagging model," International Review of Economics & Finance, Elsevier, vol. 87(C), pages 445-456.
    15. Dunbar, Kwamie & Owusu-Amoako, Johnson, 2023. "Predictability of crypto returns: The impact of trading behavior," Journal of Behavioral and Experimental Finance, Elsevier, vol. 39(C).
    16. Lu Wang & Feng Ma & Guoshan Liu & Qiaoqi Lang, 2023. "Do extreme shocks help forecast oil price volatility? The augmented GARCH‐MIDAS approach," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 2056-2073, April.
    17. Sergio Consoli & Luca Tiozzo Pezzoli & Elisa Tosetti, 2022. "Neural forecasting of the Italian sovereign bond market with economic news," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 185(S2), pages 197-224, December.
    18. Peng‐Fei Dai & John W. Goodell & Luu Duc Toan Huynh & Zhifeng Liu & Shaen Corbet, 2023. "Understanding the transmission of crash risk between cryptocurrency and equity markets," The Financial Review, Eastern Finance Association, vol. 58(3), pages 539-573, August.
    19. Chen, Zhonglu & Zhang, Li & Weng, Chen, 2023. "Does climate policy uncertainty affect Chinese stock market volatility?," International Review of Economics & Finance, Elsevier, vol. 84(C), pages 369-381.
    20. Elsayed, Ahmed H. & Gozgor, Giray & Yarovaya, Larisa, 2022. "Volatility and return connectedness of cryptocurrency, gold, and uncertainty: Evidence from the cryptocurrency uncertainty indices," Finance Research Letters, Elsevier, vol. 47(PB).

    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:eee:finana:v:90:y:2023:i:c:s1057521923004301. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/620166 .

    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.