skip to main content
10.1145/3663741.3664791acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Predicting Bitcoin price movement through Sentiment Analysis: A Comprehensive Study

Published: 09 June 2024 Publication History

Abstract

The people’s feelings in tweets can affect on the direction of Bitcoin price. The study aimed to figure out how much Twitter posts affect the price movement of Bitcoin. It was tried to find accurate prediction models through a Sentiment Analysis (SA) that can predict these changes. Data collection was included real-time Twitter data from January 31, 2023, to June 6, 2023, focusing on English tweets containing the keyword "bitcoin". These data were paired with hourly Bitcoin price data, covering open, high, low, close, and volume values. Two pre-trained RoBERTa models (Tweetnlp and BERTweet) were used to perform SA on the collected tweets. Three neural network models (Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Bidirectional LSTM (BiLSTM)) were explored and evaluated at different temporal granularities ranging from 2 hours to 17 hours. The findings showed that combining SA could improve prediction accuracy in a specific time horizon. The highest accuracy (90.3%) was achieved by a 2-layer GRU incorporating Tweetnlp sentiment analysis at a 16-hour lag. The research offers valuable insights into the role of SA in understanding and potentially predicting fluctuations in Bitcoin prices, highlighting its significance in the realm of cryptocurrency analysis. Future research could explore additional factors affecting the connection between social media sentiment and Bitcoin price.

Supplemental Material

PDF File
Attachment 1
PDF File
Attachment 1
PDF File
Attachment 1
PPTX File
Explore the fascinating interplay between social media sentiment and Bitcoin price movements in our presentation based on the paper "Predicting Bitcoin Price Movement through Sentiment Analysis: A Comprehensive Study." Discover how Twitter data from January 31, 2023, to June 6, 2023, paired with hourly Bitcoin price data, elucidates the impact of sentiment on cryptocurrency markets. Through the utilization of advanced sentiment analysis techniques and neural network models, uncover the intricate dynamics influencing price predictions at various temporal granularities. Gain valuable insights into the evolving landscape of cryptocurrency analysis and the potential implications for future research endeavors.

References

[1]
Jose Camacho collados et al.2022. TweetNLP: Cutting-Edge Natural Language Processing for Social Media. Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations (2022). https://doi.org/10.18653/v1/2022.emnlp-demos.5
[2]
A. Dimitriadou and A. Gregoriou. 2023. Predicting Bitcoin Prices Using Machine Learning. Entropy (2023). https://doi.org/10.3390/e25050777
[3]
Frohmann et al. 2023. Predicting the Price of Bitcoin sing Sentiment-Enriched Time Series Forecasting. Big Data Cogn. Comput (2023). https://doi.org/10.3390/bdcc7030137
[4]
Giulia Serafini et al.2020. Sentiment-Driven Price Prediction of the Bitcoin based on Statistical and Deep Learning Approaches. 2020 International Joint Conference on Neural Networks (IJCNN) (2020), 19–24. https://doi.org/10.1109/IJCNN48605.2020.9206704
[5]
Ibrahim et al. 2021. Predicting market movement direction for bitcoin: A comparison of time series modeling methods. Engineering (2021). https://doi.org/10.1016/j.compeleceng.2020.106905
[6]
Ifigeneia Georgoula et al.2015. Using Time-Series and Sentiment Analysis to Detect the Determinants of Bitcoin Prices. (2015). https://doi.org/10.2139/ssrn.2607167
[7]
Jeffrey Chu et al.2017. GARCH Modelling of Cryptocurrencies. Journal of Risk and Financial Management 10, 4 (2017), 17. https://doi.org/10.3390/jrfm10040017
[8]
J.M. Low et al.2023. Deep Learning and Sentiment Analysis-Based Cryptocurrency Price Prediction. In Advances in Visual Informatics: IVIC 2023(Lecture Notes in Computer Science, Vol. 14322). Springer, Singapore. https://doi.org/10.1007/978-981-99-7339-2_4
[9]
Juan Manuel Pérez et al.2021. pysentimiento: A Python Toolkit for Opinion Mining and Social NLP tasks. Computation and Language (2021). https://doi.org/10.48550/arXiv.2106.09462
[10]
Kate Murray et al.2023. On Forecasting Cryptocurrency Prices: A Comparison of Machine Learning, Deep Learning, and Ensembles. Forecasting 5, 1 (2023), 196–209. https://doi.org/10.3390/forecast5010010
[11]
Markus Frohmann et al.2023. Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting. Big Data Cogn. Comput 7, 3 (2023), 14–15. https://doi.org/10.1109/MACS48846.2019.9024772
[12]
P. Basile et al.2017. Sentiment Analysis of Microblogging Data. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-7163-9_110168-1
[13]
Sudhanshu Kumar et al.2023. A Comprehensive Review on Sentiment Analysis: Tasks, Approaches and Applications. arXiv (2023). https://doi.org/10.48550/arXiv.2311.11250
[14]
Wang Zhengyang et al.2019. Prediction of Cryptocurrency Price Dynamics with Multiple Machine Learning Techniques. ICMLT ’19: Proceedings of the 2019 4th International Conference on Machine Learning Technologies (2019), 15–19. https://doi.org/10.1145/3340997.3341008
[15]
Zeba Ayaz et al.2020. Bitcoin Price Prediction using ARIMA Model. TechRxiv (2020). https://doi.org/10.36227/techrxiv.12098067.v1
[16]
Zhenyu Liu et al.2020. Forecast Methods for Time Series Data: A Survey. IEEE Access (2020). https://doi.org/10.1109/ACCESS.2021.3091162
[17]
Jacques Vella Critien; Albert Gatt and Joshua Ellul. 2022. Bitcoin price change and trend prediction through twitter sentiment and data volume. Financ Innov 8, 45 (2022). https://doi.org/10.1186/s40854-022-00352-7
[18]
S. Bhatt; M. Ghazanfar and M. Amirhosseini. 2023. Sentiment-Driven Cryptocurrency Price Prediction: A Machine Learning Approach Utilizing Historical Data and Social Media Sentiment Analysis. Machine Learning and Applications: An International Journal (MLAIJ) 10, 2/3 (2023), 1–15. https://doi.org/10.5121/mlaij.2023.10301
[19]
Yiqing Hua. 2020. Bitcoin price prediction using ARIMA and LSTM. In 2020 International Symposium on Energy, Environmental Science and Engineering (ISEESE 2020). https://doi.org/10.1051/e3sconf/202021801050
[20]
C. Hutto and Eric Gilbert. 2014. VADER: A Parsimonious Rule-Based Model for Sentiment Analysis of Social Media Text. (2014): Eighth International AAAI Conference on Weblogs and Social Media 8, 1 (2014), 14–15. https://doi.org/10.1609/icwsm.v8i1.14550
[21]
Rob J. Hyndman and George Athanasopoulos. 2021. Forecasting: principles and practice (3rd ed.). OTexts, Melbourne, Australia. https://otexts.com/fpp3/
[22]
Patrick Jaquart; Sven Köpke and Christof Weinhardt. 2022. Machine learning for cryptocurrency market prediction and trading. The Journal of Finance and Data Science 8 (November 2022), 331–352. https://doi.org/10.1016/j.jfds.2022.12.001
[23]
Kristoufek L.2015. What Are the Main Drivers of the Bitcoin Price? Evidence from Wavelet Coherence Analysis. PLoS ONE 10(4): e0123923s (2015). https://doi.org/10.1371/journal.pone.012392
[24]
Lingyun Zhao; Lin Li and Xinhao Zheng. [n. d.]. A BERT based Sentiment Analysis and Key Entity Detection Approach for Online Financial Texts. Computation and Language ([n. d.]), 2020. https://doi.org/10.48550/arXiv.2001.05326
[25]
Md Shohel Sayeed; Varsha Mohan and Kalaiarasi Sonai Muthu Anbananthen. 2023. BERT: A Review of Applications in Sentiment Analysis. HighTech and Innovation Journal 4, 2 (2023), 453–462. https://doi.org/10.28991/HIJ-2023-04-02-015
[26]
Muhammad Rizwan; Sanam Narejo and Moazzam Javed. 2019. Bitcoin price prediction using Deep Learning Algorithm. 2019 13th International Conference on Mathematics, Actuarial Science, Computer Science and Statistics (MACS) (2019), 14–15. https://doi.org/10.1109/MACS48846.2019.9024772
[27]
Nakamoto S.2009. Bitcoin: A Peer-to-Peer Electronic Cash System. (2009). https://bitcoin.org/bitcoin.pdf
[28]
Muhammad Sanwal and Muhammad Mamoon Mazhar. 2019. Performance Comparison of Machine Learning and Deep Learning Models for Sentiment Analysis of Hotel Reviews. International Journal of Information Technology and Applied Sciences (IJITAS) 5, 1 (2019), 01–07. https://doi.org/10.5281/zenodo.8225185
[29]
Yang Si. 2022. Using ARIMA model to analyse and predict bitcoin price. BCP Business and Management 34 (2022), 1210–1216. https://doi.org/10.54691/bcpbm.v34i.3161
[30]
Dat Quoc Nguyen; Thanh Vu and Anh Tuan Nguyen. 2020. BERTweet: A pre-trained language model for English Tweets. In Proceedings of EMNLP 2020: System Demonstrations (2020). https://doi.org/10.48550/arXiv.2005.10200

Index Terms

  1. Predicting Bitcoin price movement through Sentiment Analysis: A Comprehensive Study

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    BiDEDE '24: Proceedings of the International Workshop on Big Data in Emergent Distributed Environments
    June 2024
    53 pages
    ISBN:9798400706790
    DOI:10.1145/3663741
    • Editors:
    • Philippe Cudré-Mauroux,
    • Andrea Kö,
    • Robert Wrembel
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 09 June 2024

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. BERT
    2. BiLSTM
    3. Bitcoin Price Movement Prediction
    4. GRU
    5. RoBERTa LSTM
    6. Sentiment Analysis

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    SIGMOD/PODS '24
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 25 of 47 submissions, 53%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 68
      Total Downloads
    • Downloads (Last 12 months)68
    • Downloads (Last 6 weeks)5
    Reflects downloads up to 22 Sep 2024

    Other Metrics

    Citations

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media