An Integrated Framework for Cryptocurrency Price Forecasting and Anomaly Detection Using Machine Learning
Source abstract
Abstract
The accurate prediction of cryptocurrency prices is crucial due to the volatility and complexity of digital asset markets, which pose significant challenges to traders, investors, and researchers. This research addresses these challenges by leveraging machine learning and deep learning techniques to forecast closing prices for cryptocurrencies, focusing on Bitcoin, Ethereum, Binance Coin, and Litecoin cryptocurrency datasets. A Random Forest ensemble learning algorithm, a Gradient Boosting model, and a feedforward neural network were implemented to handle the complexities in cryptocurrency data. A Z-Score-based anomaly detection framework was integrated to classify closing prices as normal or abnormal, aiding in identifying significant market events. Evaluation metrics, such as the Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and R-squared (R2), demonstrate the superior precision and reliability of the Random Forest and Gradient Boosting models. The deep learning model indicates strong generalization capabilities, suggesting potential advantages on more complex datasets. These findings highlight the importance of combining advanced machine learning techniques and cryptocurrencies to develop a robust framework for cryptocurrency forecasting and anomaly detection.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Blockchain Technology Applications and Security · Stock Market Forecasting Methods
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science, Jazan University, Jazan 82817, Saudi Arabia
Engineering and Technology Research Center, Jazan University, P.O. Box 114, Jazan 82817, Saudi Arabia
Department of Electrical and Electronic Engineering, Jazan University, Jazan 82817, Saudi Arabia
Funding
Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia
References (42)
Show source-provided references
1. Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies10.1016/j.eswa.2017.04.030 ↗
2. Smutny, Z., Sulc, Z., and Lansky, J. (2021). Motivations, barriers and risk-taking when investing in cryptocurrencies. Mathematics, 9.10.3390/math9141655 ↗
3. Sun, W., Dedahanov, A.T., Shin, H.Y., and Kim, K.S. (2020). Switching intention to crypto-currency market: Factors predisposing some individuals to risky investment. PLoS ONE, 15.10.1371/journal.pone.0234155 ↗
4. Do cryptocurrency investors in the UK need more protection?10.1108/JFRC-03-2023-0036 ↗
5. Predicting crypto currency prices using machine learning and deep learning techniques
6. Predicting Ethereum prices with machine learning based on Blockchain information10.1016/j.eswa.2021.115480 ↗
7. Gold and Bitcoin Price Prediction based on KNN, XGBoost and LightGBM Model10.54097/hset.v39i.6635 ↗
8. Fair and trustworthy: Lock-free enhanced tendermint blockchain algorithm10.12928/telkomnika.v18i4.15701 ↗
9. Assiri, B., and Khan, W.Z. (2019, January 9–11). Enhanced and lock-free tendermint blockchain protocol. Proceedings of the 2019 IEEE International Conference on Smart Internet of Things (SmartIoT), Tianjin, China.10.1109/SmartIoT.2019.00041 ↗
10. Assiri, B. (2023). A modified and effective blockchain model for e-healthcare systems. Appl. Sci., 13.10.3390/app132312630 ↗
11. Assiri, B. (2019, January 9–11). Leader election and blockchain algorithm in cloud environment for e-health. Proceedings of the 2019 2nd International Conference on New Trends in Computing Sciences (ICTCS), Amman, Jordan.10.1109/ICTCS.2019.8923099 ↗
12. Assiri, B., and Alnami, H. (2024). Smart Partitioned Blockchain. Sensors, 24.10.3390/s24134033 ↗
13. Prediction of the price of Ethereum blockchain cryptocurrency in an industrial finance system10.1016/j.compeleceng.2019.106527 ↗
14. Bitcoin price prediction using machine learning: An approach to sample dimension engineering10.1016/j.cam.2019.112395 ↗
15. An Enhanced Deep Learning Technique to Measure the Impact of Cryptocurrency on the World Payment system using Random Forest
16. Machine learning for cryptocurrency market prediction and trading10.1016/j.jfds.2022.12.001 ↗
17. Machine learning Ethereum cryptocurrency prediction and knowledge-based investment strategies10.1016/j.knosys.2024.112088 ↗
18. Rebane, J., Karlsson, I., Papapetrou, P., and Denic, S. (2018, January 19–23). Seq2Seq RNNs and ARIMA models for cryptocurrency prediction: A comparative study. Proceedings of the SIGKDD Fintech’18, London, UK.
19. Time-series prediction of cryptocurrency market using machine learning techniques10.4108/eai.7-7-2021.170286 ↗
20. Glossary to arch (garch)
21. GARCH processes: Structure and estimation
22. Siami-Namini, S., Tavakoli, N., and Namin, A.S. (2018, January 17–20). A comparison of ARIMA and LSTM in forecasting time series. Proceedings of the 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA), Orlando, FL, USA.10.1109/ICMLA.2018.00227 ↗
23. Sung, S.H., Kim, J.M., Park, B.K., and Kim, S. (2022). A Study on Cryptocurrency Log-Return Price Prediction Using Multivariate Time-Series Model. Axioms, 11.10.3390/axioms11090448 ↗
24. Financial time series forecasting with deep learning: A systematic literature review: 2005–201910.1016/j.asoc.2020.106181 ↗
25. Multi-attribute group decision-making considering opinion dynamics10.1016/j.eswa.2021.115479 ↗
26. Evaluating the effectiveness of machine learning algorithms in predicting cryptocurrency prices under market volatility: A study based on the usa financial market10.37547/tajmei/Volume06Issue12-03 ↗
27. Comparative analysis of machine learning algorithms for daily cryptocurrency price prediction
28. Derbentsev, V., Datsenko, N., Babenko, V., Pushko, O., and Pursky, O. (2020, January 6–9). Forecasting cryptocurrency prices using ensembles-based machine learning approach. Proceedings of the 2020 IEEE International Conference on Problems of Infocommunications. Science and Technology (PIC S&T), Kharkiv, Ukraine.10.1109/PICST51311.2020.9468090 ↗
29. Bitcoin_ML: An Efficient Framework for Bitcoin Price Prediction Using Machine Learning10.21608/jocc.2024.339923 ↗
30. Cryptocurrency price prediction based on ARIMA, random forest and LSTM algorithm10.54691/bcpbm.v38i.4313 ↗
31. Predicting Bitcoin prices using machine learning techniques with historical data
32. Cryptocurrency price prediction using traditional statistical and machine-learning techniques: A survey10.1002/isaf.1488 ↗
33. Chen, J. (2023). Analysis of bitcoin price prediction using machine learning. J. Risk Financ. Manag., 16.10.3390/jrfm16010051 ↗
34. Cryptocurrency analysis using machine learning and deep learning approaches
35. Cryptocurrency price prediction using enhanced PSO with extreme gradient boosting algorithm
36. Ascertaining price formation in cryptocurrency markets with machine learning10.1080/1351847X.2021.1908390 ↗
37. Parmar, A., Katariya, R., and Patel, V. (2019). A review on random forest: An ensemble classifier. International Conference on Intelligent Data Communication Technologies and Internet of Things (ICICI) 2018, Springer.10.1007/978-3-030-03146-6_86 ↗
38. Volatility of select crypto-currencies: A comparison of Bitcoin, Ethereum and Litecoin
39. (2024, September 10). Cryptocurrency Historical Prices—kaggle.com. Available online: https://www.kaggle.com/datasets/sudalairajkumar/cryptocurrencypricehistory.
40. Scikit-Learn Developers (2025, January 15). sklearn.preprocessing.StandardScaler—Scikit-Learn 1.6.0 Documentation. Available online: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html.
41. Comparative assessment of regression models based on model evaluation metrics
42. Classification assessment methods10.1016/j.aci.2018.08.003 ↗