Cryptocurrency Predictive Analytics: A Comparative Study of LSTM, CNN, and GRU Models
DOI:
https://doi.org/10.22555/pbr.v26i3.1236Keywords:
Cryptocurrency, price prediction, deep learning, time series analysis, financial forecastingAbstract
This paper investigates the efficacy of deep learning models such as Long-Short Term Memory (LSTM), Convolutional Neural Networks (CNN), and Gated Recurrent Units (GRU) for cryptocurrency price prediction, examining their short-term and long-term forecasting accuracy for investor guidance and advancing AI in financial analysis. The study uses time series analysis with LSTM, CNN, and GRU models on daily cryptocurrency prices from Investing.com, preprocessing data before testing on Bitcoin, Ethereum Classic, Ethereum, Litecoin, Monero, and the other 37 cryptocurrencies. RMSE, MAE, and accuracy rates measure performance. Findings revealed that only six cryptocurrencies were selected for final analysis, including Bitcoin, Ethereum Classic, Ethereum, Litecoin, and Monero. Results indicate that the deep learning models, particularly the LSTM and GRU, can predict cryptocurrency prices with high accuracy, especially for short-term forecasts within a 7-day window. The CNN model demonstrates significant predictive power, suggesting its utility for immediate trading decisions. Across the models, short-term precision was remarkably high, while long-term predictions maintained a moderate level of accuracy. This study presents a comparative analysis of LSTM, GRU, and CNN models for forecasting cryptocurrency prices, emphasizing LSTM and GRU's ability to navigate price volatility and suggesting their use for real-time trading analysis. The study's historical data reliance curtails forecasting unforeseen market shifts. Future studies should include new variables like social sentiment and blockchain analytics and test real-time adaptive models to enhance predictive strength. Model validation in actual market conditions is recommended for practical application.
References
Abdul, L., Xu, J., Sotra, A., Chaudary, A., Gao, J., Rajasekar, S., & Zhang, B. (2022). D-CryptO: deep learning-based analysis of colon organoid morphology from brightfield images. Lab on a Chip, 22(21), 4118–4128. https://doi.org/10.1039/D2LC00596D
Al Haija, Q. A. (2022). Time-Series Analysis of Cryptocurrency Price: Bitcoin as a Case Study. In 2022 International Conference on Electrical Engineering, Computer and Information Technology (ICEECIT) (pp. 49-53). IEEE. DOI: 10.1109/ICEECIT55908.2022.10030536
Al Hawi, L., Sharqawi, S., Al-Haija, Q. A., & Qusef, A. (2023). Empirical Evaluation of Machine Learning Performance in Forecasting Cryptocurrencies. Journal of Advances in Information Technology, 14(4). DOI:10.12720/jait.14.4.639-647
Ammer, M. A., & Aldhyani, T. H. (2022). Deep learning algorithm to predict cryptocurrency fluctuation prices: Increasing investment awareness. Electronics, 11(15), 2349. https://doi.org/10.3390/electronics11152349
Badawi, A. A., & Al-Haija, Q. A. (2021, November). Detection of money laundering in bitcoin transactions. In 4th Smart Cities Symposium (SCS 2021) (pp. 458-464). IET. DOI: 10.1049/icp.2022.0387
Balaji, A. J., Ram, D. H., & Nair, B. B. (2018). Applicability of deep learning models for stock price forecasting an empirical study on BANKEX data. Procedia computer science, 143, 947-953. https://doi.org/10.1016/j.procs.2018.10.340
Behera, S., Nayak, S. C., & Kumar, A. P. (2023). Evaluating the Performance of Metaheuristic Based Artificial Neural Networks for Cryptocurrency Forecasting. Computational Economics, 1-40. https://doi.org/10.1007/s10614-023-10466-4
Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078.
https://doi.org/10.48550/arXiv.1406.1078
Chen, T., Guo, S., Deng, X., Wang, P., Ding, J., Liu, H., & Wang, Y. (2024). CVPCNN: Conditionally variational parameterized convolution neural network for HRRP target recognition with imperfect side information. Signal Processing, 218, 109391. https://doi.org/10.1016/j.sigpro.2024.109391
Chollet, F., & Chollet, F. (2021). Deep learning with Python. Simon and Schuster.
Chowdhury, R., Rahman, M. A., Rahman, M. S., & Mahdy, M. R. C. (2020). An approach to predict and forecast the price of constituents and index of cryptocurrency using machine learning. Physica A: Statistical Mechanics and its Applications, 551, 124569. https://doi.org/10.1016/j.physa.2020.124569
Dautel, A. J., Härdle, W. K., Lessmann, S., & Seow, H. V. (2020). Forex exchange rate forecasting using deep recurrent neural networks. Digital Finance, 2, 69-96. https://doi.org/10.1007/s42521-020-00019-x
Derbentsev, V.,Matviychuk,A.,& Soloviev,V.N.(2020).Forecasting of cryptocurrency prices using machine learning. Advanced studies of financial technologies and cryptocurrency markets,211–231.https://doi.org/10.1007/978-981-15-4498-9_12
Ergen, F.,&Katlav,M.(2024).Machine and deep learning-based prediction of flexural moment capacity of ultra-high-performance concrete beams with/out steel fiber.Asian Journal of Civil Engineering,1-22.https://doi.org/10.1007/s42107-024-01064-2
Gomez, N. A. I., Lumacad, G. S., Saludes, I. L. R., Castino, P. A. A., & Ligtao, O. T. B. (2023). Deep Learning Models for MIR-4 Draco Token Exchange Value Forecasting. In 2023 International Conference in Advances in Power, Signal, and Information Technology (APSIT) (pp. 268-273). IEEE. DOI: 10.1109/APSIT58554.2023.10201784
Greff, K., Klein, A., Chovanec, M., Hutter, F., & Schmidhuber, J. (2017). The Sacred Infrastructure for Computational Research. SciPy, 17, 49-56. https://doi.org/10.25080/shinma-7f4c6e7-008
Guo, H., Zhang, D., Liu, S., Wang, L., & Ding, Y. (2021). Bitcoin price forecasting: A perspective of underlying blockchain transactions. Decision Support Systems, 151, 113650. https://doi.org/10.1016/j.dss.2021.113650
Hasan, S. H., Hasan, S. H., Ahmed, M. S., & Hasan, S. H. (2022). A Novel Cryptocurrency Prediction Method Using Optimum CNN. Computers, Materials & Continua, 71(1). https://doi.org/10.32604/cmc.2022.020823
Haq, I. U., Maneengam, A., Chupradit, S., Suksatan, W., & Huo, C. (2021). Economic policy uncertainty and cryptocurrency market as a risk management avenue: A systematic review. Risks, 9(9), 163. https://doi.org/10.3390/risks9090163
Hochreiter, S. (1997). Long Short-term Memory. Neural Computation MIT-Press. https://doi.org/10.1162/neco.1997.9.8.1735
Ibrahim, R. F., Elian, A. M., & Ababneh, M. (2021). Illicit account detection in the Ethereum blockchain using machine learning. In 2021 International Conference on Information Technology (ICIT) (pp. 488-493). IEEE. DOI: 10.1109/ICIT52682.2021.9491653
Kok, S. H., Abdullah, A., & Jhanjhi, N. Z. (2022). Early detection of crypto-ransomware using pre-encryption detection algorithm. Journal of King Saud University-Computer and Information Sciences, 34(5), 1984-1999. https://doi.org/10.1016/j.jksuci.2020.06.012
Kumar, M., Priya, G. S., Gadipudi, P., Agarwal, I., & Sumalatha, S. (2022). Exploring Patterns and Correlations between Cryptocurrencies and Forecasting Crypto Prices Using Influential Tweets. In International Conference on Machine Learning, Image Processing, Network Security and Data Sciences (pp. 308-321). Cham: Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-24367-7_30
LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278-2324. https://doi.org/ 10.1109/5.726791
Luo, C., Pan, L., Chen, B., & Xu, H. (2022). Bitcoin price forecasting: an integrated approach using hybrid LSTM-ELM models. Mathematical Problems in Engineering, 2022. https://doi.org/10.1155/2022/2126518
Maciel, L., Ballini, R., Gomide, F., & Yager, R. (2022). Forecasting cryptocurrency prices using data-driven level set fuzzy models. Expert Systems with Applications, 210, 118387. https://doi.org/10.1016/j.eswa.2022.118387
Murray, K., Rossi, A., Carraro, D., & Visentin, A. (2023). On Forecasting Cryptocurrency Prices: A Comparison of Machine Learning, Deep Learning, and Ensembles. Forecasting, 5(1), 196-209. https://doi.org/10.3390/forecast5010010
Nasirtafreshi, I. (2022). Forecasting cryptocurrency prices using recurrent neural networks and long short-term memory. Data & Knowledge Engineering, 139, 102009. https://doi.org/10.1016/j.datak.2022.102009
Patel, N. P., Parekh, R., Thakkar, N., Gupta, R., Tanwar, S., Sharma, G., & Sharma, R. (2022). Fusion in cryptocurrency price prediction: A decade survey on recent advancements, architecture, and potential future directions. IEEE Access, 10, 34511–34538. DOI: 10.1109/ACCESS.2022.3163023
Patel,M.M.,Tanwar,S.,Gupta, R., & Kumar,N.(2020).A deep learning based cryptocurrency price prediction scheme for financial institutions.Journal of information security and applications,55,102583. https://doi.org/10.1016/j.jisa.2020.102583
Seabe, P. L., Moutsinga, C. R. B., & Pindza, E. (2023). Forecasting cryptocurrency prices using LSTM, GRU, and bi-directional LSTM: a deep learning approach. Fractal and Fractional, 7(2), 203. https://doi.org/10.3390/fractalfract7020203
Smyl, S., Dudek, G., & Pelka, P. (2023). Forecasting Cryptocurrency Prices Using Contextual ES adRNN with Exogenous Variables. In International Conference on Computational Science (pp. 450-464). Cham Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-35995-832
Sohaib, O., Hussain, W., Asif, M., Ahmad, M., & Mazzara, M. (2019). A PLS-SEM neural network approach for understanding cryptocurrency adoption. Ieee Access, 8, 13138-13150. DOI: 10.1109/ACCESS.2019.2960083
Sulistio, B., Warners, H. L. H. S., Gaol, F. L., & Soewito, B. (2023, February). Energy sector stock price prediction using the CNN, GRU, and LSTM hybrid algorithms. In 2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE) (pp. 178–182). IEEE. DOI: 10.1109/ICCoSITE57641.2023.10127847
Tanwar, S., Patel, N. P., Patel, S. N., Patel, J. R., Sharma, G., & Davidson, I. E. (2022). Deep learning-based cryptocurrency price prediction scheme with inter-dependent relations. IEEE Access, 9, 138633–138646. DOI: 10.1109/ACCESS.2021.3117848
Wei, Y., Wang, Y., Lucey, B. M., & Vigne, S. A. (2023). Cryptocurrency uncertainty and volatility forecasting of precious metal futures markets. Journal of Commodity Markets, 29, 100305. https://doi.org/10.1016/j.jcomm.2022.100305
Additional Files
Published
Issue
Section
License
Copyright (c) 2025 Jahanzaib Alvi, Kehkashan Nizam, Saeb Muhammad Jafri , Muhammad Rehan, Muhammad Muzaffar Ali

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








