1- Master of Accounting, Novin Non-Profit Organization, Ardabil , arash.einy1364@gmail.com 2- Master of Psychology, Azad University
Abstract: (4 Views)
Stock market forecasting plays a crucial role in financial decision-making; however, traditional models often struggle to capture the complex and nonlinear dynamics of financial data. Despite the widespread use of machine learning techniques to enhance prediction accuracy, many models still fall short due to suboptimal parameter tuning and limited adaptability to volatile market conditions. In this study, we propose a novel hybrid model called GWO-LSTM, which integrates the Grey Wolf Optimizer (GWO) with Long Short-Term Memory (LSTM) neural networks to optimize hyperparameters and improve stock price prediction accuracy. The model was tested using historical data of the S&P 500 index from 2015 to 2024, incorporating features such as open, high, low, volume, and closing prices. The model's performance was evaluated using three key metrics: the coefficient of determination (R²), root mean square error (RMSE), and mean absolute error (MAE). It was also benchmarked against baseline models including multilayer perceptron, artificial neural networks, and extreme learning machines. Furthermore, the Diebold-Mariano test and p-value analysis confirmed the statistically significant superiority of the proposed model. The findings indicate that GWO-LSTM can serve as a powerful tool for enhancing stock market forecasts, supporting financial decision-making, and improving risk management.
Einy A, Khodaei M. An Optimized GWO-LSTM Model for Forecasting the S&P 500 Index in the Stock Market. mieaoi 2026; 15 (54) : 10 URL: http://mieaoi.ir/article-1-1868-en.html