Research on the S&P 500 Index Based on LSTM and GRU

Authors

  • Zexu Feng

DOI:

https://doi.org/10.54097/hbem.v21i.13601

Keywords:

Long Short-Term Memory, Gate Recurrent Unit, stock price prediction, machine learning.

Abstract

Forecasts regarding the prices of stock indices are commonly observed in both academic and corporate circles. Exponential prices are difficult to predict because of uncertain noise. Due to advancements in computer science, neural network has been applied in various industrial fields. This article examines three models, Long Short Term Memory (LSTM) networks and Gate Recurrent Unit (GRU), and their combination. At the same time, it’s also investigated that how the performance of the models will change when incorporating technical indicators such as the weighted moving average and Bollinger bands and macroeconomic indicators which include CBOE Volatility Index and Effective Federal Funds Rate into analysis. The experimental findings indicate that LSTM performs best in the experiment of predicting S&P500 index, and adding indicators to the model does not make the model more effective. This article provides more perspectives on the application of machine learning in stock price prediction, and provides relevant theoretical guidance for the selection of variables in stock price prediction practice.

Downloads

Download data is not yet available.

References

L. Nevasalmi, J. financ. data sci, 6,86 (2020)

R. Dash, P.K. Dash, J. financ. data sci, 2,42 (2016)

D. Ersan, C. Nishioka, A. Scherp, J. Comput. Soc. Sci, 3,103 (2020)

C.C. Chen, C.H. Chen, T.Y. Liu, Int. J. Econ. Financial Issues, 10,59 (2020)

J. Ayala, M. Garc ́ıa-Torres, J.L. V ́azquez Noguera, F. G ́omez-Vela, F. Divina, Knowl Based Syst, 225,107119 (2021)

S.S. Chen, J Bank Financ, 33, 211 (2009)

E. Beyaz, F. Tekiner, X.J. Zeng, J. Keane, Comparing technical and fundamental indicators in stock price forecasting. 2018 IEEE 20th International Conference on High Performance Computing and Communications, 2018 IEEE 20th International Conference on High Performance Computing and Communications; IEEE 16th International Conference on Smart City; IEEE 4th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), 1607 (2018)

P.L. Gao, R. Zhang, X. Yang, Math Comput Appl, 25,53 (2020)

M. Zulqarnain, R. Ghazali, M.G. Ghouse, Y.M. Mohmad Hassim, I. Javid, Int. J. Intell. Syst. Appl, 12, 21 (2020)

H.N. Bhandari, B. Rimal, N.R. Pokhrel, R. Rimal, K.R. Dahal, R.K. Khatri, Mach Learn, 9, 100320 (2022)

Downloads

Published

12-12-2023

How to Cite

Feng, Z. (2023). Research on the S&P 500 Index Based on LSTM and GRU. Highlights in Business, Economics and Management, 21, 38-48. https://doi.org/10.54097/hbem.v21i.13601