Abstract
How the online social media, like Twitter or its variant Weibo, interacts with the stock market and whether it can be a convincing proxy to predict the stock market have been debated for years, especially for China. As the traditional theory in behavioral finance states, the individual emotions can influence decision-makings of investors, it is reasonable to further explore these controversial topics systematically from the perspective of online emotions, which are richly carried by massive tweets in social media. Through thorough studies on over 10 million stock-relevant tweets and 3 million investors from Weibo, it is revealed that inexperienced investors with high emotional volatility are more sensible to the market fluctuations than the experienced or institutional ones, and their dominant occupation also indicates that the Chinese market might be more emotional as compared to its western counterparts. Then both correlation analysis and causality test demonstrate that five attributes of the stock market in China can be competently predicted by various online emotions, like disgust, joy, sadness and fear. Specifically, the presented prediction model significantly outperforms the baseline model, including the one taking purely financial time series as input features, on predicting five attributes of the stock market under the $K$-means discretization. We also employ this prediction model in the scenario of realistic online application and its performance is further testified.
Introduction
The relationship between social media sentiment and the stock market has been a subject of intense academic and practical debate. While much research has focused on Western markets like the NYSE, the Chinese stock market presents a unique landscape characterized by significant government intervention and a high proportion of individual retail investors. This study explores whether online emotions, captured from millions of tweets on Weibo, can serve as a reliable proxy for predicting market movements in China.
Methodology and Data
The researchers analyzed a massive dataset comprising 10,550,525 stock-relevant tweets from approximately 3.3 million Weibo users between December 2014 and December 2015.
The methodology involved a multi-stage pipeline:
- Sentiment Classification: A Naive Bayes classifier categorized tweets into five core emotions: anger, disgust, joy, sadness, and fear.
- Investor Categorization: Users were segmented by follower count ("F-level") to distinguish between inexperienced retail investors and institutional ones.
- Statistical Analysis: Pearson correlation and Granger causality tests identified predictive relationships between specific emotions and market attributes such as opening/closing prices and trading volume.
- Prediction Modeling: An SVM-ES (Support Vector Machine with Emotion Selection) model was developed to classify market states into bearish, stable, or bullish categories.
Emotional Volatility and Investor Demographics
A key finding is the "Newbie Effect." Over 98% of the investors in the dataset were classified as inexperienced (F-levels I and II). These users exhibited significantly higher emotional volatility than professional investors (F-level III), suggesting that the Chinese market's emotional nature is driven by its retail-heavy composition. Furthermore, female investors showed higher emotional volatility (0.433) compared to males (0.312), indicating greater sensitivity to market fluctuations in their social media expressions.
Emotional Triggers and Market Correlation
The study tracked the proportions of five core emotions over time, revealing distinct patterns tied to specific market events.
As shown in the figure, specific events triggered sharp emotional responses:
- Anger: Spiked during "heated arguments" but showed almost no correlation or causal link with market movements.
- Sadness: Correlated strongly with "stock plunges" and trading volume.
- Fear: Showed a persistent rise during the market decline starting in June 2015.
- Joy and Disgust: Along with fear, these were found to be competent predictors for the opening index.
Predictive Performance
The SVM-ES model, which utilizes only the most "causal" emotions as features, consistently outperformed baseline models, including those using purely financial data. In real-world application tests, the model achieved 64.15% accuracy in predicting the intra-day highest index and 60.38% for trading volume. The superiority of non-linear SVM over linear Logistic Regression confirms that the relationship between collective human emotion and financial markets is complex and non-linear.
Conclusion
This research confirms that online emotions on Weibo are not just noise but contain predictive signals for the Chinese stock market. While the "Anger Paradox" suggests some emotions are decoupled from financial value, others like disgust, joy, and fear are vital indicators. Future work will focus on incremental learning to adapt to shifting market cycles and identifying "expert" emotional signals for more refined trading strategies.
Summary updated