A Performance Comparison of LSTM and GRU Architectures for Forecasting Daily Bitcoin Price Volatility

Main Article Content

Nurun Nafisah
Yuni Yamasari
Ervin Yohannes

Abstract

The highly volatile movement of Bitcoin prices necessitates the use of prediction methods capable of accurately capturing complex and rapidly changing patterns. This study aims to compare the performance of two recurrent neural network architectures, namely Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU), in forecasting Bitcoin prices based on historical time series data. The analysis was conducted using daily closing price data, with several parameter configurations applied, including dropout value, learning rate, and number of epochs at a window size of 30. The training process was carried out using a univariate approach to assess the fundamental ability of each model to learn temporal patterns without the influence of external variables. The results indicate that the GRU model consistently outperforms LSTM across most experimental settings. The best performance was achieved with 30 epochs, dropout 0.1, and a learning rate of 0.001, producing RMSE 1478.333, MAE 1000.900, R² 0.996081, and MAPE 1.973072. These metrics demonstrate a lower error level and a stronger fit to actual Bitcoin price movements. Moreover, a paired t-test confirmed that the performance gap between the two models is statistically significant. Overall, the findings suggest that the Gated Recurrent Unit architecture is more efficient in capturing nonlinear patterns and responding to the volatile dynamics of cryptocurrency price fluctuations, making it a promising approach for future predictive modeling in financial time series.

Article Details

Section
Articles

References

Akila, V., Nitin, M. V. S., Prasanth, I., Reddy M, S., & Akash Kumar, G. (2023). A Cryptocurrency Price Prediction Model using Deep Learning. E3S Web of Conferences, 391. https://doi.org/10.1051/e3sconf/202339101112

Akouaouch, I., & Bouayad, A. (2025). A new deep learning approach for predicting high-frequency short-term cryptocurrency price. Bulletin of Electrical Engineering and Informatics, 14(1), 513–523. https://doi.org/10.11591/eei.v14i1.7377

Ben Hamadou, F., Mezghani, T., Zouari, R., & Boujelbène-Abbes, M. (2025). Forecasting Bitcoin returns using machine learning algorithms: impact of investor sentiment. EuroMed Journal of Business, 20(1), 179–200. https://doi.org/10.1108/EMJB-03-2023-0086

Boozary, P., Sheykhan, S., & GhorbanTanhaei, H. (2025). Forecasting the Bitcoin price using the various Machine Learning: A systematic review in data-driven marketing. Systems and Soft Computing, 7(August 2024), 200209. https://doi.org/10.1016/j.sasc.2025.200209

Bouteska, A., Abedin, M. Z., Hajek, P., & Yuan, K. (2024). Cryptocurrency price forecasting – A comparative analysis of ensemble learning and deep learning methods. International Review of Financial Analysis, 92(December 2022), 103055. https://doi.org/10.1016/j.irfa.2023.103055

Dip Das, J., Thulasiram, R. K., Henry, C., & Thavaneswaran, A. (2024). Encoder–Decoder Based LSTM and GRU Architectures for Stocks and Cryptocurrency Prediction. Journal of Risk and Financial Management, 17(5). https://doi.org/10.3390/jrfm17050200

Gunarto, D. M., Sa’adah, S., & Utama, D. Q. (2023). Predicting Cryptocurrency Price Using RNN and LSTM Method. Jurnal Sisfokom (Sistem Informasi Dan Komputer), 12(1), 1–8. https://doi.org/10.32736/sisfokom.v12i1.1554

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

Iqbal, M., Iqbal, A., Alshammari, A., Ali, I., Maghrabi, L. A., & Usman, N. (2024). Sell or HODL Cryptos: Cryptocurrency Short-to-Long Term Projection Using Simultaneous Classification-Regression Deep Learning Framework. IEEE Access, 12, 118169–118184. https://doi.org/10.1109/ACCESS.2024.3448234

Kabir, M. R., Bhadra, D., Ridoy, M., & Milanova, M. (2025). LSTM–Transformer-Based Robust Hybrid Deep Learning Model for Financial Time Series Forecasting. Sci, 7(1). https://doi.org/10.3390/sci7010007

Latif, N., Selvam, J. D., Kapse, M., Sharma, V., & Mahajan, V. (2023). Comparative Performance of LSTM and ARIMA for the Short-Term Prediction of Bitcoin Prices. Australasian Accounting, Business and Finance Journal, 17(1), 256–276. https://doi.org/10.14453/aabfj.v17i1.15

Lee, M. C. (2024). Bitcoin Trend Prediction with Attention-Based Deep Learning Models and Technical Indicators. Systems, 12(11). https://doi.org/10.3390/systems12110498

Ortu, M., Uras, N., Conversano, C., Bartolucci, S., & Destefanis, G. (2022). On technical trading and social media indicators for cryptocurrency price classification through deep learning. Expert Systems with Applications, 198(March 2023). https://doi.org/10.1016/j.eswa.2022.116804

Pan, L. (2023). Cryptocurrency Price Prediction Based on ARIMA, Random Forest and LSTM Algorithm. BCP Business & Management, 38, 3396–3404. https://doi.org/10.54691/bcpbm.v38i.4313

Parameswaran, S. E., Ramachandran, V., & Shukla, S. (2024). Crypto Trend Prediction Based on Wavelet Transform and Deep Learning Algorithm. Procedia Computer Science, 235, 1179–1189. https://doi.org/10.1016/j.procs.2024.04.112

Pinastawa, I. W. R., Pradana, M. G., Setiawan, D. S., & Izzety, A. (2025). Comparison of ARIMA and GRU Methods in Predicting Cryptocurrency Price Movements. Sinkron, 9(1), 96–105. https://doi.org/10.33395/sinkron.v9i1.14235

Piri, M., & Razzagzadeh, S. (2025). LSTM-Based Time Series Prediction for Bitcoin Price Analysis: A Case Study with Evaluation Metrics and Performance Insights.

Said, L. S. (2025). Cryptocurrency Price Prediction Model Using GRU, LSTM and Bi-LSTM Machine Learning Algorithms.

Seabe, P. L., Moutsinga, C. R. B., & Pindza, E. (2023). Forecasting Cryptocurrency Prices Using LSTM, GRU, and Bi-Directional LSTM: A Deep Learning Approach. 1–18. https://doi.org/10.3390/fractalfract7020203

Shirwaikar, R., Naik, S., Pardeshi, A., Manjrekar, S., Shetye, Y., Dhargalkar, S., & Madkaikar, R. (2025). Optimized Deep Learning Framework for Cryptocurrency Price Prediction. SN Computer Science, 6(1). https://doi.org/10.1007/s42979-024-03611-9

Somayajulu, S., Ahmed, M., & Kotaiah, B. (2025). Bitcoin Price Prediction Using LSTM and CNN. https://ssrn.com/abstract=5190840

Sujana, S., & Jairam, B. G. (2024). Machine Learning based Framework to Predict the Bitcoin Price. 15th International Conference on Advances in Computing, Control, and Telecommunication Technologies, ACT 2024, 1, 1228–1235.

Syed, S., Talha, S. M., Iqbal, A., Ahmad, N., & Alshara, M. A. (2024). Seeing Beyond Noise: Improving Cryptocurrency Forecasting with Linear Bias Correction. AI (Switzerland), 5(4), 2829–2851. https://doi.org/10.3390/ai5040136

Wen, N. S., & Ling, L. S. (2023). Evaluation of Cryptocurrency Price Prediction Using LSTM and CNNs Models. International Journal on Informatics Visualization, 7(3–2), 2016–2024. https://doi.org/10.30630/joiv.7.3-2.2344

Yanimaharta, A., & Santoso, H. A. (2025). Performance Evaluation of Deep Learning Models for Cryptocurrency Price Prediction using LSTM, GRU, and Bi-LSTM. International Journal of Systematic Innovation, 8(1), 49–62. https://doi.org/10.6977/IJoSI.202403_8(1).0005

YURTSEVER, M. (2021). Gold Price Forecasting Using LSTM, Bi-LSTM and GRU. European Journal of Science and Technology, January. https://doi.org/10.31590/ejosat.959405