skip to main content

A Novel LSTM-TCN Deep Learning Model for Stock Price Forecasting in Indonesia

*Azkario Rizky Pratama orcid scopus publons  -  Universitas Gadjah Mada, Indonesia
Bagus Rakadyanto Oktavianto Putra  -  Universitas Gadjah Mada, Indonesia
Ascariena Rafinda  -  Sekolah Tinggi Ilmu Manajemen YKPN, Yogyakarta, Indonesia
Open Access Copyright (c) 2026 Jurnal Sistem Informasi Bisnis

Citation Format:
Abstract
Making predictions about stock prices is challenging since financial markets are always changing and dynamic. Our study involves analyzing how Long Short-Term Memory (LSTM), Temporal Convolutional Network (TCN) and their combination work in predicting stock prices. We obtained raw data from Yahoo Finance on the stock prices of five major banks and then prepared it for our analysis through imputation, normalization and using a sliding window. The Adam optimizer was used to fine-tune the learning rates when training the baseline models LSTM and TCN. According to our results, TCN performs better than LSTM when forecasting the prices of stocks. However, using LSTM-TCN as a hybrid model results in the lowest errors among all metrics, including MSE and MAE. It is demonstrated that combining LSTM with parallel TCNs improves the accuracy of predictions. From the study, it can be seen that the LSTM-TCN hybrid model could be a valuable tool for forecasting stock prices.
Fulltext Email colleagues
Keywords: stock price prediction; deep learning; time series forecasting; temporal convolutional network

Article Metrics:

  1. Ariyo, A. A., Adewumi, A. O., & Ayo, C. K. (2014). Stock price prediction using the ARIMA model. In 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation (pp. 106–112). IEEE. https://doi.org/10.1109/UKSim.2014.67
  2. Ardana, A. (2023). Performance analysis of XGBoost algorithm to determine the most optimal parameters and features in predicting stock price movement. Telematika. Retrieved from https://api.semanticscholar.org/CorpusID:259415229
  3. Bai, S., Kolter, J. Z., & Koltun, V. (2018). An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv preprint arXiv:1803.01271
  4. Basu, T. S., Menzer, O., Ward, J., & Sengupta, I. (2022). A novel implementation of Siamese type neural networks in predicting rare fluctuations in financial time series. Risks. Retrieved from https://api.semanticscholar.org/CorpusID:246851131
  5. Binekasri, R. (2023). Ini dia top 10 bank dengan aset terbesar di RI. CNBC Indonesia. Retrieved from https://www.cnbcindonesia.com/market/20230310092808-17-420529/ini-dia-top-10-bank-dengan-aset-terbesar-di-ri
  6. Drakopoulou, V. (2015). A review of fundamental and technical stock analysis techniques. Finance Educator: Courses. Retrieved from https://api.semanticscholar.org/CorpusID:73639418
  7. Edward, & Suharjito. (2022). Tesla stock close price prediction using KNNR, DTR, SVR, and RFR. Journal of Human, Earth, and Future. Retrieved from https://api.semanticscholar.org/CorpusID:257488396
  8. Fajou, J., & McCarren, A. (2021). Forecasting gold prices using temporal convolutional networks. In 29th Irish Conference on Artificial Intelligence and Cognitive Science (vol. 3105, pp. 248–259)
  9. Ghosh, A., Bose, S., Maji, G., Debnath, N., & Sen, S. (2019). Stock price prediction using LSTM on Indian Share Market. In Proceedings of the 32nd International Conference on (vol. 63, pp. 101–110)
  10. Hewage, P., et al. (2020). Temporal convolutional neural (TCN) network for effective weather forecasting using time-series data from the local weather station. Soft Computing, 24, 16453–16482
  11. Hu, Z., Zhao, Y., & Khushi, M. (2021). A survey of forex and stock price prediction using deep learning. Applied System Innovation, 4(1), 9
  12. Li, Y., & Pan, Y. (2022). A novel ensemble deep learning model for stock prediction based on stock prices and news. International Journal of Data Science and Analytics
  13. Neloy, M. A. I., Nahar, N., Hossain, M. S., & Andersson, K. (2022). A weighted average ensemble technique to predict heart disease. In Proceedings of the Third International Conference on Trends in Computational and Cognitive Engineering (TCCE 2021) (pp. 17–29)
  14. Pawar, K., Jalem, R. S., & Tiwari, V. (2019). Stock market price prediction using LSTM RNN. In Emerging Trends in Expert Applications and Security (pp. 493–503)
  15. Pramod, B., & Pm, M. S. (2020). Stock price prediction using LSTM. Test Engineering and Management, 83, 5246–5251
  16. Rusyida, W. Y., & Pratama, V. Y. (2020). Prediksi harga saham Garuda Indonesia di tengah pandemi COVID-19 menggunakan metode ARIMA. Square: Journal of Mathematics and Mathematics Education, 2(1), 73–81
  17. Shahid, F., Zameer, A., & Muneeb, M. (2020). Predictions for COVID-19 with deep learning models of LSTM, GRU, and Bi-LSTM. Chaos, Solitons & Fractals, 140, 110212
  18. Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2019). The performance of LSTM and BiLSTM in forecasting time series. In 2019 IEEE International Conference on Big Data (Big Data) (pp. 3285–3292). IEEE. https://doi.org/10.1109/BigData47090.2019.9005997
  19. Sunny, M. A. I., Maswood, M. M. S., & Alharbi, A. G. (2020). Deep learning-based stock price prediction using LSTM and bi-directional LSTM model. In 2020 2nd Novel Intelligent and Leading Emerging Sciences Conference (NILES) (pp. 87–92). IEEE. https://doi.org/10.1109/NILES50944.2020.9257950
  20. Wolpert, D. H. (1992). Stacked generalization. Neural Networks, 5(2), 241–259
  21. Xu, Y., Hu, C., Wu, Q., Li, Z., Jian, S., & Chen, Y. (2021). Application of temporal convolutional network for flood forecasting. Hydrology Research, 52(6), 1455–1468
  22. Ye, Z., Wu, Y., Chen, H., Pan, Y., & Jiang, Q. (2022). A stacking ensemble deep learning model for bitcoin price prediction using Twitter comments on bitcoin. Mathematics, 10(8), 1307

Last update:

No citation recorded.

Last update: 2026-08-17 18:54:54

No citation recorded.