Prediction of Stock Prices Using LSTM-ARIMA Hybrid Deep Learning Model
Dhananjay N. Kalange *
Arts, Commerce and Science College, Palus, India.
*Author to whom correspondence should be addressed.
Abstract
Aims: This study aims to develop and evaluate a hybrid LSTM-ARIMA model for predicting stock prices of major Indian commercial banks. It addresses the limitations of standalone statistical and deep learning models by combining ARIMA’s capability to model linear trends with LSTM’s strength in capturing nonlinear dependencies.
Study Design: Comparative experimental design based on time-series prediction using real-world financial data.
Place and Duration of Study: Data was collected for five leading Indian commercial banks—SBI, HDFC Bank, ICICI Bank, Axis Bank, and Kotak Mahindra Bank—from January 2018 to December 2023.
Methodology: Daily closing prices were sourced from Yahoo Finance and NSE India. The hybrid approach first fits an ARIMA model to capture linear patterns and then applies an LSTM network to model the residuals, capturing nonlinear components. The final forecast is a summation of both model outputs. Evaluation metrics include MAE, MSE, RMSE, and MAPE. Open source software R was used for coding and the data analysis.
Results: Across all five banks, the hybrid model consistently outperformed standalone ARIMA and LSTM models. For instance, in SBI, the hybrid model achieved MAPE of 2.89% compared to 4.31% (ARIMA) and 3.95% (LSTM). Similar improvements were observed for other banks, with the hybrid model maintaining MAPE below 3% and RMSE under7.
Conclusion: The LSTM-ARIMA hybrid model offers a robust solution for stock price forecasting by capturing both linear and nonlinear patterns in financial time-series data. Its consistent performance across varied banks demonstrates its practical utility in financial analytics. Future research may incorporate multivariate inputs or sentiment indicators for further enhancement.
Keywords: Stock price forecasting, hybrid ARIMA-LSTM, time series prediction, deep learning, financial analytics