Stock Price Prediction of ReconAfrica (RECAF) Using Gated Recurrent Unit (GRU): Analysis and Implications for Investment Decisions

(1) Tomás López Aníbal Mail (University of Otago, New Zealand)
(2) * Rabiu Okanlawon Mail (University of Ghanaiversity of Pretoria, Ghana)
*corresponding author

Abstract


This study develops a stock price prediction model for ReconAfrica (RECAF) using Gated Recurrent Unit (GRU), an effective deep learning method for capturing temporal and non-linear patterns in stock price data. The model was trained and tested using five years of historical RECAF stock price data and evaluated with metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). The evaluation results show that the GRU model achieved an MAE of 0.0992, MSE of 0.0397, RMSE of 0.1993, and MAPE of 4.27, indicating a high predictive capability. These findings underscore the potential of the GRU model as a valuable tool for investors and market analysts in making more informed investment decisions. While the results are promising, the study also identifies opportunities for further development through the integration of external data and exploration of other deep learning architectures. Thus, this research contributes significantly to stock market analysis and improved investment strategies.

   

DOI

https://doi.org/10.33292/ijarlit.v2i2.35
      

Article metrics

10.33292/ijarlit.v2i2.35 Abstract views : 66 | PDF views : 55

   

Cite

   

Full Text

Download

References


A. C. Bhavani, A. V. Ramana, and A. S. N. Chakravarthy, “Comparative Analysis between LSTM and GRU in Stock Price Prediction,” 2022, pp. 532–537. doi: 10.1109/ICECAA55415.2022.9936434.

A. Chintam, G. R. R. Kumar, D. Chandramouli, J. A. Rani, and M. A. Praveen, “Accurate stock prices prediction on Grouped Time Series Data using Recurrent Neural Network Variants,” 2022, pp. 1–6. doi: 10.1109/ICAECT54875.2022.9807842.

D. Murekachiro, T. M. Mokoteli, and H. Vadapalli, “Predicting Emerging and Frontier Stock Markets Using Deep Neural Networks,” 2019, pp. 899–918. doi: 10.1007/978-3-030-29516-5_68.

D. Murekachiro, T. M. Mokoteli, and H. Vadapalli, “Stock Market Trend Prediction in Sub-Saharan Africa Using Generalized Additive Models (GAMs),” 2019, pp. 9–19. doi: 10.1007/978-3-030-30465-2_2.

D. V. Trivedi and P. S. Patel, “An Analysis of GRU-LSTM Hybrid Deep Learning Models for Stock Price Prediction,” Int. J. Sci. Res. Sci. Eng. Technol., pp. 47–51, 2022, doi: 10.32628/ijsrset229264.

W. Lu, W. Ge, R. Li, and L. Yang, “A Comparative Study on the Individual Stock Price Prediction with the Application of Neural Network Models,” 2021. doi: 10.1109/ICCEAI52939.2021.00046.

J. Leng, W. Liu, and Q. Guo, “Stock movement prediction model based on gated orthogonal recurrent units,” Intell. Syst. with Appl., vol. 16, p. 200156, 2022, doi: 10.1016/j.iswa.2022.200156.

Z. Bao, Q. Wei, Q. Wei, T. Zhou, X. Jiang, and T. Watanabe, “Predicting stock high price using forecast error with recurrent neural network,” vol. 6, no. 1, pp. 283–292, 2021, doi: 10.2478/AMNS.2021.2.00009.

H. Zhu, “Stock Price Prediction Using GRU and BiLSTM Models,” 2023, pp. 95–105. doi: 10.1007/978-981-99-0483-9_9.

Y. Chi-Hun, “Deep learning-based stock price prediction system and method using recurrent neural network.” 2019.

R. Mangalampalli, P. Khetre, V. Malviya, and V. Pandey, “Stock Prediction using Hybrid ARIMA and GRU Models,” Int. J. Eng. Res., vol. 9, no. 05, 2020, doi: 10.17577/IJERTV9IS050550.

P. Dey et al., “Comparative Analysis of Recurrent Neural Networks in Stock Price Prediction for Different Frequency Domains,” Algorithms, vol. 14, no. 8, 2021, doi: 10.3390/A14080251.

J. Liu, F. Chao, Y.-C. Lin, and C.-M. Lin, “Stock Prices Prediction using Deep Learning Models.,” arXiv: Learning. 2019. [Online]. Available: https://arxiv.org/pdf/1909.12227.pdf

“A Stock Price Prediction Model Based on Investor Sentiment and Optimized Deep Learning,” IEEE Access, vol. 11, pp. 51353–51367, 2023, doi: 10.1109/access.2023.3278790.

W. Yujie, L. Hui, Z. Caiming, G. Qiang, and L. Xin, “Stock price fluctuation prediction method of convolutional neural network combining financial news.” 2018.

M. Guan, Y. Zhu, and B. Xiao, “Unveiling the Predictive Power: Comparative Analysis of Cutting-Edge Deep Learning Models for Stock Price Forecasting,” 2023, doi: 10.54097/hbem.v19i.11747.

R. H. Kusumodestoni and S. Sarwido, “Komparasi Model Support Vector Machines (Svm) Dan Neural Network Untuk Mengetahui Tingkat Akurasi Prediksi Tertinggi Harga Saham,” J. Inform. Upgris, vol. 3, no. 1, 2017, doi: 10.26877/jiu.v3i1.1536.

Y. Srivastava, A. S. Chauhan, R. Vaishnav, and K. Bharadwaj, “Forecasting Market Price of Stock Using Artificial Neural Network,” 2023, pp. 544–547. doi: 10.1109/icseiet58677.2023.10303500.

Y. S. Khodke, “Stock Price Prediction Using LSTM and GRU,” Int. J. Sci. Technol. Eng., vol. 11, no. 6, pp. 1163–1167, 2023, doi: 10.22214/ijraset.2023.53826.

W. Wu, Y. Zhao, Y. Wang, and X. Wang, “Stock Price Forecasting and Rule Extraction Based on L1-Orthogonal Regularized GRU Decision Tree Interpretation Model,” 2020, pp. 309–328. doi: 10.1007/978-981-15-7984-4_23.


Refbacks

  • There are currently no refbacks.


View My Stats IJARLIT