Penerapan Long Short-Term Memory (LSTM) untuk Peramalan Harga Penutupan Saham BBCA.JK
DOI:
https://doi.org/10.54065/artificial.2010Keywords:
BBCA.JK, Deep Learning, Deret Waktu, LSTM, Peramalan Harga SahamAbstract
Peramalan harga saham merupakan permasalahan yang kompleks karena pergerakan harga bersifat dinamis, fluktuatif, dan memiliki ketergantungan temporal antarperiode. Kondisi tersebut mendorong penggunaan metode deep learning yang mampu mempelajari pola historis pada data deret waktu. Penelitian ini bertujuan mengembangkan dan mengevaluasi model Long Short-Term Memory (LSTM) untuk meramalkan harga penutupan saham PT Bank Central Asia Tbk (BBCA.JK) berdasarkan data historis perdagangan. Data penelitian terdiri atas 1.201 observasi harian pada periode 8 Agustus 2020 hingga 15 Agustus 2025 yang diperoleh dari Kaggle. Dataset mencakup atribut Open, High, Low, Close, dan Volume, sedangkan harga Close digunakan sebagai fitur utama dalam pemodelan. Data dinormalisasi menggunakan Min-Max Scaling dan dibentuk menjadi sekuens menggunakan sliding window 60 hari, kemudian dibagi secara kronologis dengan rasio 80:20 untuk data pelatihan dan pengujian. Model LSTM dibangun menggunakan satu lapisan LSTM dengan 96 unit yang diikuti lapisan Dense serta dilatih menggunakan optimizer Adam dan Huber Loss dengan dukungan Early Stopping, Model Checkpoint, dan ReduceLROnPlateau. Hasil pengujian menghasilkan MAE sebesar 128,57, RMSE sebesar 164,44, R² sebesar 0,9417, dan MAPE sebesar 1,41%. Model juga digunakan untuk menghasilkan estimasi harga selama 30 hari perdagangan berikutnya. Hasil penelitian menunjukkan bahwa LSTM mampu memodelkan pola temporal harga penutupan BBCA.JK dengan tingkat kesalahan relatif rendah pada dataset dan konfigurasi penelitian yang digunakan.
References
Beniwal, M., Singh, A., & Kumar, N. (2024). Forecasting multistep daily stock prices for long-term investment decisions: A study of deep learning models on global indices. Engineering Applications of Artificial Intelligence, 129, Artikel 107617. https://doi.org/10.1016/j.engappai.2023.107617
Budiharto, W. (2021). Data science approach to stock prices forecasting in Indonesia during COVID-19 using Long Short-Term Memory (LSTM). Journal of Big Data, 8, 47. https://doi.org/10.1186/s40537-021-00430-0
Chen, W., Hussain, W., Cauteruccio, F., & Zhang, X. (2024). Deep learning for financial time series prediction: A state-of-the-art review of standalone and hybrid models. Computer Modeling in Engineering & Sciences, 139(1), 187–224. https://doi.org/10.32604/cmes.2023.031388
Diqi, M., & Hamzah, H. (2024). Improving stock price prediction accuracy with StacBi LSTM. JISKA (Jurnal Informatika Sunan Kalijaga), 9(1), 10–26. https://doi.org/10.14421/jiska.2024.9.1.10-26
Janastu, I N. C., & Wutsqa, D. U. (2024). Prediksi harga saham pada sektor perbankan menggunakan algoritma Long Short-Term Memory. Jurnal Statistika dan Sains Data, 1(2), 1–14. https://doi.org/10.21831/jssd.v1i2.19475
Jiang, W. (2021). Applications of deep learning in stock market prediction: Recent progress. Expert Systems with Applications, 184, 115537. https://doi.org/10.1016/j.eswa.2021.115537
Joddy, S. (2025). Comparative Analysis of CNN, LSTM, and CNN–LSTM for Indonesian Stock Prediction. Engineering, MAthematics and Computer Science Journal (EMACS), 7(3), 283–289. https://doi.org/10.21512/emacsjournal.v7i3.14326
Kenrick, K., Ivancio, S. C., Isabellini, E., Adhi, C. G. S., & Prasetyo, A. (2024). Multivariate stock market forecasting using lstm on Indonesian banking stock market. Procedia Computer Science, 245, 1047–1056. https://doi.org/10.1016/j.procs.2024.10.333
Kusuma, C. J. C, & Khairunnisa, K. (2025). A Comparison of the Performance of CNN, LSTM, and RNN Models for Stock Price Prediction. Emerging Information Science and Technology, 6(2), 147-160 . https://doi.org/10.18196/eist.v6i2.31747
Lawi, A., Mesra, H., & Amir, S. (2022). Implementation of Long Short-Term Memory and Gated Recurrent Units on grouped time-series data to predict stock prices accurately. Journal of Big Data, 9, 89. https://doi.org/10.1186/s40537-022-00597-0
Li, Q., Kamaruddin, N., Yuhaniz, S. S., & Al-Jaifi, H. A. (2024). Forecasting stock prices changes using long-short term memory neural network with symbolic genetic programming. Scientific Reports, 14, 422. https://doi.org/10.1038/s41598-023-50783-0
Mahulete, E., & Hendry, H. (2025). Prediksi Harga Saham Menggunakan Model Multivariate Long Short-Term Memories. Building of Informatics, Technology and Science (BITS), 7(2), 1477-1486. https://doi.org/10.47065/bits.v7i2.7978
Olorunnimbe, K., & Viktor, H. (2023). Deep learning in the stock market—a systematic survey of practice, backtesting, and applications. Artificial Intelligence Review, 56(3), 2057–2109. https://doi.org/10.1007/s10462-022-10226-0
Purba, A. A. E., & Nasution, M. I. P. (2025). Business Intelligence dalam Era Ekonomi Digital: Kajian Sistematis atas Strategi dan Implementasi. Journal Artificial: Informatika Dan Sistem Informasi, 3(2), 161–171. https://doi.org/10.54065/artificial.753
Thakkar, A., & Chaudhari, K. (2021). A comprehensive survey on deep neural networks for stock market: The need, challenges, and future directions. Expert Systems with Applications, 177, 114800. https://doi.org/10.1016/j.eswa.2021.114800
Wafda, A. (2024). Integrasi Machine Learning dalam Ritel: Tinjauan Komprehensif tentang Prediksi Harga, Analisis Data Pelanggan, dan Pemanfaatan Media Sosial. Journal Artificial: Informatika Dan Sistem Informasi, 2(2), 90–106. https://doi.org/10.54065/artificial.543
Wahab, A., Herdian, A., Wirawan, D., Jumaryadi, Y., Alam, S., & Fiade, A. (2024). Stock Prediction for Indonesia Stock Exchange with Long Short-Term Memory. Jurnal Ilmiah FIFO, 16(1), 96–103. https://doi.org/10.22441/fifo.2024.v16i1.010
Wei, J., Xu, Q., & He, C. (2022). Deep learning of predicting closing price through historical adjustment closing price. Procedia Computer Science, 202, 379–384. https://doi.org/10.1016/j.procs.2022.04.052
Zhang, C., Sjarif, N. N. A., & Ibrahim, R. (2024). Deep learning models for price forecasting of financial time series: A review of recent advancements: 2020–2022. WIREs Data Mining and Knowledge Discovery, 14(1), e1519. https://doi.org/10.1002/widm.1519
Zhou, L., Zhang, Y., Yu, J., Wang, G., Liu, Z., Yongchareon, S., & Wang, N. (2025). LLM-Augmented Linear Transformer–CNN for Enhanced Stock Price Prediction. Mathematics, 13(3), 487. https://doi.org/10.3390/math13030487
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Pinokio Pinokio, Muhammad Akbar, Cindi Wulandari, Harma Oktafia Lingga Wijaya

This work is licensed under a Creative Commons Attribution 4.0 International License.
License and Copyright Agreement
- Authors retain copyright and other proprietary rights related to the article.
- Authors retain the right and are permitted to use the substance of the article in their own future works, including lectures and books.
- Authors grant the journal the right of first publication with the work simultaneously licensed under Creative Commons Attribution License (CC BY 4.0) 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 or self-archive 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.






