[Paper Review] Predictive analysis of Bitcoin price considering social sentiments
This study proposes a deep learning approach to predict Bitcoin price by integrating historical cryptocurrency prices with sentiment analysis from Google News and Reddit. Using an LSTM model with features from both social media and financial data, the method achieves a test RMSE of 434.87, demonstrating that social sentiment significantly improves price prediction accuracy beyond price history alone.
We report on the use of sentiment analysis on news and social media to analyze and predict the price of Bitcoin. Bitcoin is the leading cryptocurrency and has the highest market capitalization among digital currencies. Predicting Bitcoin values may help understand and predict potential market movement and future growth of the technology. Unlike (mostly) repeating phenomena like weather, cryptocurrency values do not follow a repeating pattern and mere past value of Bitcoin does not reveal any secret of future Bitcoin value. Humans follow general sentiments and technical analysis to invest in the market. Hence considering people's sentiment can give a good degree of prediction. We focus on using social sentiment as a feature to predict future Bitcoin value, and in particular, consider Google News and Reddit posts. We find that social sentiment gives a good estimate of how future Bitcoin values may move. We achieve the lowest test RMSE of 434.87 using an LSTM that takes as inputs the historical price of various cryptocurrencies, the sentiment of news articles and the sentiment of Reddit posts.
Motivation & Objective
- To investigate whether social media and news sentiment can improve Bitcoin price prediction beyond traditional technical analysis.
- To develop a machine learning model that integrates sentiment features from diverse sources like Google News and Reddit with historical cryptocurrency price and volume data.
- To evaluate the predictive performance of various deep learning architectures—LSTM, GRU, and CNN—on the combined dataset.
- To determine the relative contribution of different sentiment sources (Google News vs. Reddit) to prediction accuracy.
Proposed method
- Collected hourly Bitcoin, Litecoin, and Ethereum price and volume data from cryptocurrency exchanges between January 1, 2018, and November 20, 2019.
- Crawled daily Google News articles using a custom Python script with HTTP requests and the 'newspaper' library to extract full article text.
- Gathered Reddit post data using web scraping, focusing on publicly available threads and comments.
- Performed sentiment analysis on news and Reddit text using pre-trained models, extracting polarity and subjectivity scores from VADER, TextBlob, and Flair.
- Combined sentiment scores with historical price and volume features into a unified dataset for model training.
- Trained and evaluated multiple deep learning models (LSTM, GRU, CNN) using a look-back window of 60 or 120 time steps, optimizing for RMSE and MAE.
Experimental results
Research questions
- RQ1Can social media and news sentiment improve the accuracy of Bitcoin price prediction compared to models using only historical price data?
- RQ2Which sentiment source—Google News or Reddit—provides more predictive signal for Bitcoin price movements?
- RQ3How do different deep learning architectures (LSTM, GRU, CNN) perform when incorporating sentiment and price features?
- RQ4Does combining sentiment from multiple sources yield better predictive performance than using individual sources?
Key findings
- The LSTM model incorporating all features—including Bitcoin, Litecoin, and Ethereum price and volume data, and sentiment from both Google News and Reddit—achieved the lowest test RMSE of 434.87.
- Experiment #8, which used only Reddit sentiment and price data, outperformed Experiment #7 (Google News and price data), indicating Reddit sentiment is more predictive than Google News sentiment.
- Despite using no sentiment features, Experiment #5 achieved a low test RMSE of 789.86, suggesting that historical price data alone has strong predictive power, but sentiment still adds value.
- Experiment #17, which used all sentiment features but with a different model configuration, produced the highest test RMSE of 2615.3, indicating that feature and model selection critically affects performance.
- Visual analysis confirmed that the best-performing model (Experiment #4) closely followed actual Bitcoin price trends, while the worst-performing model (Experiment #17) showed significant deviation.
- The study found that sentiment from Reddit, particularly in terms of polarity and subjectivity, was more strongly correlated with price movements than sentiment from Google News.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.