Stock Price Prediction Using ARIMA and LSTM Models: An Application to CSI 300 Closing Prices


  • Yifan Zhang



ARIMA model; LSTM networks; CSI 300, stock prediction.


In the development of the real economy, the performance of the stock market can well reflect its development status, so it is of great value to select effective forecasting methods to make a relatively accurate prediction of stock prices. The research and forecast object of this paper is the daily adjusted closing price of CSI 300 index. The sample data is derived from China Securities Data Website and is composed of six characteristic data for 261 days from July 1, 2022 to July 26, 2023. This paper compares the prediction ability of Autoregressive Integrated Moving Average (ARIMA) model and Long Short Term Memory (LSTM) networks. For the deviation function, this paper chooses MAE and RMSE two methods. By comparing the prediction ability of the models, the following conclusions are drawn: The daily closing price of CSI 300 has autocorrelation and long-term memory, which enables the prediction of future price based on historical data. Compared with ARIMA model, LSTM has stronger prediction ability, but the prediction has a lag, which is not conducive to reflecting the drastic trend changes in the short term. More characteristic information needs to be added to characterize to obtain more accurate results.


Download data is not yet available.


Box G E P, Jenkins G M, Reinsel G C. Time Series Analysis: Forecasting and Control, Fourth Edition. Wiley, 2008.

Zhang, Xiaoduo, Zhai Rui, and Gao Wen. Analysis and Economic Prediction of Stock Index Based on Index Tracking and ARIMA Mode. Journal of Physics: Conference Series, 2021.

Ahmar A S, et al. Prediction of BRIC stock price using ARIMA, SutteARIMA, and holt-winters. Computers, Materials & Continua, 2022, 70(1): 523–534.

Narendra Babu C, Eswara Reddy B. Prediction of selected Indian stock using a partitioning–interpolation based ARIMA–GARCH model. Applied Computing & Informatics, 2015, 11(2): 130–143.

Hambly B, Xu R, Yang, H. Recent advances in reinforcement learning in finance. Mathematical Finance, 2023, 33(3): 437–503.

Kristjanpoller W, Minutolo M C. Gold price volatility: A forecasting approach using the Artificial Neural Network–GARCH model. Expert Systems with Applications, 2015, 42(20): 7245–7251.

Nafia A, Yousfi A, Echaoui A. Equity-Market-Neutral Strategy Portfolio Construction Using LSTM-Based Stock Prediction and Selection: An Application to S&P500 Consumer Staples Stocks. International Journal of Financial Studies, 2022, 11(2).

Usmani S, Shamsi J A. LSTM based stock prediction using weighted and categorized financial news. PloS One, 2023, 18(3).

Moghar A, Hamiche M. Stock market prediction using LSTM recurrent neural network. Procedia Computer Science, 2020, 170: 1168-1173.

Ho M K, Darman H, Musa S. Stock Price Prediction Using ARIMA, Neural Network and LSTM Models. Journal of Physics: Conference Series, 2021.




How to Cite

Zhang, Y. (2024). Stock Price Prediction Using ARIMA and LSTM Models: An Application to CSI 300 Closing Prices. Highlights in Science, Engineering and Technology, 88, 286-293.