Submitted:
22 October 2024
Posted:
23 October 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Works
3. Research Method
3.1. SMA, EMA, TEMA, and MACD
3.1.1. Simple Moving Average (SMA)
3.1.2. Exponential Moving Average (EMA)
3.1.3. Triple Exponential Moving Average (TEMA)
3.1.4. Moving Average Convergence Divergence (MACD)
3.2. The Proposed Attention-Based Deep Models




4. Experimental Results
4.1 Experimental Setup
4.2 Experimental Results
4.2.1. Results of Attention-based LSTM Model
4.2.2. Results of Attention-based GRU Model
4.2.3. Comprehensive Performance Analysis
5. Conclusions
Acknowledgments
Conflicts of Interest
References
- Kayal, P.; Rohilla, P. Bitcoin in the economics and finance literature: a survey. SN business & economics 2021, 1, 88. [Google Scholar]
- Pečiulis, T.; Ahmad, N.; Menegaki, A.N.; Bibi, A. Forecasting of cryptocurrencies: Mapping trends, influential sources, and research themes. Journal of Forecasting 2024. [Google Scholar] [CrossRef]
- Fang, F.; Ventre, C.; Basios, M.; Kanthan, L.; Martinez-Rego, D.; Wu, F.; Li, L. Cryptocurrency trading: a comprehensive survey. Financial Innovation 2022, 8, 13. [Google Scholar] [CrossRef]
- Bollen, J.; Mao, H.; Zeng, X. Twitter mood predicts the stock market. Journal of computational science 2011, 2, 1–8. [Google Scholar] [CrossRef]
- Patel, N.P.; Parekh, R.; Thakkar, N.; Gupta, R.; Tanwar, S.; Sharma, G. ... & Sharma, R. Fusion in cryptocurrency price prediction: A decade survey on recent advancements, architecture, and potential future directions. IEEE Access 2022, 10, 34511–34538. [Google Scholar]
- Arslan, S. Bitcoin Price Prediction Using Sentiment Analysis and Empirical Mode Decomposition. Computational Economics 2024, 1–22. [Google Scholar] [CrossRef]
- Jaquart, P.; Dann, D.; Weinhardt, C. Short-term bitcoin market prediction via machine learning. The journal of finance and data science 2021, 7, 45–66. [Google Scholar] [CrossRef]
- Hamayel, M.J.; Owda, A.Y. A novel cryptocurrency price prediction model using GRU, LSTM and bi-LSTM machine learning algorithms. Ai 2021, 2, 477–496. [Google Scholar] [CrossRef]
- Seabe, P.L.; Moutsinga, C.R.B.; Pindza, E. Forecasting cryptocurrency prices using LSTM, GRU, and bi-directional LSTM: a deep learning approach. Fractal and Fractional 2023, 7, 203. [Google Scholar] [CrossRef]
- Kim, G.; Shin, D.H.; Choi, J.G.; Lim, S. A deep learning-based cryptocurrency price prediction model that uses on-chain data. IEEE Access 2022, 10, 56232–56248. [Google Scholar] [CrossRef]
- Rathee, N.; Singh, A.; Sharda, T.; Goel, N.; Aggarwal, M.; Dudeja, S. Analysis and price prediction of cryptocurrencies for historical and live data using ensemble-based neural networks. Knowledge and Information Systems 2023, 65, 4055–4084. [Google Scholar] [CrossRef]
- Aslam, F.; Memon, B.A.; Hunjra, A.I.; Bouri, E. The dynamics of market efficiency of major cryptocurrencies. Global Finance Journal 2023, 58, 100899. [Google Scholar] [CrossRef]
- Nti, I.K.; Adekoya, A.F.; Weyori, B.A. A systematic review of fundamental and technical analysis of stock market predictions. Artificial Intelligence Review 2020, 53, 3007–3057. [Google Scholar] [CrossRef]
- Ji, S.; Kim, J.; Im, H. A comparative study of bitcoin price prediction using deep learning. Mathematics 2019, 7, 898. [Google Scholar] [CrossRef]
- Chen, Z.; Li, C.; Sun, W. Bitcoin price prediction using machine learning: An approach to sample dimension engineering. Journal of Computational and Applied Mathematics 2020, 365, 112395. [Google Scholar] [CrossRef]
- Awoke, T.; Rout, M.; Mohanty, L.; Satapathy, S.C. (2020). Bitcoin price prediction and analysis using deep learning models. In Communication Software and Networks: Proceedings of INDIA 2019 (pp. 631-640). Singapore: Springer Singapore.
- Jaquart, P.; Dann, D.; Weinhardt, C. Short-term bitcoin market prediction via machine learning. The journal of finance and data science 2021, 7, 45–66. [Google Scholar] [CrossRef]
- Aljojo, N.; Alshutayri, A.; Aldhahri, E.; Almandeel, S.; Zainol, A. A nonlinear autoregressive exogenous (NARX) neural network model for the prediction of timestamp influence on bitcoin value. IEEE Access 2021, 9, 148611–148624. [Google Scholar] [CrossRef]
- Loginova, E.; Tsang, W.K.; van Heijningen, G.; Kerkhove, L.P.; Benoit, D.F. Forecasting directional bitcoin price returns using aspect-based sentiment analysis on online text data. Machine Learning 2024, 113, 4761–4784. [Google Scholar] [CrossRef]
- Kim, G.; Shin, D.H.; Choi, J.G.; Lim, S. A deep learning-based cryptocurrency price prediction model that uses on-chain data. IEEE Access 2022, 10, 56232–56248. [Google Scholar] [CrossRef]
- Habek, G.C.; Toçoğlu, M.A.; Onan, A. Bi-Directional CNN-RNN architecture with group-wise enhancement and attention mechanisms for cryptocurrency sentiment analysis. Applied Artificial Intelligence 2022, 36, 2145641. [Google Scholar] [CrossRef]
- Roy, P.K.; Kumar, A.; Singh, A.; Sangaiah, A.K. Forecasting Bitcoin Prices using Deep Learning for Consumer Centric Industrial Applications. IEEE Transactions on Consumer Electronics 2023. [CrossRef]
- Frohmann, M.; Karner, M.; Khudoyan, S.; Wagner, R.; Schedl, M. Predicting the price of Bitcoin using sentiment-enriched time series forecasting. Big Data and Cognitive Computing 2023, 7, 137. [Google Scholar] [CrossRef]
- Tang, X.; Song, Y.; Jiao, X.; Sun, Y. On forecasting realized volatility for bitcoin based on deep learning PSO–GRU model. Computational Economics 2024, 63, 2011–2033. [Google Scholar] [CrossRef]
- Fang, F.; Chung, W.; Ventre, C.; Basios, M.; Kanthan, L.; Li, L.; Wu, F. Ascertaining price formation in cryptocurrency markets with machine learning. The European Journal of Finance 2024, 30, 78–100. [Google Scholar] [CrossRef]
- Roy, P.K.; Kumar, A.; Singh, A.; Sangaiah, A.K. Forecasting Bitcoin Prices using Deep Learning for Consumer Centric Industrial Applications. IEEE Transactions on Consumer Electronics 2023. [CrossRef]
- Arslan, S. Bitcoin Price Prediction Using Sentiment Analysis and Empirical Mode Decomposition. Computational Economics 2024, 1–22. [Google Scholar] [CrossRef]
- Omole, O.; Enke, D. Deep learning for Bitcoin price direction prediction: models and trading strategies empirically compared. Financial Innovation 2024, 10, 117. [Google Scholar] [CrossRef]











| Att_LSTM | LSTM_SMA | LSTM_EMA | LSTM_TEMA | LSTM_MACD | |
| Recall (Avg.) | 47.37% | 50.67% | 51.91% | 50.91% | 54.26% |
| Precision (Avg.) | 67.02% | 69.97% | 71.03% | 70.43% | 73.27% |
| F1 (Avg.) | 55.51% | 58.78% | 59.99% | 59.10% | 62.35% |
| Accuracy | 66.58% | 70.39% | 71.72% | 70.39% | 73.84% |
| Att_GRU | GRU_SMA | GRU_EMA | GRU_TEMA | GRU_MACD | |
| Recall (Avg.) | 50.34% | 51.12% | 51.23% | 50.90% | 54.37% |
| Precision (Avg.) | 65.06% | 65.61% | 65.80% | 65.48% | 68.27% |
| F1 (Avg.) | 56.76% | 57.47% | 57.61% | 57.28% | 60.53% |
| Accuracy | 70.01% | 70.95% | 70.62% | 70.44% | 73.21% |
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. |
© 2024 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/).