The stock market, as one of the hotspots in the financial field, forms a data system with a huge volume of data and complex relationships between various factors, making stock price prediction an area of keen interest for further in-depth mining and research. Mathematical statistics methods struggle to deal with nonlinear relationships in practical applications, making it difficult to explore deep information about stocks. Meanwhile, machine learning methods, particularly neural network models and composite models, which have achieved outstanding results in other fields, are being applied to the stock market with significant results. However, researchers have found that these methods do not grasp the essential information of the data as well as expected. In response to these issues, researchers are exploring better neural network models and combining them with other methods to analyze stock data. Thus, this paper proposes the ABiGRU composite model, which combines the attention mechanism and bidirectional gated recurrent unit (GRU) that can effectively extract data features for stock price prediction research. Models such as LSTM, GRU, and Bi-LSTM are selected for comparative experiments. To ensure the credibility and representativeness of the research data, daily stock price indices of BYD are chosen for closing price prediction studies across different models. The results show that the ABiGRU model has a lower prediction error and better fitting effect on three index-based stock prices, enhancing the learning efficiency of the neural network model and demonstrating good prediction stability. This suggests that the ABiGRU model is highly adaptable for stock price prediction.
References
[1]
Peng, Z., et al. (2019) Stock Analysis and Prediction Using Big Data Analytics. 2019 International Conference on Intelligent Transportation Big Data & Smart City (ICITBS), Changsha, 12-13 January 2019, 309-312. https://doi.org/10.1109/ICITBS.2019.00081
[2]
Gupta, A., Bhatia, P., Dave, K. and Jain, P. (2019) Stock Market Prediction Using Data Mining Techniques. 2nd International Conference on Advanced Science and Technology, ICASR 2019, Palladam, April 2019.
[3]
Gers, F.A., Schmidhuber, J. and Cummins, F. (2000) Learning to Forget: Continual Prediction with Lstm. Neural Computation, 12, 2451-2471.
[4]
Cui, Z., Ke, R. and Wang, Y. (2017) 0L2STM Recurrent Neural Network for Network-Wide Traffic Speed Prediction. 6th International Workshop on Urban Computing (UrbComp 2017), Halifax, August 2017, 1-11. https://doi.org/10.48550/arXiv.1801.02143
[5]
Ding, G.Y. and Qin, L.X. (2020) Study on the Prediction of Stock Price Based on the Associated Network Model of LSTM. International Journal of Machine Learning and Cybernetics, 11, 1307-1317. https://doi.org/10.1007/s13042-019-01041-1
[6]
Li, C. and Qian, G. (2023) Stock Price Prediction Using a Frequency Decomposition Based GRU Transformer Neural Network. Applied Sciences, 13, 222. https://doi.org/10.3390/app13010222
[7]
Dey, R. and Salem, F.M. (2017) Gate-Variants of Gated Recurrent Unit (GRU) Neural Networks. 2017 IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS), Boston, 6-9 August 2017, 1597-1600. https://doi.org/10.1109/MWSCAS.2017.8053243
[8]
Qiu, M., Song, Y. and Akagi, F. (2016) Application of Artificial Neural Network for the Prediction of Stack Market Returns: The Case of the Japanese Stock Market. Chaos, Solitons & Fractals, 85, 1-7. https://doi.org/10.1016/j.chaos.2016.01.004
[9]
Lee, M.C. (2022) Research on the Feasibility of Applying GRU and Attention Mechanism Combined with Technical Indicators in Stock Trading Strategies. Applied Sciences, 12, 1007. https://doi.org/10.3390/app12031007
[10]
Zhang, Y.J. and Tumibay, G.M. (2022) Stock Market Prediction Model Based on LSTM Deep Learning: The Case of Top Corporate Company in China. International Conference on Artificial Intelligence and Advanced Manufacturing (AIAM), Hamburg, 7-9 October 2022, 451-455. https://doi.org/10.1109/AIAM57466.2022.00092