Peramalan Multivariat Saham Bank Indonesia dengan Model ARIMA dan LSTM
Abstract
Stock price forecasting is a crucial aspect of financial market analysis, particularly in supporting more accurate and informed investment decision-making. This study compares the performance of the statistical Autoregressive Integrated Moving Average (ARIMA) model with three variants of the Long Short-Term Memory (LSTM) architecture, namely Vanilla LSTM, Bidirectional LSTM, and Stacked LSTM, in predicting closing prices and trading volumes of Indonesian bank stocks—specifically BBCA.JK, BBRI.JK, and BMRI.JK. The data were obtained from Kaggle and processed through normalization, transformation, and model training stages using Google Colab and TensorFlow. Evaluation was conducted using RMSE, MAE, and MAPE metrics. The results indicate that ARIMA performs better in forecasting closing prices, achieving an average MAPE of 1.9%, while Bidirectional LSTM yielded the best results in forecasting trading volumes, particularly for BBRI and BMRI stocks. However, the prediction error for volume data remains relatively high (average MAPE of 36.4%) due to its volatile nature. These findings suggest that data characteristics significantly influence model effectiveness. LSTM-based models demonstrate superior capabilities in capturing complex non-linear patterns and exhibit advantages in multivariate forecasting compared to the ARIMA model. This study is expected to serve as a reference for selecting appropriate forecasting models in the context of Indonesian banking stock markets. The results highlight a trade-off between ARIMA, which excels in modeling linear patterns such as closing prices, and LSTM, which is more adaptive to non-linear patterns like trading volumes.
Downloads
References
Furizal, A. Ritonga, A. Ma’arif, and I. Suwarno, “Stock Price Forecasting with Multivariate Time Series Long Short-Term Memory: A Deep Learning Approach,” J. Robot. Control, vol. 5, no. 5, pp. 1322–1335, 2024, doi: 10.18196/jrc.v5i5.22460.
K. Attaluri, M. K. Tripathi, S. Reddy, and Shivendra, “News-Driven Stock Price Forecasting in Indian Markets: A Comparative Study of Advanced Deep Learning Models,” 2024 3rd Int. Conf. Adv. Technol. ICONAT 2024, p. 7, 2024, doi: 10.1109/ICONAT61936.2024.10774891.
D. Kobiela, D. Krefta, W. Król, and P. Weichbroth, “ARIMA vs LSTM on NASDAQ stock exchange data,” Procedia Comput. Sci., vol. 207, no. Kes, pp. 3830–3839, 2022, doi: 10.1016/j.procs.2022.09.445.
C. R. Ko and H. T. Chang, “LSTM-based sentiment analysis for stock price forecast,” PeerJ Comput. Sci., vol. 7, pp. 1–23, 2021, doi: 10.7717/peerj-cs.408.
Kenrick, S. C. Ivancio, E. Isabellini, C. G. S. Adhi, and A. Prasetyo, “Multivariate stock market forecasting using lstm on Indonesian banking stock market,” Procedia Comput. Sci., vol. 245, no. C, pp. 1047–1056, 2024, doi: 10.1016/j.procs.2024.10.333.
Z. Zhang, Comparison of LSTM and ARIMA in Price Forecasting: Evidence from Five Indexes, no. Esfct 2023. Atlantis Press International BV, 2024. doi: 10.2991/978-94-6463-268-2_6.
M. a, U. Marfuah, R. Nopianti, and A. Tri Panudju, “Lstm Algorithm Analysis of Banking Sector Stock Price Predictions,” Int. J. Adv. Res., vol. 10, no. 01, pp. 627–634, 2022, doi: 10.21474/ijar01/14082.
Preeti, R. Bala, and R. P. Singh, “A dual-stage advanced deep learning algorithm for long-term and long-sequence prediction for multivariate financial time series,” Appl. Soft Comput., vol. 126, p. 109317, 2022, doi: 10.1016/j.asoc.2022.109317.
C. M. Liapis, A. Karanikola, and S. Kotsiantis, “A multi-method survey on the use of sentiment analysis in multivariate financial time series forecasting,” Entropy, vol. 23, no. 12, 2021, doi: 10.3390/e23121603.
P. Ray, B. Ganguli, and A. Chakrabarti, “Multivariate Bayesian Time-Series Model with Multi-temporal Convolution Network for Forecasting Stock Market During COVID-19 Pandemic,” Int. J. Comput. Intell. Syst., vol. 17, no. 1, 2024, doi: 10.1007/s44196-024-00525-5.
M. Jarrah and M. Derbali, “Predicting Saudi Stock Market Index by Using Multivariate Time Series Based on Deep Learning,” Appl. Sci., vol. 13, no. 14, 2023, doi: 10.3390/app13148356.
J. Zhang, H. Liu, W. Bai, and X. Li, “A hybrid approach of wavelet transform, ARIMA and LSTM model for the share price index futures forecasting,” North Am. J. Econ. Financ., vol. 69, no. PB, p. 102022, 2024, doi: 10.1016/j.najef.2023.102022.
T. Sharif, A. Bouteska, M. Zoynul Abedin, and S. Cotturone, “An enquiry into the monetary policy and stock market shocks in the US,” Int. Rev. Econ. Financ., vol. 98, p. 103925, Mar. 2025, doi: 10.1016/j.iref.2025.103925.
Y. Ji, A. W.-C. Liew, and L. Yang, “A Novel Improved Particle Swarm Optimization With Long-Short Term Memory Hybrid Model for Stock Indices Forecast,” IEEE Access, vol. 9, pp. 23660–23671, 2021, doi: 10.1109/ACCESS.2021.3056713.
A. Omar and T. Abd El-Hafeez, “Optimizing epileptic seizure recognition performance with feature scaling and dropout layers,” Neural Comput. Appl., vol. 36, no. 6, pp. 2835–2852, 2024, doi: 10.1007/s00521-023-09204-6.
Jason Brownlee, Introduction to Time Series Forecasting with Python: How to Prepare Data and Develop Models to Predict the Future. 2017. [Online]. Available: https://www.google.co.id/books/edition/Introduction_to_Time_Series_Forecasting/-AiqDwAAQBAJ?hl=id&gbpv=0
A. Avinash, A. Widjaja, and O. Karnalim, “Analisis Perbandingan Algoritma Machine Learning untuk Forecasting Persediaan Produk Barang Pokok,” J. Tek. Inform. dan Sist. Inf., vol. 10, no. 2, pp. 361–378, 2024, doi: 10.28932/jutisi.v10i2.9357.
J. Korstanje, Advanced Forecasting with Python. Berkeley, CA: Apress, 2021. doi: 10.1007/978-1-4842-7150-6.
Yudi Widhiyasana, Transmissia Semiawan, Ilham Gibran Achmad Mudzakir, and Muhammad Randi Noor, “Penerapan Convolutional Long Short-Term Memory untuk Klasifikasi Teks Berita Bahasa Indonesia,” J. Nas. Tek. Elektro dan Teknol. Inf., vol. 10, no. 4, pp. 354–361, 2021, doi: 10.22146/jnteti.v10i4.2438.
A. Mire, S. Malik, and A. K. Tyagi, Eds., Advanced Analytics and Deep Learning Models. Wiley, pp. 1-412, 2022. doi: 10.1002/9781119792437.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Peramalan Multivariat Saham Bank Indonesia dengan Model ARIMA dan LSTM
Pages: 308-319
Copyright (c) 2025 Akhdan Ferdiansyah Ramadhan, I Made Artha Agastya

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).





















