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

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

Full description

Bibliographic Details
Main Authors: Markus Frohmann, Manuel Karner, Said Khudoyan, Robert Wagner, Markus Schedl
Format: Article
Language:English
Published: MDPI AG 2023-07-01
Series:Big Data and Cognitive Computing
Subjects:
Online Access:https://www.mdpi.com/2504-2289/7/3/137
_version_ 1797581247406407680
author Markus Frohmann
Manuel Karner
Said Khudoyan
Robert Wagner
Markus Schedl
author_facet Markus Frohmann
Manuel Karner
Said Khudoyan
Robert Wagner
Markus Schedl
author_sort Markus Frohmann
collection DOAJ
description 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.
first_indexed 2024-03-10T23:02:47Z
format Article
id doaj.art-a14fe22b2707432a9efd7569000d77f0
institution Directory Open Access Journal
issn 2504-2289
language English
last_indexed 2024-03-10T23:02:47Z
publishDate 2023-07-01
publisher MDPI AG
record_format Article
series Big Data and Cognitive Computing
spelling doaj.art-a14fe22b2707432a9efd7569000d77f02023-11-19T09:34:15ZengMDPI AGBig Data and Cognitive Computing2504-22892023-07-017313710.3390/bdcc7030137Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series ForecastingMarkus Frohmann0Manuel Karner1Said Khudoyan2Robert Wagner3Markus Schedl4Multimedia Mining and Search Group, Institute of Computational Perception, Johannes Kepler University Linz (JKU), 4040 Linz, AustriaMultimedia Mining and Search Group, Institute of Computational Perception, Johannes Kepler University Linz (JKU), 4040 Linz, AustriaMultimedia Mining and Search Group, Institute of Computational Perception, Johannes Kepler University Linz (JKU), 4040 Linz, AustriaMultimedia Mining and Search Group, Institute of Computational Perception, Johannes Kepler University Linz (JKU), 4040 Linz, AustriaMultimedia Mining and Search Group, Institute of Computational Perception, Johannes Kepler University Linz (JKU), 4040 Linz, AustriaRecently, 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.https://www.mdpi.com/2504-2289/7/3/137time series forecastingsentiment analysisemotion detectionregression analysisdata miningsocial networks
spellingShingle 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
time series forecasting
sentiment analysis
emotion detection
regression analysis
data mining
social networks
title Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting
title_full Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting
title_fullStr Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting
title_full_unstemmed Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting
title_short Predicting the Price of Bitcoin Using Sentiment-Enriched Time Series Forecasting
title_sort predicting the price of bitcoin using sentiment enriched time series forecasting
topic time series forecasting
sentiment analysis
emotion detection
regression analysis
data mining
social networks
url https://www.mdpi.com/2504-2289/7/3/137
work_keys_str_mv AT markusfrohmann predictingthepriceofbitcoinusingsentimentenrichedtimeseriesforecasting
AT manuelkarner predictingthepriceofbitcoinusingsentimentenrichedtimeseriesforecasting
AT saidkhudoyan predictingthepriceofbitcoinusingsentimentenrichedtimeseriesforecasting
AT robertwagner predictingthepriceofbitcoinusingsentimentenrichedtimeseriesforecasting
AT markusschedl predictingthepriceofbitcoinusingsentimentenrichedtimeseriesforecasting