PREDIKSI HARGA SAHAM BANK NEGARA INDONESIA (BNI) BERDASARKAN HISTORICAL STOCK PRICE MENGGUNAKAN METODE GATED RECURRENT UNIT (GRU)
DOI:
https://doi.org/10.64626/jukomtek.v5i2.705Kata Kunci:
Stock Price, Prediction, BNI, Gated Recurrent UnitAbstrak
The volatile nature of stock price movements necessitates a prediction method capable of accurately modeling time-series data patterns. This study aims to predict the stock price of Bank Negara Indonesia (Persero) Tbk (BNI) using the Gated Recurrent Unit (GRU) method, based on historical data from the 2020–2025 period. The dataset includes closing prices, trading volume, moving averages (MA_7 and MA_21), volatility, and high-low ratios. The research process encompasses preprocessing, feature engineering, Min-Max normalization, the creation of sequential data with a time step of 30, and the splitting of data into training and testing sets. The GRU model is trained using the Adam optimizer, incorporating ReduceLROnPlateau and Early Stopping mechanisms to enhance training stability and mitigate the risk of overfitting. Model performance is evaluated using MSE, RMSE, MAE, R², and MAPE metrics. The results demonstrate that the GRU model yields effective predictions, achieving a MAPE of 3.91%, an RMSE of 211.21, and an R² of 0.746. Stock price predictions for the upcoming 10 days indicate a trend of gradual price decline. These findings suggest that the GRU method is effective for predicting BNI stock prices based on historical data and holds potential for supporting investment decision-making, while acknowledging external factors that influence market conditions
Referensi
Anggraini, N., Arman Prasetya, D., & Trimono, T. (2025). Prediksi Harga Saham Sektor Energi Menggunakan Metode Spatial Temporal Attention-Based Convolutional Network Berdasarkan Data Teks Dan Numerik. JATI (Jurnal Mahasiswa Teknik Informatika), 9(3), 3872–3880. https://doi.org/10.36040/jati.v9i3.13443
Caniago, A. I., Kaswidjanti, W., & Juwairiah, J. (2021). Recurrent Neural Network With Gate Recurrent Unit For Stock Price Prediction. Telematika, 18(3), 345. https://doi.org/10.31315/telematika.v18i3.6650
Dewi, P. E. D. M., & Dewi, L. G. K. (2025). Analisis Perubahan Harga Saham IDX30 Sebelum dan Sesudah Penetapan Hasil Pemilu 2024. Jurnal Ilmiah Akuntansi Dan Humanika, 15(1), 148–157.
Hapendi, S., Dini, W. W., & Kurnia, O. (2026). PENGARUH SISTEM INFORMASI SUMBER DAYA MANUSIA TERHADAP KINERJA KARYAWAN DI ERA DIGITAL. Jurnal Manajemen Bisnis Dan Organisasi, 5(1), 51–60. https://doi.org/10.64626/jmbo.v5i1.661
Janssens, U. (2024). Functional hemodynamic monitoring. In Medizinische Klinik - Intensivmedizin und Notfallmedizin (Vol. 119, Number 8, pp. 614–623). https://doi.org/10.1007/s00063-024-01190-4
Maulana, R., Al Ramadani, M. I., Nurhalisah, A., Nuraini, S., & Larasati, I. (2024). Perbandingan Kenaikan Harga Saham Bank BNI (BBNI) dan Bank BRI (BBRI) Pada Tahun 2023-2024. Jurnal Multidisiplin West Science, 3(10), 1518–1525. https://doi.org/10.58812/jmws.v3i10.1386
Meilin Veronica, & Pebriani, R. A. (2020). PENGARUH FAKTOR FUNDAMENTAL DAN MAKRO EKONOMI TERHADAP HARGA SAHAM PADA PERUSAHAAN INDUSTRI PROPERTI DI BURSA EFEK INDONESIA. Islamic Banking : Jurnal Pemikiran Dan Pengembangan Perbankan Syariah, 6(1), 119–138.
Nilsen, A. (2022). Perbandingan Model RNN, Model LSTM, dan Model GRU dalam Memprediksi Harga Saham-Saham LQ45. Jurnal Statistika Dan Aplikasinya, 6(1), 137–147. https://doi.org/10.21009/jsa.06113
Putri Kemala Dewi Lubis, Fera Daniaty Nababan, Maria Audina Rumapea, Teresia Reginanta Ginting, & Yefoni Valentina Banjar. (2024). Pengaruh Corporate Governance Terhadap Nilai Pasar Saham di Pasar Modal. Akuntansi 45, 5(1), 458–470. https://doi.org/10.30640/akuntansi45.v5i1.2492
Raup, A., Ridwan, W., Khoeriyah, Y., Supiana, S., & Zaqiah, Q. Y. (2022). Deep Learning dan Penerapannya dalam Pembelajaran. JIIP - Jurnal Ilmiah Ilmu Pendidikan, 5(9), 3258–3267. https://doi.org/10.54371/jiip.v5i9.805
Rofii, A., & Putri, E. L. (2025). Tinjauan Komprehensif Jaringan Syaraf Tiruan RNN: Karakteristik, dan Aplikasi dalam Peramalan Energi Bangunan Gedung. Journal Kajian Teknik Elektro (JKTE), 10(2), 5–12.
T, T., & Setiawan Saputra, T. (2020). Analisa Akurasi Penggunaan Metode Single Eksponential Smoothing untuk Perkiraan Penerimaan Mahasiswa Baru Pada Perguruan Tinggi XYZ. Jurnal Ilmiah Informatika Global, 11(01), 64–68.
Wirastiti, M., Fitriani, A., Widhiyasa, A. A., Baihaqi, M. I., & Suparta, I. M. (2025). BBNI Merupakan Saham Investasi di Bursa Efek Indonesia. Jurnal Nirta : Studi Inovasi, 5(1), 156–167. https://ejournal.nlc-education.or.id/index.php/JNSI/article/view/234
Wulandari, N., Putri, R. A., Nazhirah, A., & Novia, S. A. (2025). Inflation Forecasting for Riau Province: A Comparison of Parametric ARIMA with Nonparametric Nadaraya-Watson Kernel Regression and B-Spline Methods. Jurnal Matematika, Statistika Dan Komputasi, 21(3), 763–774. https://doi.org/10.20956/j.v21i3.43647
Unduhan
Diterbitkan
Cara Mengutip
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2026 Jurnal Komputer dan Teknologi

Artikel ini berlisensi Creative Commons Attribution-NonCommercial 4.0 International License.












