Application of BiLSTM -SA- TCN Time Series Model in Stock Forecasting
DOI:
Author:
Affiliation:

1.School of Computer and Information Science, Chongqing Normal University;2.School of Finance and Tourism of Chongqing Institute of Engineering Technology

Clc Number:

TP183??? ????????

Fund Project:

Chongqing Natural Science Foundation (cstc2021ycjh bgzxm0088); Science and Technology Research Program of Chongqing Municipal Education Commission (KJQN201903402)

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    Aiming at the problems of timeliness and simplification of prediction functions in stock prediction models, this paper proposes a Bi-directional LSTM stock prediction model based on Long Short-Term Memory (LSTM) neural network, which combines self-attention mechanism and temporal convolution network (TCN). The learning unit and prediction unit in the BiLSTM-SA-TCN model can effectively learn important stock data, capture long-term dependency information, and output the predicted closing price of the next day's stock. The experimental results show that the prediction error RMSE of the BiLSTM-SA-TCN model is the smallest, the MAE is the smallest, and the fitting degree R2 is the best on multiple stock data sets. In the comparative experiments of different models, the BiLSTM-SA-TCN model has a higher generalization ability and a higher training efficiency.

    Reference
    Related
    Cited by
Get Citation
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:October 31,2022
  • Revised:April 03,2023
  • Adopted:April 06,2023
  • Online:
  • Published:

Address:No. 219, Ningliu Road, Nanjing, Jiangsu Province

Postcode:210044

Phone:025-58731025