Submitted:
03 October 2025
Posted:
07 October 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Creating variations of deep learning models using LSTM, GRU, and BiLSTM architectures by systematically altering the number of layers and units per layer to analyze their impact on predictive performance.
- Training these models with time series data of trading volume and closing price values of cryptocurrencies to predict the risk of a coin becoming dead within the following 10 days, and selecting the best-performing model for each architecture.
- Comparing the model performances across historical input windows of 10 to 180 past days to evaluate how the length of past data influences the performance of predicting a coin’s death risk within the following 10 days.
2. Related Work
3. Materials and Methods
3.1. Data Description and Preprocessing
3.2. Methodology
3.2.1. Long Short-Term Memory (LSTM)
3.2.2. Bidirectional LSTM (BiLSTM)
3.2.3. Gated Recurrent Unit (GRU)
4. Experiments and Results
4.1. LSTM
4.2. GRU
4.3. BiLSTM
4.4. Performance Summary
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| LSTM | Long Short-Term Memory |
| BiLSTM | Bidirectional Long Short-Term Memory |
| GRU | Gated Recurrent Unit |
| RNN | Recurrent Neural Network |
| ACC | Accuracy |
| AUC | Area Under Curve |
References
- Abanda, A. , Mori, U., & Lozano, J. A. (2019). A review on distance based time series classification. A. ( 33(2), 378–412. [CrossRef]
- Alonso-Monsalve, S. , Suárez-Cetrulo, A. L., Cervantes, A., & Quintana, D. (2020). Convolution on neural networks for high-frequency trend prediction of cryptocurrency exchange rates using technical indicators. Expert Systems with Applications, 1132. [Google Scholar] [CrossRef]
- ArunKumar, K. E. , Kalaga, D. V., Sai Kumar, C. M., Chilkoor, G., Kawaji, M., & Brenza, T. M. (2021). Forecasting the dynamics of cumulative COVID-19 cases (confirmed, recovered and deaths) for top-16 countries using statistical machine learning models: Auto-Regressive Integrated Moving Average (ARIMA) and Seasonal Auto-Regressive Integrated Moving Average (SARIMA). Applied Soft Computing, 103, 107161. [Google Scholar] [CrossRef]
- Chimmula, V. K. R. , & Zhang, L. (2020). Time series forecasting of COVID-19 transmission in Canada using LSTM networks. Chaos, Solitons & Fractals, 1098. [Google Scholar] [CrossRef]
- CoinMarketCap. (2025). Cryptocurrencies tracked by CoinMarketCap. CoinMarketCap Charts, /: , 2025, from https, 21 July 2025.
- Ding, H. , Trajcevski, G., Scheuermann, P., Wang, X., & Keogh, E. (2008). Querying and mining of time series data: Experimental comparison of representations and distance measures. Proceedings of the VLDB Endowment, 1(2), 1542–1552. [Google Scholar] [CrossRef]
- 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. [CrossRef]
- Edwards, J. (2025). Bitcoin’s price history. Investopedia, /: , 2025, from https, 21 July 2025. [Google Scholar]
- Fawaz, H. I. , Forestier, G., Weber, J., Idoumghar, L., & Muller, P.-A. (2019). Deep learning for time series classification: A review. Data Mining and Knowledge Discovery. [CrossRef]
- Fister, D. , Perc, M., & Jagrič, T. (2021). Two robust long short-term memory frameworks for trading stocks. Applied Intelligence, 7177. [Google Scholar] [CrossRef]
- Fleischer, J. P. , von Laszewski, G., Theran, C., & Parra Bautista, Y. J. (2022). Time series analysis of cryptocurrency prices using long short-term memory. Algorithms. [CrossRef]
- Golnari, A. , Komeili, M. H., & Azizi, Z. (2024). Probabilistic deep learning and transfer learning for robust cryptocurrency price prediction. ( 255, 124404. [CrossRef]
- Gomede, E. (2024). Enhancing sequence prediction with bidirectional long short-term memory (BiLSTM): A synthetic data approach. Retrieved , 2025, from https://pub.aimind.so/enhancing-sequence-prediction-with-bidirectional-long-short-term-memory-bilstm-a-synthetic-data-b07a8e145ca3. 22 June.
- Goutte, S. , Le, H.-V., Liu, F., & von Mettenheim, H.-J. (2023). Deep learning and technical analysis in cryptocurrency market. Finance Research Letters, 0380. [Google Scholar] [CrossRef]
- Han, M. (2024). Systematic financial risk detection based on DTW dynamic algorithm and sensor network. Measurement: Sensors, 0125. [Google Scholar] [CrossRef]
- Han, T. , Peng, Q., Zhu, Z., Shen, Y., Huang, H., & Abid, N. N. (2020). A pattern representation of stock time series based on DTW. Physica A: Statistical Mechanics and its Applications, 550, 124161. [Google Scholar] [CrossRef]
- Hochreiter, S. , & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 1735. [Google Scholar] [CrossRef]
- Huang, Z. , Yang, F., Xu, F., Song, X., & Tsui, K.-L. (2019). Convolutional gated recurrent unit–recurrent neural network for state-of-charge estimation of lithium-ion batteries. IEEE Access. [CrossRef]
- Ingolfsson, T. M. (2021). Insights into LSTM architecture. Retrieved , 2025, from https://thorirmar.com/post/insight_into_lstm/. 22 June.
- Jabotinsky, H. Y. , & Sarel, R. (2023). How crisis affects crypto: Coronavirus as a test case. UC Law SF Law Review, 74(2), 433–?. Retrieved July 21, 2025. [Google Scholar]
- 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. [CrossRef]
- Ledger Academy. (2025). Dead coin. Retrieved , 2025, from https://www.ledger.com/academy/glossary/dead-coin. 21 July.
- Mejri, N. , Lopez-Fuentes, L., Roy, K., Chernakov, P., Ghorbel, E., & Aouada, D. (2024). Unsupervised anomaly detection in time-series: An extensive evaluation and analysis of state-of-the-art methods. Expert Systems with Applications. [CrossRef]
- Mirza, A. M. , Fernando, Y., Mergeresa, F., Wahyuni-Td, I. S., Ikhsan, R. B., & Fernando, E. (2023). Psychological risk, security risk and perceived risk of the cryptocurrency usage. In 2023 IEEE 9th International Conference on Computing, Engineering and Design (ICCED), Kuala Lumpur, Malaysia, pp. 1–5. [CrossRef]
- Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic cash system. Retrieved , 2025, from https://ssrn.com/abstract=3440802. Also available at, 21 July. [CrossRef]
- Özuysal, H. , Atan, M., & Güvenir, H. A. (2022). Kripto para birimlerinin ölme riskinin tahmini. Gazi İktisat ve İşletme Dergisi. [CrossRef]
- 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, 0258. [Google Scholar] [CrossRef]
- Reiff, N. (2024). The collapse of FTX: What went wrong with the crypto exchange? Investopedia, /: , 2025, from https, 21 July 2025. [Google Scholar]
- Rosen, A. (2025, May 22). Cryptocurrency basics: Pros, cons and how it works. NerdWallet, /: 21, 2025, from https, 22 May 2025; 21. [Google Scholar]
- 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. [CrossRef]
- Sivadasan, E. T. , Mohana Sundaram, N., & Santhosh, R. (2024). Stock market forecasting using deep learning with long short-term memory and gated recurrent unit. Soft Computing, 3282. [Google Scholar] [CrossRef]
- Tang, Y. , Song, Z., Zhu, Y., Yuan, H., Hou, M., Ji, J., Tang, C., & Li, J. (2022). A survey on machine learning models for financial time series forecasting. ( 512, 363–380. [CrossRef]
- Tessoni, V. , & Amoretti, M. (2022). Advanced statistical and machine learning methods for multi-step multivariate time series forecasting in predictive maintenance. Procedia Computer Science. [CrossRef]
- Tiao, G. C. (2015). Time series: ARIMA methods. In J. D. Wright (Ed.), International Encyclopedia of the Social & Behavioral Sciences (2nd ed., pp. 316–321). Oxford: Elsevier. [CrossRef]
- Wang, W. , Lyu, G., Shi, Y., & Liang, X. (2018). Time series clustering based on dynamic time warping. In 2018 IEEE 9th International Conference on Software Engineering and Service Science (ICSESS) (pp. 487–490). [CrossRef]
- Zenkner, G. , & Navarro-Martinez, S. (2023). A flexible and lightweight deep learning weather forecasting model. ( 53(21), 24991–25002. [CrossRef]
| 1 |
https://nomics.com/. Developer of a crypto application programming interface designed to permit cryptocurrency trading. The company sunset their API product on Mar 31, 2023. |
| 2 | Data will be made available on request. |








| 10 | 20 | 30 | 60 | 90 | 120 | 150 | |
|---|---|---|---|---|---|---|---|
| # cryptocurrencies | 4540 | 4338 | 4109 | 3422 | 2904 | 2442 | 2128 |
| # instances | 18160 | 17360 | 16440 | 13700 | 11620 | 9780 | 8520 |
| Layers | Units | Past days | F1-Score | Accuracy | Overall AUC |
|---|---|---|---|---|---|
| 1 | 32 | 180 | 0.7345 | 0.6995 | 0.7689 |
| 1 | 64 | 180 | 0.7336 | 0.697 | 0.7679 |
| 2 | 32 | 180 | 0.7358 | 0.7005 | 0.7647 |
| 4 | 64 | 150 | 0.7309 | 0.7018 | 0.7615 |
| Layers | Units | Past days | F1-Score | Accuracy | Overall AUC |
|---|---|---|---|---|---|
| 1 | 64 | 180 | 0.7391 | 0.7076 | 0.775 |
| 1 | 80 | 180 | 0.7411 | 0.7111 | 0.7779 |
| 1 | 96 | 180 | 0.7438 | 0.7134 | 0.7817 |
| 1 | 128 | 180 | 0.7441 | 0.7087 | 0.7786 |
| Layers | Units | Past days | F1-Score | Accuracy | Overall AUC |
|---|---|---|---|---|---|
| 2 | 80 | 180 | 0.7427 | 0.7098 | 0.7792 |
| 2 | 96 | 180 | 0.7369 | 0.7063 | 0.7758 |
| 2 | 112 | 180 | 0.7449 | 0.7082 | 0.7801 |
| 2 | 176 | 180 | 0.7397 | 0.7042 | 0.7765 |
| Architecture | Avg_Accuracy | Avg_AUC |
|---|---|---|
| LSTM | 0.6701 | 0.7293 |
| GRU | 0.6759 | 0.7385 |
| BiLSTM | 0.676 | 0.7377 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).