Stock price time series prediction based on LSTM and grey model
DOI:
CSTR:
Author:
Affiliation:

1.Nanjing University of information Science and Technology;2.National Institute Of Education Sciences

Clc Number:

Fund Project:

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

    The factors that affect stock price are very complicated. Therefore, this paper revises the LSTM, which is commonly used in time series, and selects stock price for prediction under the condition of multivariable. First, variance inflation factor(VIF) was used to screen variables, and then the adaptive promotion method (Adaboost) model is combined to check the importance of characteristic variables. Secondly, the crawler is used to conduct text analysis of investor sentiment, calculate sentiment index and other indicators, and reveal the relationship between them and stock prices. Then, three different stock prices of Gree Electric Appliances, Flyco Electric Appliances and Midea Group were predicted, multi-layer perceptron(MPL)model and LSTM model were compared, and the appropriate model was selected as the benchmark model. On the basis of the benchmark model, the LSTM-EM model was constructed by adding sentiment index, investor attention and other indicators. Furthermore, GM (1,1) model was used to correct the residual term after considering investor sentiment. The empirical results show that the model can predict the stock price accurately.

    Reference
    Related
    Cited by
Get Citation
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:October 08,2022
  • Revised:December 21,2022
  • Adopted:January 03,2023
  • Online:
  • Published:
Article QR Code

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

Postcode:210044

Phone:025-58731025