IDEAS home Printed from https://ideas.repec.org/a/spr/snopef/v5y2024i3d10.1007_s43069-024-00352-6.html
   My bibliography  Save this article

Predicting Cryptocurrency Prices During Periods of Conflict: A Comparative Sentiment Analysis Using SVM, CNN-LSTM, and Pysentimento

Author

Listed:
  • Muhammad Nabil Rateb

    (Alexandria University)

  • Sameh Alansary

    (Alexandria University)

  • Marwa Khamis Elzouka

    (Alexandria University)

  • Mohamad Galal

    (Nile University, 26th of July Corridor Sheikh Zayed City)

Abstract

In this paper, we propose a method for predicting the prices and trends of cryptocurrencies using sentiment analysis and time series forecasting. In this study, more than one million tweets spanning 3 months (March, June, and December 2022) regarding three cryptocurrencies, Bitcoin (BTC), Ethereum (ETH), and Binance Coin (BNB) during the Russian-Ukrainian War, are considered. Two models, a convolutional neural network with long short-term memory (CNN-LSTM) and a support vector machine (SVM) with GloVe and TF-IDF features, are trained on a labeled dataset of more than fifty thousand tweets about Bitcoin labeled as positive, negative, and neutral. A pretrained model (Pysentimento) for sentiment analysis is also employed to compare the performances of the three models. The models are tested on the labeled dataset and then evaluated on the unlabeled tweets, revealing that Pysentimento’s level of accuracy outperforms the other two models. Google Trends, along with the opening and closing prices, and the volume of the three cryptocurrencies, in addition to the results of Pysentimento sentiment classification, are employed to apply the Pearson correlation coefficient and conduct price prediction analysis using the SARIMA model. It is found that Bitcoin may appeal to those seeking stability and a known record of accomplishment, while Binance Coin and Ethereum may attract investors looking for more diverse opportunities. A data-centric approach that can provide valuable insights and predictions for the cryptocurrency market, especially in the context of the Russian-Ukrainian War, which poses significant challenges and uncertainties for investors and traders, is demonstrated.

Suggested Citation

  • Muhammad Nabil Rateb & Sameh Alansary & Marwa Khamis Elzouka & Mohamad Galal, 2024. "Predicting Cryptocurrency Prices During Periods of Conflict: A Comparative Sentiment Analysis Using SVM, CNN-LSTM, and Pysentimento," SN Operations Research Forum, Springer, vol. 5(3), pages 1-40, September.
  • Handle: RePEc:spr:snopef:v:5:y:2024:i:3:d:10.1007_s43069-024-00352-6
    DOI: 10.1007/s43069-024-00352-6
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s43069-024-00352-6
    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/s43069-024-00352-6?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. N. L. Balasudarsun & Bikramaditya Ghosh & Sathish Mahendran, 2022. "Impact of Negative Tweets on Diverse Assets during Stressful Events: An Investigation through Time-Varying Connectedness," JRFM, MDPI, vol. 15(6), pages 1-12, June.
    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. Ghosh, Bikramaditya & Pham, Linh & Gubareva, Mariya & Teplova, Tamara, 2023. "Energy transition metals and global sentiment: Evidence from extreme quantiles," Resources Policy, Elsevier, vol. 86(PA).

    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:spr:snopef:v:5:y:2024:i:3:d:10.1007_s43069-024-00352-6. 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.