Skip to content
Conference

Comparative Analysis of LSTM, Random Forest, and XGBoost Models for Stock Price Prediction in the Indian Equity Market

Aug 2026 · International Conference on Computing Communication Control and automation · pp. 1-5 · 0 citations · 27 references

Abstract

The stock market constitutes a system comprising sellers and buyers who engage in buying and selling shares of publicly listed organizations, with prices constantly changing depending on supply, demand, economic factors, and investor's emotions. Forecasting changes in prices in the stock market is most challenging within the realm of computational finance due to its noisy, non-linear nature and high levels of temporal dependence. This study conducts an analysis of three leading models, LSTM, RF, and XGBoost used for predicting prices of five India Stocks: HDFC Bank, Reliance Industries, ITC Limited, Maruti Suzuki, and Sun Pharma. Stock data from the period of fifteen years, ranging from 2010 to 2025, was collected using Zerodha Kite and preprocessed into a dataset containing thirty technical indicators including Relative Strength Index (RSI), Moving Average Convergence Divergence, Bollinger Bands, VWAP, and ATR. Correlation matrix was used to analyze feature interdependence and determine the predictors of price. The outcomes show that LSTM was found to yield the best test-set results when predicting closing prices, with 96.22% price accuracy and 3.83% MAPE in Reliance Industries. However, despite having smaller training errors, RF and XGBoost showed high degrees of overfitting in the test set for highly volatile stocks like Maruti Suzuki and Sun Pharma. Technical indicators were determined to be the strongest predictors of price; lag-based indicators and momentum signals ranked among the top features in all cases. Thus, this research proves that LSTM is the most effective architecture for sequential data while ensemble tree models need regularization techniques or larger look-back windows.

View source

Similar papers

Open access Sep 2026

Research and Analysis of Apple Stock Prediction Based on Improved XGBoost Model

An improved XGBoost model for Apple Inc. (AAPL) stock price prediction is proposed, and it is suggested that the optimized gradient boosting framework can provide accurate, interpretable, and efficient solutions for real-time financial forecasting and algorithmic trading.

Yao-Dong Chen · 0 citations
Open access Sep 2026

Predicting stock prices of 6 international major corporations: a comparative study of LSTM and FBProphet

Over the years, individuals have been investing in the stock market as a source of passive income. However, such investments are associated with high risk due to the unpredictable behaviour of stock prices. To address this issue, we implemented predictive models to provide investors with stock price predictions to faci...

Karen Zhang, Dalia Shanshal · 0 citations
Conference Open access Oct 2026

Machine Learning for Binary Classification of Daily Stock Price Movements in the Chinese A-Share Market: A Narrative Review

The stock market exhibits characteristics such as high volatility, nonlinearity, and strong noise. Precisely predicting stock price trends has long been a challenging issue in quantitative finance. Current research often conflates the two prediction tasks: stock trend classification and price return regression. Common...

Qinyuan Wu · 0 citations
Open access Sep 2026

Multivariate LSTM With the RSI-14 Technical Indicator for Stock Price Forecasting

View the results as a methodological contribution rather than direct evidence of practical investment value, given the modest trend-classification accuracy and the lack of trading back testing, transaction costs, or risk-adjusted performance measures.

Muhammad Jahron, J. A. Widians, Andi Tejawati · 0 citations
Conference Open access 2025

Prediction of Gold Stock Price Based on ARIMA and LSTM Model

This paper finds that the hybrid model yields higher prediction accuracy and smaller errors than the single model by comparing the results of both models.

Hui-Hui Chen, Ze-Yuan Li · 0 citations
Open access Oct 2026

Forecasting Next-Day TLKM Stock Prices Using Linear and Nonlinear Machine Learning Models: A Case Study of PT Telekomunikasi Indonesia Tbk

Stock price forecasting provides useful information for investors in making decisions in fluctuating capital markets. The objective of this work is to develop and compare models to forecast the closing price for the next trading day. Three models were employed: linear regression, an optimized random forest regression,...

Edwin Setiawan Nugraha, Azizah Dwi Aprilia, Samsul Arifin et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.