Analisis Komparatif Model ARIMA, LSTM, dan GRU dalam Forecasting Harga Bitcoin Berbasis Streamlit

Authors

  • Ridwana Septian Nurardian Universitas Bina Sarana Informatika
  • Albert Riyandi Universitas Bina Sarana Informatika

DOI:

https://doi.org/10.37859/jf.v16i2.12126
Keywords: ARIMA, LSTM, GRU, forecasting price bitcoin, streamlit

Abstract

Bitcoin is a cryptocurrency asset characterized by high volatility and non-linear movement patterns that trigger sudden market risks. Considering that the majority of previous studies have solely focused on mathematical metric evaluations without providing practical solutions, this study aims to compare the performance of the conventional statistical model Autoregressive Integrated Moving Average (ARIMA) with Deep Learning architectures, namely Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU), and to implement the best-performing model into an interactive dashboard using Streamlit. The dataset used encompasses daily Bitcoin closing prices for the 2020–2026 period. The methodology includes data preprocessing, MinMaxScaler normalization, sequential data generation using a 30-day sliding window technique, chronological data splitting (80:20), and evaluation using MAE, RMSE, MAPE, Accuracy, and R² Score. Experimental results prove that ARIMA fails to adapt to non-stationary data, whereas GRU outperforms LSTM in terms of architectural efficiency and precision. The GRU model achieved the best performance with an MAE of IDR 34,773,098.88, an RMSE of IDR 46,684,832.94, a MAPE of 2.26%, an Accuracy of 97.74%, and an R² Score of 0.9661. The GRU model was then successfully implemented into a Streamlit web dashboard that facilitates the real-time visualization of historical and predicted prices. In conclusion, the GRU architecture is the most effective and efficient approach for Bitcoin price forecasting, successfully bridging the gap between theoretical analysis and the availability of practical applications.

Downloads

Download data is not yet available.

References

J. Chen, “Analysis of Bitcoin Price Prediction Using Machine Learning,” Journal of Risk and Financial Management, vol. 16, no. 1, Jan. 2023, doi: 10.3390/jrfm16010051.

N. P. Patel et al., “Fusion in Cryptocurrency Price Prediction: A Decade Survey on Recent Advancements, Architecture, and Potential Future Directions,” IEEE Access, vol. 10, pp. 34511–34538, 2022, doi: 10.1109/ACCESS.2022.3163023.

M. J. Hamayel and A. Y. Owda, “A Novel Cryptocurrency Price Prediction Model Using GRU, LSTM and bi-LSTM Machine Learning Algorithms,” AI (Switzerland), vol. 2, no. 4, pp. 477–496, Dec. 2021, doi: 10.3390/ai2040030.

Ramadhan F and Nathasia N, “Prediksi Harga Dan Kinerja Aset Bitcoin Menggunakan Algoritma Long Short-Term Memory,” Jurnal Fasilkom, vol. 15, no. 1, pp. 68–76, Apr. 2025, doi: https://doi.org/10.37859/jf.v15i1.8902.

P. Jaquart, D. Dann, and C. Weinhardt, “Short-term bitcoin market prediction via machine learning,” Journal of Finance and Data Science, vol. 7, pp. 45–66, Mar. 2021, doi: 10.1016/j.jfds.2021.03.001.

Otoritas Jasa Keuangan, “Pembukaan Bulan Literasi Kripto (BLK) 2026,” Apr. 2026. Accessed: Apr. 26, 2026. [Online]. Available: https://ojk.go.id/id/berita-dan-kegiatan/siaran-pers/Pages/Pembukaan-Bulan-Literasi-Kripto-(BLK)-2026.aspx

IUWASH Tangguh, “Bitcoin Anjlok di Bawah USD 90.000 Dampak Perang Dagang Eropa-AS dan Strategi Investor 2026,” 2026. Accessed: Apr. 26, 2026. [Online]. Available: https://iuwashtangguh.or.id/berita-investasi/4623092629/bitcoin-anjlok-di-bawah-usd-90-000-dampak-perang-dagang-eropa-as-dan-strategi-investor-2026/

Reku, “BTC Anjlok Tajam, Risk-Off Global & Likuidasi Massal Jadi Biang Kerok,” 2026. Accessed: Apr. 26, 2026. [Online]. Available: https://reku.id/analysis/btc-anjlok-tajam-risk-off-global-likuidasi-massal-jadi-biang-kerok

F. Rodrigues and M. Machado, “High-Frequency Cryptocurrency Price Forecasting Using Machine Learning Models: A Comparative Study,” Information (Switzerland), vol. 16, no. 4, Apr. 2025, doi: 10.3390/info16040300.

M. Ahmed, S. A. Suha, F. H. Mahi, and F. U. Ahmed, “EVALUATING THE PERFORMANCE OF BITCOIN PRICE FORECASTING USING MACHINE LEARNING TECHNIQUES ON HISTORICAL DATA,” Informatyka, Automatyka, Pomiary w Gospodarce i Ochronie Srodowiska, vol. 14, no. 2, pp. 101–108, 2024, doi: 10.35784/iapgos.5657.

N. Nafisah, Y. Yamasari, and E. Yohannes, “A Performance Comparison of LSTM and GRU Architectures for Forecasting Daily Bitcoin Price Volatility,” JIEET (Journal of Information Engineering and Educational Technology, vol. 9, no. 2, pp. 156–167, 2025, doi: 10.26740/jieet.v9n.

I. P. B. Priadinata, I. G. I. Sudipa, N. P. S. Meinarni, I. M. L. Radhitya, and I. K. D. G. Supartha, “Comparative Analysis of LSTM, GRU, and Bi-LSTM Deep Learning Models for Time Series Cryptocurrency Price Forecasting,” sinkron, vol. 9, no. 3, pp. 1024–1035, Jul. 2025, doi: 10.33395/sinkron.v9i3.14795.

C. D. Rahmadewi, R. Parlika, and H. Maulana, “Perbandingan Fuzzy Mamdani dan Sugeno dalam Optimasi Trading Bitcoin Berbasis Indikator Teknikal,” JURNAL FASILKOM, Apr. 2026, doi: https://doi.org/10.37859/jf.v16i1.11235.

Z. I. Ramadhan and H. Widiputra, “Comparative Analysis of Recurrent Neural Network Models Performance in Predicting Bitcoin Prices,” Jurnal RESTI, vol. 8, no. 3, pp. 377–388, Jun. 2024, doi: https://doi.org/10.29207/resti.v8i3.5810.

A. Bouteska, M. Z. Abedin, P. Hajek, and K. Yuan, “Cryptocurrency price forecasting – A comparative analysis of ensemble learning and deep learning methods,” International Review of Financial Analysis, vol. 92, Mar. 2024, doi: 10.1016/j.irfa.2023.103055.

N. Tripathy, S. K. Nayak, and S. Prusty, “A comparative analysis for bitcoin price prediction,” Frontiers in Blockchain, vol. 7, 2024, doi: 10.3389/fbloc.2024.1346410.

N. Latif, J. D. Selvam, M. Kapse, V. Sharma, and V. Mahajan, “Comparative Performance of LSTM and ARIMA for the Short-Term Prediction of Bitcoin Prices,” 2023.

P. L. Seabe, C. R. B. Moutsinga, and E. Pindza, “Forecasting Cryptocurrency Prices Using LSTM, GRU, and Bi-Directional LSTM: A Deep Learning Approach,” Fractal and Fractional, vol. 7, no. 2, Feb. 2023, doi: 10.3390/fractalfract7020203.

I. W. R. Pinastawa, M. G. Pradana, D. S. Setiawan, and A. Izzety, “Comparison of ARIMA and GRU Methods in Predicting Cryptocurrency Price Movements,” sinkron, vol. 9, no. 1, pp. 96–105, Jan. 2025, doi: 10.33395/sinkron.v9i1.14235.

S. Yu, “Comparative analysis of machine learning techniques for cryptocurrency price prediction,” Applied and Computational Engineering, vol. 32, no. 1, pp. 1–12, Jan. 2023, doi: 10.54254/2755-2721/32/20230175.

M. I. Fawzi, T. Ganesha, P. R. Anugrah, M. Zhahran, F. A. Abimanyu, and H. Bimantoro, “Forecasting Bitcoin Price Prediction with Long Short-Term Memory Networks: Implementation and Applications Using Streamlit,” Jurnal Teknik Informatika (JUTIF), vol. 6, no. 5, pp. 2940–2961, Oct. 2025, doi: 10.52436/1.jutif.2025.6.5.5168.

O. Bhattarai, R. Chaudhary, and G. Gupta, “Time-Series Real-Time Bitcoin Price Prediction using LSTM,” 2023. [Online]. Available: https://www.coindesk.com/.

C. J. C. Jerlin, A. Deepha, and M. M. M. Krishnan, “Bitcoin Price Prediction,” International Journal of Scientific Research and Engineering Development, vol. 8, Apr. 2025, [Online]. Available: www.ijsred.com

A. Muis et al., DATA MINING: Konsep, Metode, dan Aplikasi. PT. FAASLIB SERAMBI MEDIA., 2025. [Online]. Available: https://faaslibsmedia.com/

W. Mega and Y. I. Sumbadri, “Analysis Of Lstm-Adamax Performance In Bitcoin Price Prediction Using RSI & MACD Indicators,” IJCSR: The Indonesian Journal of Computer Science Research E, 2026, doi: 10.37905.

B. Auffarth, “Machine Learning for Time-Series with Python,” 2021, Accessed: May 06, 2026. [Online]. Available: https://books.google.co.id/books?id=a7tLEAAAQBAJ

F. R. M. Muhammad, R. Permatasari, and E. A. R. Najaf, “Bitcoin Price Prediction Using a Deep Learning Approach with an LSTM Algorithm,” bit-Tech, vol. 8, no. 3, pp. 3577–3586, Apr. 2026, doi: 10.32877/bt.v8i3.3613.

M. Alfarizi and D. Lestarini, “Predicting Cryptocurrency Prices Using Machine Learning: A Case Study on Bitcoin,” 2025. [Online]. Available: http://jurnal.polibatam.ac.id/index.php/JAIC

J. Brownlee, “Deep Learning for Time Series Forecasting,” 2018.

R. J. Hyndman and G. Athanasopoulos, Forecasting Principles and Practice. 2018. Accessed: May 06, 2026. [Online]. Available: https://books.google.co.id/books?id=_bBhDwAAQBAJ

M. Elamine and A. Ben Abdallah, “Predicting Cryptocurrency Prices with a Hybrid ARIMA and LSTM Model,” Journal of Telecommunications and the Digital Economy, vol. 13, no. 1, pp. 98–117, Mar. 2025, doi: 10.18080/jtde.v13n1.1052.

M. Aswadi and U. Ependi, “Predicting Bitcoin and Ethereum Prices Using the Long Short- Term Memory (LSTM) Model,” Journal of Information Systems and Informatics, vol. 7, no. 3, pp. 3046–3061, Sep. 2025, doi: 10.51519/journalisi.v7i3.1228.

K. Prayoga, S. Alam, and I. Kurniawan, “IMPLEMENTASI LONG SHORT-TERM MEMORY (LSTM) UNTUK FORECASTING HARGA CRYPTOCURRENCY,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 5, Oct. 2025, doi: https://doi.org/10.36040/jati.v9i5.15048.

F. N. Abdullah, R. S. Nurardian, Amelliya, A. S. Saputra, A. W. Saputra, and W. Bismi, “Pengembangan Aplikasi Prediksi Harga Emas Berbasis Web Menggunakan Model Time Series,” Jurnal Informatika: Jurnal Pengembangan IT, vol. 10, no. 4, pp. 1127–1136, Sep. 2025, doi: 10.30591/jpit.v10i4.9165.

G. R. Malik, R. Parlika, and Kartini, “Pemodelan Dataset On-chain pada BiLSTM untuk Prediksi Harga Bitcoin,” JURNAL FASILKOM, vol. 16 No 1, Apr. 2026, doi: https://doi.org/10.37859/jf.v16i1.11275.

Downloads

Published

2026-08-30