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

Forecasting Cryptocurrency Prices Using Deep Learning: Integrating Financial, Blockchain, and Text Data

Author

Listed:
  • Vincent Gurgul
  • Stefan Lessmann
  • Wolfgang Karl Hardle

Abstract

This paper explores the application of Machine Learning (ML) and Natural Language Processing (NLP) techniques in cryptocurrency price forecasting, specifically Bitcoin (BTC) and Ethereum (ETH). Focusing on news and social media data, primarily from Twitter and Reddit, we analyse the influence of public sentiment on cryptocurrency valuations using advanced deep learning NLP methods. Alongside conventional price regression, we treat cryptocurrency price forecasting as a classification problem. This includes both the prediction of price movements (up or down) and the identification of local extrema. We compare the performance of various ML models, both with and without NLP data integration. Our findings reveal that incorporating NLP data significantly enhances the forecasting performance of our models. We discover that pre-trained models, such as Twitter-RoBERTa and BART MNLI, are highly effective in capturing market sentiment, and that fine-tuning Large Language Models (LLMs) also yields substantial forecasting improvements. Notably, the BART MNLI zero-shot classification model shows considerable proficiency in extracting bullish and bearish signals from textual data. All of our models consistently generate profit across different validation scenarios, with no observed decline in profits or reduction in the impact of NLP data over time. The study highlights the potential of text analysis in improving financial forecasts and demonstrates the effectiveness of various NLP techniques in capturing nuanced market sentiment.

Suggested Citation

  • Vincent Gurgul & Stefan Lessmann & Wolfgang Karl Hardle, 2023. "Forecasting Cryptocurrency Prices Using Deep Learning: Integrating Financial, Blockchain, and Text Data," Papers 2311.14759, arXiv.org.
  • Handle: RePEc:arx:papers:2311.14759
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Chen, Cathy Yi-Hsuan & Després, Roméo & Guo, Li & Renault, Thomas, 2019. "What makes cryptocurrencies special? Investor sentiment and return predictability during the bubble," IRTG 1792 Discussion Papers 2019-016, Humboldt University of Berlin, International Research Training Group 1792 "High Dimensional Nonstationary Time Series".
    2. Leung, Mark T. & Daouk, Hazem & Chen, An-Sing, 2000. "Forecasting stock indices: a comparison of classification and level estimation models," International Journal of Forecasting, Elsevier, vol. 16(2), pages 173-190.
    3. Vytautas Karalevicius & Niels Degrande & Jochen De Weerdt, 2018. "Using sentiment analysis to predict interday Bitcoin price movements," Journal of Risk Finance, Emerald Group Publishing Limited, vol. 19(1), pages 56-75, 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. 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).
    2. Bouteska, Ahmed & Mefteh-Wali, Salma & Dang, Trung, 2022. "Predictive power of investor sentiment for Bitcoin returns: Evidence from COVID-19 pandemic," Technological Forecasting and Social Change, Elsevier, vol. 184(C).
    3. ?ikolaos A. Kyriazis, 2021. "Impacts of Stock Indices, Oil, and Twitter Sentiment on Major Cryptocurrencies during the COVID-19 First Wave," Bulletin of Applied Economics, Risk Market Journals, vol. 8(2), pages 133-146.
    4. Yousaf, Imran & Youssef, Manel & Goodell, John W., 2022. "Quantile connectedness between sentiment and financial markets: Evidence from the S&P 500 twitter sentiment index," International Review of Financial Analysis, Elsevier, vol. 83(C).
    5. Olson, Dennis & Mossman, Charles, 2003. "Neural network forecasts of Canadian stock returns using accounting ratios," International Journal of Forecasting, Elsevier, vol. 19(3), pages 453-465.
    6. Sapkota, Niranjan, 2022. "News-based sentiment and bitcoin volatility," International Review of Financial Analysis, Elsevier, vol. 82(C).
    7. Sheng‐Tun Li & Kuei‐Chen Chiu & Chien‐Chang Wu, 2023. "Apply big data analytics for forecasting the prices of precious metals futures to construct a hedging strategy for industrial material procurement," Managerial and Decision Economics, John Wiley & Sons, Ltd., vol. 44(2), pages 942-959, March.
    8. Alla A. Petukhina & Raphael C. G. Reule & Wolfgang Karl Härdle, 2021. "Rise of the machines? Intraday high-frequency trading patterns of cryptocurrencies," The European Journal of Finance, Taylor & Francis Journals, vol. 27(1-2), pages 8-30, January.
    9. Wu, Shue-Jen & Lee, Wei-Ming, 2015. "Predicting severe simultaneous bear stock markets using macroeconomic variables as leading indicators," Finance Research Letters, Elsevier, vol. 13(C), pages 196-204.
    10. Thomas Renault, 2020. "Sentiment analysis and machine learning in finance: a comparison of methods and models on one million messages," Digital Finance, Springer, vol. 2(1), pages 1-13, September.
    11. David G. McMillan, 2003. "Non‐linear Predictability of UK Stock Market Returns," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 65(5), pages 557-573, December.
    12. Kajtazi, Anton & Moro, Andrea, 2019. "The role of bitcoin in well diversified portfolios: A comparative global study," International Review of Financial Analysis, Elsevier, vol. 61(C), pages 143-157.
    13. Matthew F Dixon, 2017. "A High Frequency Trade Execution Model for Supervised Learning," Papers 1710.03870, arXiv.org, revised Dec 2017.
    14. Jaydip Sen & Tamal Datta Chaudhuri, 2017. "A Time Series Analysis-Based Forecasting Framework for the Indian Healthcare Sector," Papers 1705.01144, arXiv.org.
    15. Harri Pönkä, 2017. "Predicting the direction of US stock markets using industry returns," Empirical Economics, Springer, vol. 52(4), pages 1451-1480, June.
    16. Gaies, Brahim & Nakhli, Mohamed Sahbi & Sahut, Jean-Michel & Schweizer, Denis, 2023. "Interactions between investors’ fear and greed sentiment and Bitcoin prices," The North American Journal of Economics and Finance, Elsevier, vol. 67(C).
    17. Flori, Andrea, 2019. "News and subjective beliefs: A Bayesian approach to Bitcoin investments," Research in International Business and Finance, Elsevier, vol. 50(C), pages 336-356.
    18. Tania Morris & Jules Comeau, 2020. "Portfolio creation using artificial neural networks and classification probabilities: a Canadian study," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 34(2), pages 133-163, June.
    19. A. V. Biju & Aparna Merin Mathew & P. P. Nithi Krishna & M. P. Akhil, 2022. "Is the future of bitcoin safe? A triangulation approach in the reality of BTC market through a sentiments analysis," Digital Finance, Springer, vol. 4(4), pages 275-290, December.
    20. Chi, Li-Chiu & Tang, Tseng-Chung, 2007. "Impact of reorganization announcements on distressed-stock returns," Economic Modelling, Elsevier, vol. 24(5), pages 749-767, September.

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