Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting

BTC_Price_Sentiment Teaser


Recently, various methods to predict the future price of financial assets have emerged. One promising approach is to combine the historic price with sentiment scores derived via sentiment analysis techniques. In this article, we focus on predicting the future price of Bitcoin, which is currently the most popular cryptocurrency. More precisely, we propose a hybrid approach, combining time series forecasting and sentiment prediction from microblogs, to predict the intraday price of Bitcoin. Moreover, in addition to standard sentiment analysis methods, we are the first to employ a fine-tuned BERT model for this task. We also introduce a novel weighting scheme in which the weight of the sentiment of each tweet depends on the number of its creator’s followers. For evaluation, we consider periods with strongly varying ranges of Bitcoin prices. This enables us to assess the models w.r.t. robustness and generalization to varied market conditions. Our experiments demonstrate that BERT-based sentiment analysis and the proposed weighting scheme improve upon previous methods. Specifically, our hybrid models that use linear regression as the underlying forecasting algorithm perform best in terms of the mean absolute error (MAE of 2.67) and root mean squared error (RMSE of 3.28). However, more complicated models, particularly long short-term memory networks and temporal convolutional networks, tend to have generalization and overfitting issues, resulting in considerably higher MAE and RMSE scores.


Markus Frohmann, Manuel Karner, Said Khudoyan, Robert Wagner, Markus Schedl
Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting
Big Data and Cognitive Computing, 7(3): 20, doi:10.3390/bdcc7030137, 2023.


    title = {Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting},
    author = {Frohmann, Markus and Karner, Manuel and Khudoyan, Said and Wagner, Robert and Schedl, Markus},
    journal = {Big Data and Cognitive Computing},
    publisher = {MDPI},
    doi = {10.3390/bdcc7030137},
    url = {},
    volume = {7},
    number = {3},
    pages = {20},
    month = {August},
    year = {2023}