A Stock Trend Forecast Algorithm Based on Deep Neural Networks
As a recognized complex dynamic system, the stock market has many influencing factors, such as nonstationarity, nonlinearity, high noise, and long memory. It is difficult to explain it simply through mathematical models. Therefore, the analysis and prediction of the stock market have been a very cha...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi Limited
2021-01-01
|
Series: | Scientific Programming |
Online Access: | http://dx.doi.org/10.1155/2021/7510641 |
id |
doaj-f4833e09bb134d5097c1395b2a057641 |
---|---|
record_format |
Article |
spelling |
doaj-f4833e09bb134d5097c1395b2a0576412021-07-19T01:05:00ZengHindawi LimitedScientific Programming1875-919X2021-01-01202110.1155/2021/7510641A Stock Trend Forecast Algorithm Based on Deep Neural NetworksYingying Yan0Daguang Yang1Business School of Northeast Normal UniversityBusiness School of Northeast Normal UniversityAs a recognized complex dynamic system, the stock market has many influencing factors, such as nonstationarity, nonlinearity, high noise, and long memory. It is difficult to explain it simply through mathematical models. Therefore, the analysis and prediction of the stock market have been a very challenging job since long time. Therefore, this paper adopts an encoder-decoder model of attention mechanism, adding attention mechanism from two aspects of feature and time. Both encoder and decoder use LSTM neural network. This method solves two problems in time series prediction; the first problem is that multiple input features have different degrees of influence on the target sequence, the feature attention mechanism is used to deal with this problem, and the weights of different input features can be obtained. A more robust feature association relationship is obtained; the second problem is that the data before and after the sequence have a strong time correlation. The time attention mechanism is used to deal with this problem, and the weights at different time points can be obtained to obtain more robustness and good timing dependencies. The simulation and experimental results show that the introduction of the attention mechanism can obtain lower forecast errors, which proves the effectiveness of the model in dealing with stock forecasting problems.http://dx.doi.org/10.1155/2021/7510641 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Yingying Yan Daguang Yang |
spellingShingle |
Yingying Yan Daguang Yang A Stock Trend Forecast Algorithm Based on Deep Neural Networks Scientific Programming |
author_facet |
Yingying Yan Daguang Yang |
author_sort |
Yingying Yan |
title |
A Stock Trend Forecast Algorithm Based on Deep Neural Networks |
title_short |
A Stock Trend Forecast Algorithm Based on Deep Neural Networks |
title_full |
A Stock Trend Forecast Algorithm Based on Deep Neural Networks |
title_fullStr |
A Stock Trend Forecast Algorithm Based on Deep Neural Networks |
title_full_unstemmed |
A Stock Trend Forecast Algorithm Based on Deep Neural Networks |
title_sort |
stock trend forecast algorithm based on deep neural networks |
publisher |
Hindawi Limited |
series |
Scientific Programming |
issn |
1875-919X |
publishDate |
2021-01-01 |
description |
As a recognized complex dynamic system, the stock market has many influencing factors, such as nonstationarity, nonlinearity, high noise, and long memory. It is difficult to explain it simply through mathematical models. Therefore, the analysis and prediction of the stock market have been a very challenging job since long time. Therefore, this paper adopts an encoder-decoder model of attention mechanism, adding attention mechanism from two aspects of feature and time. Both encoder and decoder use LSTM neural network. This method solves two problems in time series prediction; the first problem is that multiple input features have different degrees of influence on the target sequence, the feature attention mechanism is used to deal with this problem, and the weights of different input features can be obtained. A more robust feature association relationship is obtained; the second problem is that the data before and after the sequence have a strong time correlation. The time attention mechanism is used to deal with this problem, and the weights at different time points can be obtained to obtain more robustness and good timing dependencies. The simulation and experimental results show that the introduction of the attention mechanism can obtain lower forecast errors, which proves the effectiveness of the model in dealing with stock forecasting problems. |
url |
http://dx.doi.org/10.1155/2021/7510641 |
work_keys_str_mv |
AT yingyingyan astocktrendforecastalgorithmbasedondeepneuralnetworks AT daguangyang astocktrendforecastalgorithmbasedondeepneuralnetworks AT yingyingyan stocktrendforecastalgorithmbasedondeepneuralnetworks AT daguangyang stocktrendforecastalgorithmbasedondeepneuralnetworks |
_version_ |
1721295503042281472 |