Journal of University of Science and Technology of China ›› 2020, Vol. 50 ›› Issue (8): 1093-1101.DOI: 10.3969/j.issn.0253-2778.2020.08.008

• Original Paper • Previous Articles     Next Articles

A dual encoder-based approach to predicting stock price by leveraging online social network

CUI Wenquan, WANG Qingfang   

  1. Department of Statistics and Finance,School of Management, University of Science and of Technology of China,Hefei 230026, China
  • Received:2020-06-17 Revised:2020-07-02 Accepted:2020-07-02 Online:2020-08-31 Published:2020-07-02

Abstract: We propose a dual-encoder which encodes the investor sentiment and technical indicators separately to improve the accuracy of the encoder-decoder model in predicting stock price by using two types of information. For the dual-encoder and decoder, we revise the gated recurrent unit (GRU) by removing the reset gate, using the update gate instead of the reset gate function and replacing tanh activation function with ReLU activation function to improve the speed of network training and the accuracy of the model. We regard market sentiment as a discrete-time stochastic process. When fixed time, market sentiment is a variable subject to a certain probability distribution. Sentiment score formulas are built for investor sentiment by a pseudo-label based sentiment classifier, and the market sentiment is estimated through ensemble Bagging learning. The orthogonal table experiment design is used to select parameters in our dual-encoder based model, which greatly reduces the time of parameter adjustment. Finally, experiments are conducted to show that our dual-encoder based model is more accurate than encoder-decoder model, and investor sentiment helps improve the stock forecasting in our model.

Key words: online social network, investor sentiment, dual-encoder, GRU

CLC Number: