| Literature DB >> 35958787 |
Guifen Ma1, Ping Chen1,2, Zhaoshan Liu3, Jia Liu4.
Abstract
This study aims to accurately predict the changing trend of stocks in stock trading so that company investors can obtain higher returns. In building a financial forecasting model, historical data and learned parameters are used to predict future stock prices. Firstly, the relevant theories of stock forecasting are discussed, and problems in stock forecasting are raised. Secondly, the inadequacies of deep neural network (DNN) models are discussed. A prediction trend model of enterprise stock is established based on long short-term memory (LSTM). The uniqueness and innovation lie in using the stock returns of Bank of China securities in 2022 as the training data set. LSTM prediction models are used to perform error analysis on company data training. The 20-day change trend of the company's stock returns under different models is predicted and analyzed. The results show that as the number of iterations increases, the loss rate of the LSTM training curve keeps decreasing until 0. The average return price of the LSTM prediction model is 14.01. This figure is closest to the average real return price of 13.89. Through the forecast trend analysis under different models, LSTM predicts that the stock change trend of the enterprise model is closest to the changing trend of the actual earnings price. The prediction accuracy is better than other prediction models. In addition, this study explores the characteristics of high noise and complexity of corporate stock time series, designs a DNN prediction model, and verifies the feasibility of the LSTM model to predict corporate stock changes with high accuracy.Entities:
Mesh:
Year: 2022 PMID: 35958787 PMCID: PMC9363192 DOI: 10.1155/2022/9193055
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Basic methods of stock forecasting.
Commonly used raw stock data.
| Commonly used raw data | Illustration |
|---|---|
| Opening price | The price at which securities are first bought and sold on a stock exchange after the opening of each trading day |
| Highest price | The highest value of the stock price of the day, generally 110% of the opening |
| Lowest price | The lowest value of the stock price of the day generally refers to 90% of the opening price |
| Closing price | The price of the stock after the end of the day's trading |
| Volume | The number of transactions between buyers and sellers of stocks, which is unilateral |
| Turnover | The amount of a stock traded on the exchange-traded market during a specific period |
Figure 2Problems with stock forecasting.
Figure 3DNN model.
Figure 4Changes in Shenzhen Component Index stocks (the data comes from 2A01 stocks on April 13, 2022, on CITIC Securities.com).
Figure 5Cell structure of LSTM.
Figure 6Prediction process of corporate stock change based on the LSTM model.
Figure 7Data generation process.
Figure 8Error curve for training.
Figure 9Changes in stock forecasts under different models.