A topic-based sentiment analysis model to predict stock market price movement using Weibo mood
Pub. online: 5 September 2023
Type: Research Article
Published
5 September 2023
5 September 2023
Abstract
Over the past several years, as the development of Internet, social media websites such as Twitter and Weibo have received much attention due to their enormous users. A lot of research has been done on sentiment analysis and opinion mining in these websites. However the number of research on using the data in the social media websites to predict the stock market price movement is limited. Behavioral economics and behavioral finance believe that public mood is correlated with economic indicators and financial decisions are significantly driven by emotions. This paper first presents a Chinese emotion mining approach and discusses whether the public emotions or opinions in the Chinese social media websites could be used to predict the stock market price in China. The experimental results demonstrate that the emotions automatically extracted from the large scale Weibo posts represent the real public opinions about some special topics of the stock market in China. Some public mood states extracted such as the “Happiness” and “Disgust” states are highly correlated with the change of stock price according to the Granger causality analysis. Finally, a nonlinear autoregressive model with exogenous sentiment inputs is proposed to predict the stock price movement.
References
J. Bollen, H. Mao and X. Zeng, Twitter mood predicts the stock market, Computational Science 2(1) (2011), 1–8. doi:10.1016/j.jocs.2010.12.007.
W. Brock, J. Lakonishok and B. LeBaron, Simple technical trading rules and the stochastic properties of stock returns, The Journal of Finance 47(5) (1992), 1731–1764. doi:10.1111/j.1540-6261.1992.tb04681.x.
M. Chau and J. Xu, Mining communities and their relationships in blogs: A study of hate groups, International Journal of Human-Computer Studies 65(1) (2007), 57–70. doi:10.1016/j.ijhcs.2006.08.009.
R.J. Dolan, Emotion, cognition, and behavior, Science 298(5596) (2002), 1191–1194. doi:10.1126/science.1076358.
E.F. Fama, The behavior of stock-market prices, The Journal of Business 38(1) (1965), 34–105. doi:10.1086/294743.
E. Fama, The behavior of stock-market prices, Business 38(1) (1965), 34–105. doi:10.1086/294743.
E.F. Fama, Efficient capital markets: II, The Journal of Finance 46(5) (1991), 1575–1617. doi:10.1111/j.1540-6261.1991.tb04636.x.
R. Fan, J. Zhao, Y. Chen and K. Xu, Anger is more influential than joy: Sentiment correlation in weibo, PloS One 9(10) (2014), e110184. doi:10.1371/journal.pone.0110184.
Q. Gao, F. Abel, G.J. Houben and Y. Yu, A comparative study of users’ microblogging behavior on Sina Weibo and Twitter, in: User Modeling, Adaptation, and Personalization, Springer, 2012, pp. 88–101. doi:10.1007/978-3-642-31454-4_8.
D. Gruhl, R. Guha, R. Kumar, J. Novak and A. Tomkins, The predictive power of online chatter, in: Proceedings of the Eleventh ACM SIGKDD International Conference on Knowledge Discovery in Data Mining, 2005, pp. 78–87. doi:10.1145/1081870.1081883.
A. Gunasekarage and D.M. Power, The profitability of moving average trading rules in South Asian stock markets, Emerging Markets Review 2(1) (2001), 17–33. doi:10.1016/S1566-0141(00)00017-0.
K. Huarng and T.H.-K. Yu, The application of neural networks to forecast fuzzy time series, Physica A: Statistical Mechanics and Its Applications 363(2) (2006), 481–491. doi:10.1016/j.physa.2005.08.014.
G. Leng, G. Prasad and T.M. McGinnity, An on-line algorithm for creating self-organizing fuzzy neural networks, Neural Networks 17(10) (2004), 1477–1493. doi:10.1016/j.neunet.2004.07.009.
X. Li, H. Xie, L. Chen, J. Wang and X. Deng, News impact on stock price return via sentiment analysis, Knowledge-Based Systems 69 (2014), 14–23. doi:10.1016/j.knosys.2014.04.022.
X. Li, H. Xie, Y. Song, S. Zhu, Q. Li and F.L. Wang, Does summarization help stock prediction? A news impact analysis, IEEE Intelligent Systems 30(3) (2015), 26–34. doi:10.1109/MIS.2015.1.
C.R. Nelson and C.R. Plosser, Trends and random walks in macroeconmic time series: Some evidence and implications, Monetary Economics 10 (1982), 139–162. doi:10.1016/0304-3932(82)90012-5.
J.R. Nofsinger, Social mood and financial economics, Behaviour Finance 6(3) (2005), 144–160. doi:10.1207/s15427579jpfm0603_4.
D.E. O’Leary, Blog mining-review and extensions: “From each according to his opinion”, Decision Support Systems 51(4) (2011), 821–830. doi:10.1016/j.dss.2011.01.016.
P.F. Pai and C.S. Lin, A hybrid arima and support vector machines model in stock price forecasting, Omega 33(6) (2005), 497–505. doi:10.1016/j.omega.2004.07.024.
B. Qian and K. Rasheed, Stock market prediction with multiple classifiers, Applied Intelligence 26(1) (2007), 25–33. doi:10.1007/s10489-006-0001-7.
R.P. Schumaker and H. Chen, Textual analysis of stock market prediction using breaking financial news: The azfintext system, ACM Transactions on Information System 27(2) (2009), 1–19. doi:10.1145/1462198.1462204.
J. Sun, G. Wang, X. Cheng and Y. Fu, Mining affective text to improve social media item recommendation, Information Processing and Management 51 (2015), 444–457. doi:10.1016/j.ipm.2014.09.002.
X. Zhang, H. Fuehres and P.A. Gloor, Predicting stock market indicator through Twitter “I hope it is not as bad as I fear”, Procedia-Social and Behavioral Sciences 26 (2011), 55–62. doi:10.1016/j.sbspro.2011.10.562.
X. Zhu, H. Wang, L. Xu and H. Li, Predicting stock index increments by neural networks: The role of trading volume under different horizons, Expert Systems with Applications 34(4) (2008), 3043–3054. doi:10.1016/j.eswa.2007.06.023.