Journal Press India®

Stock Price Prediction using RNN Architecture: LSTM and GRU Model of Neural Network

Vol 11 , Issue 2 , July - December 2024 | Pages: 19-36 | Research Paper  

 
Article has been added to the cart.View Cart (0)
https://doi.org/10.17492/jpi.mudra.v11i2.1122402


Author Details ( * ) denotes Corresponding author

1. * Kajol Verma, Research Schloar, Department of Accountancy and Law, Dayalbagh Education Institute, Agra, Uttar Pradesh, India (kkajolverma88@gmail.com)

Stock prices prediction is difficult due to various factors, including physical and physiological factors, investors’ sentiments, and market rumors. Machine learning techniques, such as Recurrent Neural Networks (RNNs) and Conventional Neural Network (CNNs) models, have the potential to analyze historical stock price data and uncover patterns to make accurate predictions. The proposed study compared the performance of two deep learning models such as Long Short-Term Memory and Gated Recurrent Unit in predicting stock prices of three IT sector companies listed on National Stock Exchange. The results show that Gated Recurrent Unit is the successful model for stock price prediction as compared to Long Short-Term Memory, and the research suggests suitable values of the epoch for better performance.

Keywords

Long short-term memory; Gated recurrent unit; Stock prices; Recurrent neural networks; Root mean square error.

  1. Chen, K., Zhou, Y., & Dai, F. (2015, October). A LSTM-based method for stock returns prediction: A case study of China stock market. In 2015 IEEE International Conference on Big Data (Big Data) (pp. 2823–2824).
  2. Cho, K., van Merriënboer, B., Bahdanau, D., & Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078.
  3. Ding, G., & Qin, L. (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.
  4. Gao, S. E., Lin, B. S., & Wang, C. M. (2018, December). Share price trend prediction using CRNN with LSTM structure. In 2018 International Symposium on Computer, Consumer and Control (IS3C) (pp. 10–13).
  5. Ghosh, A., Bose, S., Maji, G., Debnath, N., & Sen, S. (2019, September). Stock price prediction using LSTM on the Indian share market. In Proceedings of the 32nd International Conference on (pp. 101–110).
  6. Kumar, A., Kaur, M., & Mittal, A. K. (2023). Financial market forecasting with artificial neural networks: A bibliometric analysis and future research direction. MUDRA: Journal of Finance and Accounting, 10(2), 177–202.
  7. Kumar, P. P., & Archana, H. N. (2023). An empirical study on the application of moving averages on charts with special reference to candlesticks and Heikin-Ashi. MUDRA: Journal of Finance and Accounting, 10(2), 1–20.
  8. Lai, C. Y., Chen, R. C., & Caraka, R. E. (2019, July). Prediction stock price based on different index factors using LSTM. In 2019 International Conference on Machine Learning and Cybernetics (ICMLC) (pp. 1–6).
  9. Lu, W., Li, J., Wang, J., & Qin, L. (2021). A CNN-BiLSTM-AM method for stock price prediction. Neural Computing and Applications, 33, 4741–4753.
  10. Nelson, D. M., Pereira, A. C., & De Oliveira, R. A. (2017, May). Stock market’s price movement prediction with LSTM neural networks. In 2017 International Joint Conference on Neural Networks (IJCNN) (pp. 1419–1426). IEEE.
  11. Pawar, K., Jalem, R. S., & Tiwari, V. (2019). Stock market price prediction using LSTM RNN. In Emerging Trends in Expert Applications and Security: Proceedings of ICETEAS 2018 (pp. 493–503). Springer Singapore.
  12. Pramod, B. S., & Mallikarjuna, S. P. M. (2020). Stock price prediction using LSTM. Test Engineering and Management, 83, 5246–5251.
  13. Rana, M., Uddin, M. M., & Hoque, M. M. (2019, December). Effects of activation functions and optimizers on stock price prediction using LSTM recurrent networks. In Proceedings of the 2019 3rd International Conference on Computer Science and Artificial Intelligence (pp. 354–358).
  14. Roondiwala, M., Patel, H., & Varma, S. (2017). Predicting stock prices using LSTM. International Journal of Science and Research (IJSR), 6(4), 1754–1756.
  15. Saud, A. S., & Shakya, S. (2020). Analysis of look back period for stock price prediction with RNN variants: A case study on the banking sector of NEPSE. Procedia Computer Science, 167, 788–798.
  16. Schmidhuber, J., & Hochreiter, S. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780.
  17. Selvin, S., Vinayakumar, R., Gopalakrishnan, E. A., Menon, V. K., & Soman, K. P. (2017, September). Stock price prediction using LSTM, RNN, and CNN-sliding window model. In 2017 International Conference on Advances in Computing, Communications, and Informatics (ICACCI) (pp. 1643–1647).
  18. Sharma, S., & Jaswal, M. (2023). Performance of moving average trading rules on BSE sustainability indices. MUDRA: Journal of Finance and Accounting, 10(2), 21–37.
  19. Tejesh, H. R., & Jeelan B. V. (2023). Forecasting the Sensex and Nifty indices using ARIMA and GARCH models. MUDRA: Journal of Finance and Accounting, 10(1), 57–75.
Abstract Views: 6
PDF Views: 2

By continuing to use this website, you consent to the use of cookies in accordance with our Cookie Policy.