IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v63y2024i4d10.1007_s10614-023-10373-8.html
   My bibliography  Save this article

LSTM–GARCH Hybrid Model for the Prediction of Volatility in Cryptocurrency Portfolios

Author

Listed:
  • Andrés García-Medina

    (Centro de Investigación en Matemáticas
    Consejo Nacional de Ciencia y Tecnología)

  • Ester Aguayo-Moreno

    (Centro de Investigación en Matemáticas)

Abstract

In the present work, the volatility of the leading cryptocurrencies is predicted through generalised autoregressive conditional heteroskedasticity (GARCH) models, multilayer perceptron (MLP), long short-term memory (LSTM), and hybrid models of the type LSTM and GARCH, where parameters of the GARCH family are included as features of LSTM models. The study period covered the scenario of the World Health Organization pandemic declaration around March 2020 at hourly frequency. We have found that the different variants of deep neural network models outperform those of the GARCH family in the sense of the hetorerocedastic error, and absolute and squared error (HSE). Under the sharpe ratio, the volatility forecasting of a uniform portfolio at long horizons systematically outperforms the stablecoin Tether, which is considered here as the risk-free asset. Also, including transaction volume helps reduce the value at risk or loss probability for the uniform portfolio. Moreover, in a minimum variance portfolio, it is observed that before the pandemic declaration, a large proportion of the capital was allocated to bitcoin (BTC). In contrast, after March 2020, the portfolio is more diversified with short positions for BTC. Moreover, the MLP models give the best predictive results, although not statistically different in accuracy compared to the LSTM and LSTM–GARCH versions under the Diebold–Mariano test. In sum, MLP models outperform most stylised financial models and are less computationally expensive than more complex neural networks. Therefore, simple learning models are suggested in highly non-linear time series volatility forecasts as it is the cryptocurrency market.

Suggested Citation

  • Andrés García-Medina & Ester Aguayo-Moreno, 2024. "LSTM–GARCH Hybrid Model for the Prediction of Volatility in Cryptocurrency Portfolios," Computational Economics, Springer;Society for Computational Economics, vol. 63(4), pages 1511-1542, April.
  • Handle: RePEc:kap:compec:v:63:y:2024:i:4:d:10.1007_s10614-023-10373-8
    DOI: 10.1007/s10614-023-10373-8
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-023-10373-8
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-023-10373-8?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. Lamoureux, Christopher G & Lastrapes, William D, 1990. "Heteroskedasticity in Stock Return Data: Volume versus GARCH Effects," Journal of Finance, American Finance Association, vol. 45(1), pages 221-229, March.
    2. Baur, Dirk G. & Dimpfl, Thomas & Kuck, Konstantin, 2018. "Bitcoin, gold and the US dollar – A replication and extension," Finance Research Letters, Elsevier, vol. 25(C), pages 103-110.
    3. Francis X. Diebold, 2015. "Comparing Predictive Accuracy, Twenty Years Later: A Personal Perspective on the Use and Abuse of Diebold-Mariano Tests," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(1), pages 1-1, January.
    4. Sébastien Laurent & Luc Bauwens & Jeroen V. K. Rombouts, 2006. "Multivariate GARCH models: a survey," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 21(1), pages 79-109.
    5. Mensi, Walid & Al-Yahyaee, Khamis Hamed & Kang, Sang Hoon, 2019. "Structural breaks and double long memory of cryptocurrency prices: A comparative analysis from Bitcoin and Ethereum," Finance Research Letters, Elsevier, vol. 29(C), pages 222-230.
    6. Dyhrberg, Anne Haubo, 2016. "Bitcoin, gold and the dollar – A GARCH volatility analysis," Finance Research Letters, Elsevier, vol. 16(C), pages 85-92.
    7. Nelson, Daniel B, 1991. "Conditional Heteroskedasticity in Asset Returns: A New Approach," Econometrica, Econometric Society, vol. 59(2), pages 347-370, March.
    8. Dimos S. Kambouroudis & David G. McMillan, 2016. "Does VIX or volume improve GARCH volatility forecasts?," Applied Economics, Taylor & Francis Journals, vol. 48(13), pages 1210-1228, March.
    9. Lahmiri, Salim & Bekiros, Stelios, 2019. "Cryptocurrency forecasting with deep learning chaotic neural networks," Chaos, Solitons & Fractals, Elsevier, vol. 118(C), pages 35-40.
    10. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    11. Bollerslev, Tim, 1987. "A Conditionally Heteroskedastic Time Series Model for Speculative Prices and Rates of Return," The Review of Economics and Statistics, MIT Press, vol. 69(3), pages 542-547, August.
    12. Roncalli, Thierry, 2013. "Introduction to Risk Parity and Budgeting," MPRA Paper 47679, University Library of Munich, Germany.
    13. Mohammad Majand & Kenneth Yung, 1991. "A GARCH examination of the relationship between volume and price variability in futures markets," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 11(5), pages 613-621, October.
    14. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    15. Catania, Leopoldo & Grassi, Stefano & Ravazzolo, Francesco, 2019. "Forecasting cryptocurrencies under model and parameter instability," International Journal of Forecasting, Elsevier, vol. 35(2), pages 485-501.
    16. Robert Engle, 2001. "GARCH 101: The Use of ARCH/GARCH Models in Applied Econometrics," Journal of Economic Perspectives, American Economic Association, vol. 15(4), pages 157-168, Fall.
    17. Stephen J. Taylor, 1994. "Modeling Stochastic Volatility: A Review And Comparative Study," Mathematical Finance, Wiley Blackwell, vol. 4(2), pages 183-204, April.
    18. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    19. Spyros Makridakis & Evangelos Spiliotis & Vassilios Assimakopoulos, 2018. "Statistical and Machine Learning forecasting methods: Concerns and ways forward," PLOS ONE, Public Library of Science, vol. 13(3), pages 1-26, March.
    20. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    21. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    22. Glosten, Lawrence R & Jagannathan, Ravi & Runkle, David E, 1993. "On the Relation between the Expected Value and the Volatility of the Nominal Excess Return on Stocks," Journal of Finance, American Finance Association, vol. 48(5), pages 1779-1801, December.
    23. Andr'es Garc'ia-Medina & Toan Luu Duc Huynh3, 2021. "What drives bitcoin? An approach from continuous local transfer entropy and deep learning classification models," Papers 2109.01214, arXiv.org.
    24. Engle, Robert, 2002. "Dynamic Conditional Correlation: A Simple Class of Multivariate Generalized Autoregressive Conditional Heteroskedasticity Models," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(3), pages 339-350, July.
    25. Jeffrey Chu & Stephen Chan & Saralees Nadarajah & Joerg Osterrieder, 2017. "GARCH Modelling of Cryptocurrencies," JRFM, MDPI, vol. 10(4), pages 1-15, October.
    26. Harvey, Andrew C & Shephard, Neil, 1996. "Estimation of an Asymmetric Stochastic Volatility Model for Asset Returns," Journal of Business & Economic Statistics, American Statistical Association, vol. 14(4), pages 429-434, October.
    27. Makridakis, Spyros & Spiliotis, Evangelos & Assimakopoulos, Vassilios, 2020. "The M4 Competition: 100,000 time series and 61 forecasting methods," International Journal of Forecasting, Elsevier, vol. 36(1), pages 54-74.
    28. 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.
    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. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    2. BAUWENS, Luc & HAFNER, Christian & LAURENT, Sébastien, 2011. "Volatility models," LIDAM Discussion Papers CORE 2011058, Université catholique de Louvain, Center for Operations Research and Econometrics (CORE).
      • Bauwens, L. & Hafner, C. & Laurent, S., 2012. "Volatility Models," LIDAM Reprints ISBA 2012028, Université catholique de Louvain, Institute of Statistics, Biostatistics and Actuarial Sciences (ISBA).
      • Bauwens, L. & Hafner C. & Laurent, S., 2011. "Volatility Models," LIDAM Discussion Papers ISBA 2011044, Université catholique de Louvain, Institute of Statistics, Biostatistics and Actuarial Sciences (ISBA).
    3. Nikolaos A. Kyriazis, 2021. "A Survey on Volatility Fluctuations in the Decentralized Cryptocurrency Financial Assets," JRFM, MDPI, vol. 14(7), pages 1-46, June.
    4. Andersen, Torben G. & Bollerslev, Tim & Christoffersen, Peter F. & Diebold, Francis X., 2013. "Financial Risk Measurement for Financial Risk Management," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, volume 2, chapter 0, pages 1127-1220, Elsevier.
    5. Panagiotidis, Theodore & Papapanagiotou, Georgios & Stengos, Thanasis, 2022. "On the volatility of cryptocurrencies," Research in International Business and Finance, Elsevier, vol. 62(C).
    6. Degiannakis, Stavros & Xekalaki, Evdokia, 2004. "Autoregressive Conditional Heteroskedasticity (ARCH) Models: A Review," MPRA Paper 80487, University Library of Munich, Germany.
    7. Torben G. Andersen & Tim Bollerslev & Peter F. Christoffersen & Francis X. Diebold, 2005. "Volatility Forecasting," PIER Working Paper Archive 05-011, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania.
    8. Andersen, Torben G. & Bollerslev, Tim & Christoffersen, Peter F. & Diebold, Francis X., 2006. "Volatility and Correlation Forecasting," Handbook of Economic Forecasting, in: G. Elliott & C. Granger & A. Timmermann (ed.), Handbook of Economic Forecasting, edition 1, volume 1, chapter 15, pages 777-878, Elsevier.
    9. Mauro Bernardi & Leopoldo Catania, 2016. "Comparison of Value-at-Risk models using the MCS approach," Computational Statistics, Springer, vol. 31(2), pages 579-608, June.
    10. Asai, Manabu & McAleer, Michael, 2015. "Leverage and feedback effects on multifactor Wishart stochastic volatility for option pricing," Journal of Econometrics, Elsevier, vol. 187(2), pages 436-446.
    11. Ñíguez, Trino-Manuel & Perote, Javier, 2017. "Moments expansion densities for quantifying financial risk," The North American Journal of Economics and Finance, Elsevier, vol. 42(C), pages 53-69.
    12. Mehmet Sahiner, 2022. "Forecasting volatility in Asian financial markets: evidence from recursive and rolling window methods," SN Business & Economics, Springer, vol. 2(10), pages 1-74, October.
    13. Gavriilidis, Konstantinos & Kambouroudis, Dimos S. & Tsakou, Katerina & Tsouknidis, Dimitris A., 2018. "Volatility forecasting across tanker freight rates: The role of oil price shocks," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 118(C), pages 376-391.
    14. Tim Bollerslev, 2008. "Glossary to ARCH (GARCH)," CREATES Research Papers 2008-49, Department of Economics and Business Economics, Aarhus University.
    15. Xue Gong & Weiguo Zhang & Yuan Zhao & Xin Ye, 2023. "Forecasting stock volatility with a large set of predictors: A new forecast combination method," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1622-1647, November.
    16. Cristina Amado & Annastiina Silvennoinen & Timo Teräsvirta, 2018. "Models with Multiplicative Decomposition of Conditional Variances and Correlations," CREATES Research Papers 2018-14, Department of Economics and Business Economics, Aarhus University.
    17. Kris Boudt & Hong Anh Luu, 2022. "Estimation and decomposition of food price inflation risk," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 31(2), pages 295-319, June.
    18. Zouheir Mighri, 2018. "On the Dynamic Linkages Among International Emerging Currencies," Journal of Quantitative Economics, Springer;The Indian Econometric Society (TIES), vol. 16(2), pages 427-473, June.
    19. Chong, James, 2005. "The forecasting abilities of implied and econometric variance-covariance models across financial measures," Journal of Economics and Business, Elsevier, vol. 57(5), pages 463-490.
    20. Caporale, Guglielmo Maria & Zekokh, Timur, 2019. "Modelling volatility of cryptocurrencies using Markov-Switching GARCH models," Research in International Business and Finance, Elsevier, vol. 48(C), pages 143-155.

    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:kap:compec:v:63:y:2024:i:4:d:10.1007_s10614-023-10373-8. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.