Optimizing CNN-LSTM Models for Stock Price Prediction in a Multi-Sector Holding Company

Authors

DOI:

https://doi.org/10.21512/ijcshai.v3i1.15060

Keywords:

stock price prediction, Deep Learning, Convolutional Neural Network, Long Short-Term Memory, Hybrid CNN-LSTM

Abstract

Accurate stock price forecasting is difficult because financial time-series data usually demonstrate nonlinear relationships, irregular fluctuations, and interdependent temporal patterns. This research investigates the predictive performance of three neural network models based on deep learning: Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), and a hybrid CNN-LSTM architecture for forecasting stock prices of a multi-sector holding company. The dataset used in this study contains daily historical price observations collected from 2015 to 2025, where sequential samples are generated using a sliding window approach. To obtain appropriate model settings, hyperparameter optimization is carried out using a grid search procedure. Model performance is assessed using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE). Experiments are first performed using an 80:20 training-testing split and followed by a robustness evaluation using a 70:30 data split. Under the primary evaluation scheme, the experimental results indicate that the LSTM model yields the lowest prediction error, reflected by an RMSE value of 77.86, MAE of 58.23, and MAPE of 1.28%. Meanwhile, the hybrid CNN-LSTM model demonstrates more stable performance across different data proportions, achieving an RMSE of 75.71 and MAPE of 1.23% during the robustness test. The results indicate that LSTM is effective in capturing sequential dependencies inherent in financial time-series data, integrating convolutional feature extraction with sequential learning can improve prediction stability under varying training conditions. The results provide empirical insights into the selection of deep learning architectures for stock price prediction in the context of multi-sector holding companies.

Dimensions

Author Biographies

Muhamad Fajar Suprapto, Universitas Nasional

Department of Information Systems

Septi Andryana, Universitas Nasional

Department of Information Technology

References

[1] A. Jafarova, Y. Guliyeva, and T. Rzayeva, “Analysis of the impact of financial market in economy,” Sci. Collect. InterConf+, vol. 31, no. 147, pp. 69-76, 2023, doi: 10.51582/interconf.19-20.03.2023.006.

[2] J. A. Ho, J. Wuri, L. B. Harnoto, and Y. R. Hardanti, “Macroeconomic Determinants of Stock Market Performance: Evidence From Indonesia,” Int. J. Econ. Bus. Manag. Res., 2025, doi: 10.51505/ijebmr.2025.9812.

[3] O. Shirke, A. Chaudhari, D. Tandel, and S. Bari, “Stock Market Price Prediction using Machine Learning,” Int. J. Comput. Appl., 2022, doi: 10.5120/ijca2022922092.

[4] E. S. Nugraha, Z. Alika, and D. A. Hamzah, “Forecasting the Stock Price of PT Astra International Using the LSTM Method,” J. RESTI, 2024, doi: 10.29207/resti.v8i3.5699.

[5] Z. Xu, “Stock Price Prediction with Traditional Statistics and Machine Learning,” Adv. Econ. Manag. Polit. Sci., vol. 6, no. 1, pp. 272-282, 2023, doi: 10.54254/2754-1169/6/20220138.

[6] M. Zheng, “Studying Stock Prediction in the Context of Machine Learning Exemplified by Analyzing SVM and LSTM Models,” Highlights Sci. Eng. Technol., 2024, doi: 10.54097/wxga9q92.

[7] J. Verma and S. Agarwal, “A hybrid deep neural network model for time series forecasting,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 11, no. 1, pp. 20-25, 2022, doi: 10.30534/ijatcse/2022/051112022.

[8] S. Zaheer et al., “A Multi Parameter Forecasting for Stock Time Series Data Using LSTM and Deep Learning Model,” Mathematics, vol. 11, no. 3, p. 590, 2023, doi: 10.3390/math11030590.

[9] J. Zhang, W.-H. Chan, and Y. Lin, “Stock Price Prediction Research Based on CNN-LSTM,” Highlights Business, Econ. Manag., 2024, doi: 10.54097/cyqrxb84.

[10] Y. Ding, “Enhancing Stock Price Prediction Method Based on CNN-LSTM Hybrid Model,” Highlights Business, Econ. Manag., vol. 21, pp. 774-781, 2023, doi: 10.54097/hbem.v21i.14760.

[11] X. Zhao, “Exploring the Performance of the CNN-LSTM Model in Stock Prediction,” Highlights Business, Econ. Manag., vol. 45, pp. 903-907, 2024, doi: 10.54097/x9m1cm10.

[12] E. Seun et al., “Stock Price Prediction: Evaluating the Efficacy of CNN, LSTM, CNN-LSTM, and CNN-BILSTM Models,” Int. J. Intell. Syst. Appl. Eng., vol. 12, no. 4, pp. 4259-4268, 2024, [Online]. Available: http://www.ijisae.org

[13] J. Zhao, Z. Wang, and H. Li, “Stock Price Prediction Based on Hybrid CNN-LSTM Model,” Highlights Business, Econ. Manag., vol. 24, pp. 120-126, 2024, doi: 10.54097/hbem.v24i.14231.

[14] J. Wei, Q. Xu, and C. He, “Deep Learning of Predicting Closing Price through Historical Adjustment Closing Price,” Procedia Comput. Sci., vol. 202, pp. 379-384, 2022, doi: 10.1016/j.procs.2022.04.052.

[15] H. Jin, “Data Time Spans Impact on Stock Price Prediction: An Empirical Study Across Multiple Markets Based on BP Neural Networks,” Adv. Econ. Manag. Polit. Sci., vol. 191, no. 1, pp. 1-9, 2025, doi: 10.54254/2754-1169/2025.bj24010.

[16] X. Ma, “The Investigation of LSTM-Random Search with Various Standardization and Normalization Technologies,” Highlights Sci. Eng. Technol., 2024, doi: 10.54097/xgeyhr93.

[17] P. Chatigny, J.-M. Patenaude, and S. Wang, “Spatiotemporal Adaptive Neural Network for Long-Term Forecasting of Financial Time Series,” Int. J. Approx. Reason., vol. 132, pp. 70-85, 2021, doi: 10.1016/j.ijar.2020.12.002

Downloads

Published

2026-03-29

How to Cite

Suprapto, M. F., & Andryana, S. (2026). Optimizing CNN-LSTM Models for Stock Price Prediction in a Multi-Sector Holding Company. International Journal of Computer Science and Humanitarian AI, 3(1), 1–8. https://doi.org/10.21512/ijcshai.v3i1.15060
Abstract 50  .
PDF downloaded 9  .