Investigating the effectiveness of Twitter sentiment in cryptocurrency close price prediction by using deep learning

Bahareh Amirshahi,Salim Lahmiri
DOI: https://doi.org/10.1111/exsy.13428
IF: 3.3
2023-08-26
Expert Systems
Abstract:In recent years, cryptocurrencies' price prediction has attracted the interest of many people including investors, researchers and practitioners. In this study, we proposed a hybrid model for predicting the daily close price of cryptocurrencies based on different neural networks such as long short‐term memory, convolutional neural network and attention mechanism. Using an ensemble of three pre‐trained language models, we extracted sentiment of cryptocurrency‐related tweets posted between 1 January 2021 and 31 December 2021. We constructed 20 different versions of our model and evaluated their performance on data of 27 most traded cryptocurrencies using a history of previous days' sentiment data along with close prices as input data. The flexible input layer of our model enables different ways of feeding data into the model to adjust it for different cryptocurrencies to obtain better predictions. Our analysis revealed several important findings. We showed that longer sequences of input data achieve most accurate predictions on average. More specifically, using a history of 14‐ and 21‐days' data results in lowest RMSE values on average compared to using a history of 7 days. However, there is no significant difference between the results related to the input sequences with lengths of 14 and 21. In addition, our findings suggest that sentiment data can be useful in predicting prices for more than 70% of the studied cryptocurrencies. Thus, peoples' emotions, opinions, and sentiment that are expressed through their posts on Twitter platform play a significant role in prediction of cryptocurrencies' prices.
computer science, artificial intelligence, theory & methods
What problem does this paper attempt to address?