Skip to main content

Do Weibo Platform Experts Perform Better at Predicting Stock Market?

  • Conference paper
  • First Online:
Proceedings of the 22nd Engineering Applications of Neural Networks Conference (EANN 2021)

Part of the book series: Proceedings of the International Neural Networks Society ((INNS,volume 3))

Abstract

Sentiment analysis can be used for stock market prediction. However, existing research has not studied the impact of a user’s financial background on sentiment-based forecasting of the stock market using artificial neural networks. In this work, a novel combination of neural networks is used for the assessment of sentiment-based stock market prediction, based on the financial background of the population that generated the sentiment. The state-of-the-art language processing model Bidirectional Encoder Representations from Transformers (BERT) is used to classify the sentiment and a Long-Short Term Memory (LSTM) model is used for time-series based stock market prediction. For evaluation, the Weibo social networking platform is used as a sentiment data collection source. Weibo users (and their comments respectively) are divided into Authorized Financial Advisor (AFA) and Unauthorized Financial Advisor (UFA) groups according to their background information, as collected by Weibo. The Hong Kong Hang Seng index is used to extract historical stock market change data. The results indicate that stock market prediction learned from the AFA group users is 39.67% more precise than that learned from the UFA group users and shows the highest accuracy (87%) when compared to existing approaches.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://github.com/majuanjuan/Doexpertsperformbetter.

  2. 2.

    https://www.investing.com/.

References

  1. French, K.R., Schwert, G.W., Stambaugh, R.F.: Expected stock returns and volatility. J. Financ. Econ. 19(1), 3–29 (1987)

    Article  Google Scholar 

  2. Xu, Y., Liu, Z., Zhao, J., Su, C.: Weibo sentiments and stock return: a time-frequency view. PLoS One 12(7), 1–21 (2017). https://doi.org/10.1371/journal.pone.0180723

    Article  Google Scholar 

  3. Sprenger, T.O., Tumasjan, A., Sandner, P.G., Welpe, I.M.: Tweets and trades: the information content of stock microblogs. Eur. Financ. Manag. 20(5), 926–957 (2014)

    Article  Google Scholar 

  4. Bollen, J., Mao, H., Zeng, X.: Twitter mood predicts the stock market. J. Comput. Sci. 2(1), 1–8 (2011)

    Article  Google Scholar 

  5. Mittal, A., Goel, A.: Stock prediction using Twitter sentiment analysis. Standford University, CS229, vol. 15 (2012) (2011 http://cs229.stanford.edu/proj2011/GoelMittal-StockMarketPredictionUsingTwitterSentimentAnalysis.pdf)

  6. Brown, G.W., Cliff, M.T.: Investor sentiment and the near-term stock market. J. Empirical Financ. 11(1), 1–27 (2004)

    Article  Google Scholar 

  7. Chu, X., Wu, C., Qiu, J.: A nonlinear granger causality test between stock returns and investor sentiment for Chinese stock market: a wavelet-based approach. Appl. Econ. 48(21), 1915–1924 (2016)

    Article  Google Scholar 

  8. Jin, X., Shen, D., Zhang, W.: Has microblogging changed stock market behavior? evidence from China. Physica A 452, 151–156 (2016)

    Article  Google Scholar 

  9. Peng, H., Cambria, E., Hussain, A.: A review of sentiment analysis research in Chinese language. Cogn. Comput. 9(4), 423–435 (2017)

    Article  Google Scholar 

  10. Rao, Y., Lei, J., Wenyin, L., Li, Q., Chen, M.: Building emotional dictionary for sentiment analysis of online news. World Wide Web 17(4), 723–742 (2013). https://doi.org/10.1007/s11280-013-0221-9

    Article  Google Scholar 

  11. Mikolov, T., Chen, K., Corrado, G.S., Dean, J.: Efficient estimation of word representations in vector space (2013)

    Google Scholar 

  12. Devlin, J., Chang, M.-W., Lee, K., Toutanova, K.: Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018)

  13. Wuthrich, B., Cho, V., Leung, S., Permunetilleke, D., Sankaran, K., Zhang, J.: Daily stock market forecast from textual web data, vol. 3, pp. 2720–2725 (Nov 1998)

    Google Scholar 

  14. Mittermayer, M.A., Knolmayer, G.: Newscats: a news categorization and trading system, pp. 1002–1007 (2006)

    Google Scholar 

  15. Zhou, Z., Zhao, J., Xu, K.: Can online emotions predict the stock market in China? In: International Conference on Web Information Systems Engineering, pp. 328–342. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-48740-3_24

  16. Zhao, W., Wu, F., Fu, Z., Wang, Z., Zhang, X.: Sentiment analysis on weibo platform for stock prediction. In: International Conference on Artificial Intelligence and Security, pp. 323–333. Springer, Singapore (2020). https://doi.org/10.1007/978-981-15-8083-3_29

  17. Kaastra, I., Boyd, M.: Designing a neural network for forecasting financial and economic time series. Neurocomputing 10(3), 215–236 (1996). Financial Applications, Part II

    Google Scholar 

  18. Hochreiter, S., Schmidhuber, J.: LSTM can solve hard long time lag problems. In: Advances in Neural Information Processing Systems, pp. 473–479 (1997)

    Google Scholar 

  19. Zhuge, Q., Xu, L., Zhang, G.: LSTM neural network with emotional analysis for prediction of stock price. Eng. Lett. 25(2), 167–175 (2017)

    Google Scholar 

  20. Jiawei, X., Murata, T.: Stock market trend prediction with sentiment analysis based on LSTM neural network. In: Proceedings of the International MultiConference of Engineers and Computer Scientists, pp. 13–15 (2019)

    Google Scholar 

  21. Tracy-Talent. tracy-talent/curriculum. https://github.com/tracy-talent/curriculum/tree/master/Data Mining/sentiment

  22. rguthrie3. rguthrie3/deeplearningfornlpinpytorch. https://github.com/rguthrie3/DeepLearningForNLPInPytorch

  23. Karimi, A., Rossi, L., Prati, A., Full, K.: Adversarial training for aspect-based sentiment analysis with bert. arXiv preprint arXiv:2001.11316 (2020)

  24. Chi, P.-H.: et al.: Audio albert: a lite bert for self-supervised learning of audio representation. In: 2021 IEEE Spoken Language Technology Workshop (SLT), pp. 344–350. IEEE (2021)

    Google Scholar 

  25. Gers, F.A., Schmidhuber, J., Cummins, F.: Learning to forget: continual prediction with LSTM (1999)

    Google Scholar 

  26. Chen, K., Zhou, Y., Dai, F.: A LSTM-based method for stock returns prediction: a case study of China stock market. In: 2015 IEEE International Conference on Big Data (Big Data), pp. 2823–2824. IEEE (2015)

    Google Scholar 

  27. Dataabc. dataabc/weibo-search. https://github.com/dataabc/weibo-search

  28. Google-Research. google-research/bert. https://github.com/google-research/bert

  29. SophonPlus. Sophonplus/chinesenlpcorpus. https://github.com/SophonPlus/ChineseNlpCorpus/tree/master/datasets/

  30. Sun, C., Qiu, X., Xu, Y., Huang, X.: How to fine-tune bert for text classification? In: China National Conference on Chinese Computational Linguistics, pp. 194–206. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-32381-3_16

  31. Guo, L., Wang, W., Cheng, S., Que, X.: Event-based user classification in weibo media. The Sci. World J. 2014 (2014)

    Google Scholar 

  32. W. platform: Weibo customer service. https://kefu.weibo.com/faqdetail?id=20831

  33. Zhang, K., Li, L., Li, P., Teng, W.: Stock trend forecasting method based on sentiment analysis and system similarity model. In: Proceedings of 2011 6th International Forum on Strategic Technology, vol. 2, pp. 890–894 (2011)

    Google Scholar 

  34. Sammut, C., Webb, G.I.: Encyclopedia of Machine Learning and Data Mining. Springer, Boston (2017). https://doi.org/10.1007/978-1-4899-7687-1

  35. Linjordet, T., Balog, K.: Impact of training dataset size on neural answer selection models. In: European Conference on Information Retrieval, pp. 828–835. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-15712-8_59

Download references

Acknowledgement

This work was supported with the financial support of the Science Foundation Ireland grant 13/RC/2094_2.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Conor Ryan , Jim Buckley or Muslim Chochlov .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ma, Z., Ryan, C., Buckley, J., Chochlov, M. (2021). Do Weibo Platform Experts Perform Better at Predicting Stock Market?. In: Iliadis, L., Macintyre, J., Jayne, C., Pimenidis, E. (eds) Proceedings of the 22nd Engineering Applications of Neural Networks Conference. EANN 2021. Proceedings of the International Neural Networks Society, vol 3. Springer, Cham. https://doi.org/10.1007/978-3-030-80568-5_40

Download citation

Publish with us

Policies and ethics