Skip to main content
Log in

Stock market forecasting with financial micro-blog based on sentiment and time series analysis

  • Published:
Journal of Shanghai Jiaotong University (Science) Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. PEDRYCZ W, CHEN S M. Time series analysis, modeling and applications [M]. Berlin: Springer-Verlag, 2013.

    Book  MATH  Google Scholar 

  2. 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.

    Article  Google Scholar 

  3. 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.

    Google Scholar 

  4. 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.

    Chapter  Google Scholar 

  5. 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.

    Article  Google Scholar 

  6. 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.

    Article  Google Scholar 

  7. 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.

    Article  Google Scholar 

  8. 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.

    Article  Google Scholar 

  9. 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.

    Chapter  Google Scholar 

  10. BOLLEN J, MAO H, ZENG X J. Twitter mood predicts the stock market [J]. Journal of Computational Science, 2011, 2(1): 1–8.

    Article  Google Scholar 

  11. 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).

    Google Scholar 

  12. 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.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yinglin Wang  (王英林).

Additional information

Foundation item: the National Natural Science Foundation of China (No. 61375053)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12204-017-1818-4

Key words

CLC number

Document code

Navigation