Applied Artificial Intelligence (Oct 2021)

Predicting stock price movement using a DBN-RNN

  • Xiaoci Zhang,
  • Naijie Gu,
  • Jie Chang,
  • Hong Ye

DOI
https://doi.org/10.1080/08839514.2021.1942520
Journal volume & issue
Vol. 35, no. 12
pp. 876 – 892

Abstract

Read online

This paper proposes a deep learning-based model to predict stock price movements. The proposed model is composed of a deep belief network (DBN) to learn the latent feature representation from stock prices, and a long short-term memory (LSTM) network to exploit long-range relations within the trading history. The prediction target of the model is the stock close price direction on the next day. To predict the trend of one stock, the feature of recent trading information is generated from the raw intra-day data through a pre-trained DBN. Then the extracted features are fed into an LSTM classifier to produce the prediction result for the next day. The proposed model was tested on 36 companies in the Shanghai Stock Exchange (SSE) and the Shenzhen Stock Exchange (SZSE), which were selected based on their weights in Chinese A-shares. The experiments cover a span of 12 years, from 2005 to 2016, and the results show that the proposed model offers notable improvements in predicting performance comparing with other learning models. It is also observed that some companies are more predictable than others, which implies that the proposed model can be used for financial portfolio construction.