DOI - Mendel University Press

DOI identifiers

DOI: 10.11118/ecos2026_038

AI METHODS FOR STOCK-PRICE FORECASTING IN THE INDIAN MARKET: THE EFFECT OF MACROECONOMIC FACTORS

Ankit Tripathi1, Oldřich Trenz1
1 Department of Informatics, Faculty of Business and Economics, Mendel University in Brno, Zemědělská 1, 613 00 Brno, Czech Republic

This article compares four artificial-intelligence forecasting methods (LSTM, SARIMAX, XGBoost and FB-Prophet) on a decade of daily prices of Reliance Industries, one of the largest companies on the Indian stock market. Most published forecasting studies use US, Chinese or European data; the Indian market is less frequently used as a test bed. In the source thesis, a Scopus query for “time series forecasting in India” refined by “financial market” returned 137 documents, while the broader bibliometric dataset contained 2,202 documents. The dataset covers 2 December 2013 to 30 November 2023 (over 2,600 trading days). Each model was first trained on price features alone and then re-evaluated after merging five macroeconomic indicators (gold price, USD/INR, the 10-year government-bond yield, the Wholesale Price Index and the Consumer Price Index). Accuracy was measured by MSE, MAE and the coefficient of determination R². Adding macroeconomic factors did not help every model. XGBoost improved across all three metrics (MSE 39.35 to 24.58) and was the only method that gained without producing implausibly perfect numbers; LSTM improved only with the larger 90% training split, while FB-Prophet overfitted badly (MSE 11.17 to 1,912.35). The results are specific to one company and a retrospective forecasting experiment on historical data; they do not represent live trading performance.

Keywords: time series forecasting, LSTM, XGBoost, SARIMAX, Indian stock market, macroeconomic factors

pages: 348-355, online: 2026



References

  1. AITHAL, P. K., DINESH, A. U., GEETHA, M. 2019. Identifying Significant Macroeconomic Indicators for Indian Stock Markets. IEEE Access. 7, 143829-143840. https://doi.org/10.1109/ACCESS.2019.2945603 Go to original source...
  2. BOX, G. E. P., JENKINS, G. M., REINSEL, G. C., LJUNG, G. M. 2015. Time Series Analysis: Forecasting and Control. 5th ed. Hoboken, NJ: John Wiley & Sons. ISBN 978-1-118-67502-1.
  3. CHEN, T., GUESTRIN, C. 2016. XGBoost: A Scalable Tree Boosting System. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785-794. https://doi.org/10.1145/2939672.2939785 Go to original source...
  4. FISCHER, T., KRAUSS, C. 2018. Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research. 270(2), 654-669. https://doi.org/10.1016/j.ejor.2017.11.054 Go to original source...
  5. GUMELAR, A. B., SETYORINI, H., ADI, D. P. et al. 2020. Boosting the Accuracy of Stock Market Prediction using XGBoost and Long Short-Term Memory. In: 2020 International Seminar on Application for Technology of Information and Communication (iSemantic), pp. 609-613. https://doi.org/10.1109/iSemantic50169.2020.9234256 Go to original source...
  6. HOCHREITER, S., SCHMIDHUBER, J. 1997. Long short-term memory. Neural Computation. 9(8), 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735 Go to original source...
  7. JANKOVÁ, Z. 2021. A Bibliometric Analysis of Artificial Intelligence Technique in Financial Market. Scientific Papers of the University of Pardubice. 29(3). https://doi.org/10.46585/sp29031268 Go to original source...
  8. KHASHEI, M., BIJARI, M. 2011. A novel hybridization of artificial neural networks and ARIMA models for time series forecasting. Applied Soft Computing. 11(2), 2664-2675. https://doi.org/10.1016/j.asoc.2010.10.015 Go to original source...
  9. KUMAR, J. P. S., SUNDAR, R.. RAVI, A. 2023. Comparison of stock market prediction performance of ARIMA and RNN-LSTM model - A case study on Indian stock exchange. AIP Conference Proceedings. 2875, 020010 https://doi.org/10.1063/5.0154124 Go to original source...
  10. SHARMA, K., BHALLA, R., GANESAN, G. 2022. Time Series Forecasting Using FB-Prophet. In: CEUR Workshop Proceedings, pp. 59-65.
  11. SRIVASTAVA, S., PANT, M., GUPTA, V. 2023. Analysis and prediction of Indian stock market: a machine-learning approach. International Journal of System Assurance Engineering and Management. 14(5), 1567-1585. https://doi.org/10.1007/s13198-023-01934-z Go to original source...
  12. TRIPATHI, A. 2023. The use of artificial intelligence methods for time series prediction. Master's thesis, head: Trenz, O. Brno: Mendel University in Brno.
  13. ZHANG, G. P. 2003. Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing. 50, 159-175. https://doi.org/10.1016/S0925-2312(01)00702-0 Go to original source...