An Analysis of GRU-LSTM Hybrid Deep Learning Models for Stock Price Prediction

Authors

  • Dhvanil Vikram Trivedi  Computer Engineering Department, Silver Oak University, Ahmedabad, Gujarat, India
  • Prof. Sagar Patel  Computer Engineering Department, Silver Oak University, Ahmedabad, Gujarat, India

DOI:

https://doi.org//10.32628/IJSRSET229264

Keywords:

Stock Prediction, LSTM, GRU, Deep Learning, Neural Networks, Hybrid Models, Prediction, Stock, Time Series

Abstract

Investment and national policy researchers are studying stock price forecasting, which has proven to be a challenging problem given the multi-noise, nonlinearity, high-frequency, and chaotic nature of stocks. Most forecasting models will not be successful in mining actual data from stocks if these characteristics are present. Stock pricing data has the characteristics of time series. It is evident from different studies that deep learning models perform better than machine learning models on time series data in particular. So, in this paper, we will focus on Long Short Term Memory (LSTM), Gated Recurrent Unit (GRU), and a hybrid model of them to predict the price of HDFCBANK stock. The first hidden layer is GRU and the other three hidden layers of LSTM. A hybrid model is validated using MSE, RMSE, and MAE and it outperforms all other models.

References

  1. Wenjie Lu, Jiazheng Li, Yifan Li, Aijun Sun, and Jingyang Wang, “A CNNLSTM-Based Model to Forecast Stock Prices”, Complexity, vol. 2020, 2020
  2. Mundra, Ankit et al, “A Deep Learning Based Hybrid Framework for Stock Price Prediction”, Journal of Intelligent & Fuzzy Systems, vol. 38 (5), 5949 – 5956, 2020.
  3. E. Hajizadeh, A. Seifi, M.H. Fazel Zarandi, and I.B. Turksen, “A hybrid modeling approach for forecasting the volatility of S&P 500 index return”, Expert Systems with Applications, vol. 39 (1), 431-436, 2012.
  4. Masafumi N, Akihiko T, and Soichiro T, “Bitcoin technical trading with artificial neural network”, Physica A: Statistical Mechanics and its Applications, vol. 510 (15), 587-609, 2018.
  5. Lobana N, Ifeanyi E.O, Muhammad S, Fakhri K, and Kumaraswamy P, “Deep Learning Based Approach for Fresh Produce Market Price Prediction”, IEEE Xploe, 2020.
  6. Qian C, Wenyu Z, and Yu L, “Forecasting stock prices using a hybrid deep learning model integrating attention mechanism, multi-layer perceptron, and bidirectional long-short term memory neural network”, IEEE Access, vol. 8, 117365-117376, 2020.
  7. MMohammad A, Rezual K et al. “Hybrid Deep Learning Model for Stock Price Prediction”, IEEE Symposium Series on Computational Intelligence, 1837-1844, 2018.
  8. Ohammad AA, and Nabil A, “Prediction of Stock Price and Direction Using Neural Networks: Datasets Hybrid Modeling Approach”, IEEE Xplore, 2021.
  9. Srilakshmi K, and Sai SC, “Prediction of TCS Stock Prices Using Deep Learning Models”, IEEE Xplore, 1448-1455, 2021.
  10. Audeliano WL, and Guilherme SB, “Stock Market Forecasting Using Deep Learning and Technical Analysis: A Systematic Review”, IEEE Access, vol. 8, 185232- 185242, 2020. Bibliography And References Silver oak College of Engineering & Technology Page 42.
  11. Wijesinghe, G.W.R.I. & Rathnayaka, and R.M. Kapila, “Stock Market Price Forecasting using ARIMA vs ANN; A Case study from CSE”, IEEE Xplore, 269-274, 2020.
  12. Firzu K, Linda S, and Ikhlaas G, “Stock Price Forecast With Deep Learning” IEEE Xplore, 1098- 1102, 2021.
  13. Werner K, Anton F, and Marcel CM, “Volatility forecast using hybrid Neural Network models”, Expert Systems with Applications, vol. 41(5), 2437-2442, 2014
  14. M.S. Islam and E. Hossain, “Foreign exchange currency rate prediction using GRU-LSTM hybrid network”, Soft Computing Letters 3, 100009, 2021

Downloads

Published

2022-04-30

Issue

Section

Research Articles

How to Cite

[1]
Dhvanil Vikram Trivedi, Prof. Sagar Patel, " An Analysis of GRU-LSTM Hybrid Deep Learning Models for Stock Price Prediction, International Journal of Scientific Research in Science, Engineering and Technology(IJSRSET), Print ISSN : 2395-1990, Online ISSN : 2394-4099, Volume 9, Issue 3, pp.47-51, May-June-2022. Available at doi : https://doi.org/10.32628/IJSRSET229264