This research paper introduces a novel approach to predicting stock prices using a Stacked Gated Recurrent Unit (GRU) model. The model was trained on historical data from the top 10 companies listed on the Indonesia Stock Exchange, covering the period from July 6, 2015, to October 14, 2021. The performance of the model was evaluated using key metrics, including Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R-squared (R2). The results demonstrated promising performance, with average RMSE, MAE, and MAPE values of 0.00592, 0.00529, and 0.01654, respectively, indicating a high level of accuracy in the model's predictions. The average R2 value of 0.97808 further suggests a high degree of predictive power, with the model able to explain a significant proportion of the variance in the stock prices. These findings highlight the effectiveness of the Stacked GRU model in capturing stock price patterns and making accurate predictions. The practical implications of this research are significant, as the model provides a powerful tool for forecasting future stock price trends, which can be utilized in investment decision-making, financial analysis, and risk management. Future research could explore other deep learning architectures, incorporate additional features, or consider different evaluation metrics to enhance the model's performance further.
Copyrights © 2024