Abstract
During the past few decades, time series analysis has become one popular method for solving stock forecasting problem. However, depending only on stock index series makes the performance of the forecast not good enough, because many external factors which may be involved are not taken into consideration. As a way to deal with it, sentiment analysis on online textual data of stock market can generate a lot of valuable information as a complement which can be named as external indicators. In this paper, a new method which combines the time series of external indicators and the time series of stock index is provided. A special text processing algorithm is proposed to obtain a weighted sentiment time series. In the experiment, we obtain financial micro-blogs from some famous portal websites in China. After that, each micro-blog is segmented and preprocessed, and then the sentiment value is calculated for each day. Finally, an NARX time series model combined with the weighted sentiment series is created to forecast the future value of Shanghai Stock Exchange Composite Index (SSECI). The experiment shows that the new model makes an improvement in terms of the accuracy.
Similar content being viewed by others
References
PEDRYCZ W, CHEN S M. Time series analysis, modeling and applications [M]. Berlin: Springer-Verlag, 2013.
WANG L, ZOU H F, SU J, et al. An ARIMA-ANN hybrid model for time series forecasting [J]. Systems Research and Behavioral Science, 2013, 30: 244–259.
CORTEZ P, RIO M, ROCHA M, et al. Multi-scale Internet traffic forecasting using neural networks and time series methods [J]. Expert Systems, 2012, 29(2): 143–155.
KUMAR D A, MURUGAN S. Performance analysis of Indian stock market index using neural network time series model [C]//Proceedings of the 2013 International Conference on Pattern Recognition, Informatics and Mobile Engineering (PRIME). [s. l.]: IEEE, 2013: 72–78.
O’CONNOR N, MADDEN M G. A neural network approach to predicting stock exchange movements using external factors [J]. Knowledge-Based Systems, 2006, 19(5): 371–378.
SCHUMAKER R P, ZHANG Y L, HUANG C N, et al. Evaluating sentiment in financial news articles [J]. Decision Support Systems, 2012, 53(3): 458–464.
LIANG X, CHEN R C, HE Y, et al. Associating stock prices with web financial information time series based on support vector regression [J]. Neurocomputing, 2013, 115: 142–149.
HAGENAU M, LIEBMANN M, NEUMANN D. Automated news reading: Stock price prediction based on financial news using context-capturing features [J]. Decision Support Systems, 2013, 55: 685–697.
RUIZ E J, HRISTIDIS V, CASTILLO C, et al. Correlating financial time series with micro-blogging activity [C]//Proceedings of the fifth ACM International Conference on Web Search and Data Mining. New York, USA: ACM, 2012: 513–522.
BOLLEN J, MAO H, ZENG X J. Twitter mood predicts the stock market [J]. Journal of Computational Science, 2011, 2(1): 1–8.
LI Q, WANG J, WANG F, et al. The role of social sentiment in stock markets: A view from joint effects of multiple information sources [J]. Multimedia Tools and Applications, 2016. DOI: 10. 1007/s11042-016-3643-4 (published online).
ROMANOWSKI A, SKUZA M. Towards predicting stock price moves with aid of sentiment analysis of Twitter social network data and big data processing environment [C]//Advances in Business ICT: New Ideas from Ongoing Research, Studies in Computational Intelligence. [s.l.]: Springer International Publishing, 2017: 105–123.
Author information
Authors and Affiliations
Corresponding author
Additional information
Foundation item: the National Natural Science Foundation of China (No. 61375053)
Rights and permissions
About this article
Cite this article
Wang, Y. Stock market forecasting with financial micro-blog based on sentiment and time series analysis. J. Shanghai Jiaotong Univ. (Sci.) 22, 173–179 (2017). https://doi.org/10.1007/s12204-017-1818-4
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12204-017-1818-4