[Paper Review] A Sentiment Analysis Approach to the Prediction of Market Volatility
This paper proposes a hybrid sentiment and topic modeling approach to predict next-day market volatility using financial news and Twitter data. By combining Latent Dirichlet Allocation (LDA) for topic extraction with sentiment analysis, the model achieves 63% directional accuracy in predicting volatility, with a strong negative correlation (r = -0.7) between positive Twitter sentiment and next-day volatility.
Prediction and quantification of future volatility and returns play an important role in financial modelling, both in portfolio optimization and risk management. Natural language processing today allows to process news and social media comments to detect signals of investors' confidence. We have explored the relationship between sentiment extracted from financial news and tweets and FTSE100 movements. We investigated the strength of the correlation between sentiment measures on a given day and market volatility and returns observed the next day. The findings suggest that there is evidence of correlation between sentiment and stock market movements: the sentiment captured from news headlines could be used as a signal to predict market returns; the same does not apply for volatility. Also, in a surprising finding, for the sentiment found in Twitter comments we obtained a correlation coefficient of -0.7, and p-value below 0.05, which indicates a strong negative correlation between positive sentiment captured from the tweets on a given day and the volatility observed the next day. We developed an accurate classifier for the prediction of market volatility in response to the arrival of new information by deploying topic modelling, based on Latent Dirichlet Allocation, to extract feature vectors from a collection of tweets and financial news. The obtained features were used as additional input to the classifier. Thanks to the combination of sentiment and topic modelling our classifier achieved a directional prediction accuracy for volatility of 63%.
Motivation & Objective
- To investigate whether sentiment extracted from financial news and social media can predict stock market volatility and returns.
- To evaluate the predictive power of sentiment in headlines, full news stories, and tweets on the FTSE100 index.
- To assess whether topic modeling via LDA enhances the accuracy of volatility direction prediction.
- To determine if sentiment and topic features can be combined effectively for improved market timing signals.
- To explore the causal relationship between sentiment and market movements using Granger causality tests.
Proposed method
- Collected financial news headlines, full stories, and tweets from Thomson Reuters, RavenPack, and Twitter using keyword-based filtering.
- Applied pre-trained sentiment analysis tools to compute daily sentiment scores for each data source.
- Used Latent Dirichlet Allocation (LDA) to extract topic distributions from daily collections of news and tweets.
- Combined sentiment scores and LDA topic vectors as input features for a logistic regression classifier.
- Trained the classifier to predict the direction (up/down) of next-day market volatility.
- Evaluated model performance using standard metrics: accuracy, precision, recall, and F1-score via scikit-learn.
Experimental results
Research questions
- RQ1Is there a statistically significant correlation between daily sentiment in financial news and FTSE100 returns or volatility?
- RQ2Does sentiment from Twitter exhibit stronger predictive power for market volatility than sentiment from news headlines?
- RQ3Can topic modeling of news and social media content improve the accuracy of volatility direction prediction?
- RQ4Does sentiment in financial text Granger-cause changes in market returns or volatility?
- RQ5How does the inclusion of topic features affect the performance of sentiment-based volatility prediction models?
Key findings
- A strong negative correlation (r = -0.7, p < 0.05) was found between positive sentiment in tweets and next-day market volatility, indicating that higher positive sentiment is associated with lower volatility.
- Sentiment from news headlines showed a statistically significant negative correlation with FTSE100 returns, but not with volatility.
- The hybrid model combining sentiment and LDA topic features achieved a directional prediction accuracy of 63% for market volatility.
- The headlines dataset yielded the highest model accuracy (65%), followed by tweets (64%) and full stories (67%), though precision varied by data type.
- Topic modeling alone provided predictive signal for volatility direction, with the model's accuracy being sensitive to the number of topics selected.
- Granger causality tests failed to reject the null hypothesis (p > 0.10), indicating no strong evidence that sentiment causes changes in market returns or volatility.
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.