Cryptocurrency Price Forecasting Using XGBoost Regressor and Technical Indicators (2407.11786v1)
Abstract: The rapid growth of the stock market has attracted many investors due to its potential for significant profits. However, predicting stock prices accurately is difficult because financial markets are complex and constantly changing. This is especially true for the cryptocurrency market, which is known for its extreme volatility, making it challenging for traders and investors to make wise and profitable decisions. This study introduces a machine learning approach to predict cryptocurrency prices. Specifically, we make use of important technical indicators such as Exponential Moving Average (EMA) and Moving Average Convergence Divergence (MACD) to train and feed the XGBoost regressor model. We demonstrate our approach through an analysis focusing on the closing prices of Bitcoin cryptocurrency. We evaluate the model's performance through various simulations, showing promising results that suggest its usefulness in aiding/guiding cryptocurrency traders and investors in dynamic market conditions.
- Y.-L. Hsu, Y.-C. Tsai, and C.-T. Li, “Fingat: Financial graph attention networks for recommending top-k𝑘kitalic_k k profitable stocks,” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 1, pp. 469–481, 2021.
- M. Liu, G. Li, J. Li, X. Zhu, and Y. Yao, “Forecasting the price of bitcoin using deep learning,” Finance research letters, vol. 40, p. 101755, 2021.
- A. Hafid, A. S. Hafid, and D. Makrakis, “Bitcoin price prediction using machine learning and technical indicators,” in International Symposium on Distributed Computing and Artificial Intelligence. Springer, 2023, pp. 275–284.
- S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system,” Decentralized business review, 2008. [Online]. Available: http://dx.doi.org/10.2139/ssrn.3440802
- A. Hafid, A. S. Hafid, and M. Samih, “Scaling blockchains: A comprehensive survey,” IEEE access, vol. 8, pp. 125 244–125 262, 2020.
- H. Sebastião and P. Godinho, “Forecasting and trading cryptocurrencies with machine learning under changing market conditions,” Financial Innovation, vol. 7, no. 1, pp. 1–30, 2021.
- A. M. Khedr et al., “Cryptocurrency price prediction using traditional statistical and machine-learning techniques: A survey,” Intelligent Systems in Accounting, Finance and Management, vol. 28, no. 1, pp. 3–34, 2021.
- N. Nazareth and Y. V. R. Reddy, “Financial applications of machine learning: A literature review,” Expert Systems with Applications, vol. 219, p. 119640, 2023.
- S. Tanwar et al., “Machine learning adoption in blockchain-based smart applications: The challenges, and a way forward,” IEEE Access, vol. 8, pp. 474–488, 2019.
- J. B. Awotunde et al., “Machine learning algorithm for cryptocurrencies price prediction,” in Artificial Intelligence for Cyber Security: Methods, Issues and Possible Horizons or Opportunities. Springer, 2021, pp. 421–447.
- A. Greaves and B. Au, “Using the bitcoin transaction graph to predict the price of bitcoin,” No Data, 2015.
- H. Jang and J. Lee, “An empirical study on modeling and prediction of bitcoin prices with bayesian neural networks based on blockchain information,” IEEE Access, vol. 6, pp. 5427–5437, 2017.
- S. McNally et al., “Predicting the price of bitcoin using machine learning,” in 2018 26th euromicro international conference on parallel, distributed and network-based processing (PDP). IEEE, 2018, pp. 339–343.
- S. Velankar et al., “Bitcoin price prediction using machine learning,” in 2018 20th International Conference on Advanced Communication Technology (ICACT). IEEE, 2018, pp. 144–147.
- M. Saad et al., “Toward characterizing blockchain-based cryptocurrencies for highly accurate predictions,” IEEE Systems Journal, vol. 14, no. 1, pp. 321–332, 2019.
- G. Wood et al., “Ethereum: A secure decentralised generalised transaction ledger,” Ethereum project yellow paper, vol. 151, no. 2014, pp. 1–32, 2014.
- E. Sin and L. Wang, “Bitcoin price prediction using ensembles of neural networks,” in International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD). IEEE, 2017, pp. 666–671.
- E. Christoforou et al., “Neural networks for cryptocurrency evaluation and price fluctuation forecasting,” in Mathematical Research for Blockchain Economy. Springer, 2020, pp. 133–149.
- Z. Chen, C. Li, and W. Sun, “Bitcoin price prediction using machine learning: An approach to sample dimension engineering,” Journal of Computational and Applied Mathematics, vol. 365, p. 112395, 2020. [Online]. Available: https://doi.org/10.1016/j.cam.2019.112395
- E. Akyildirim et al., “Forecasting mid-price movement of bitcoin futures using machine learning,” Annals of Operations Research, vol. 330, no. 1, pp. 553–584, 2023.
- K. Martin et al., “Combining blockchain and machine learning to forecast cryptocurrency prices,” in International Conference on Blockchain Computing and Applications (BCCA). IEEE, 2020, pp. 52–58.
- S. Liu et al., “Financial time-series forecasting: Towards synergizing performance and interpretability within a hybrid machine learning approach,” arXiv preprint arXiv:2401.00534, 2023.
- K. He et al., “Financial time series forecasting with the deep learning ensemble model,” Mathematics, vol. 11, no. 4, p. 1054, 2023.
- A. Alfatemi, M. Rahouti, R. Amin, S. ALJamal, K. Xiong, and Y. Xin, “Advancing ddos attack detection: A synergistic approach using deep residual neural networks and synthetic oversampling,” arXiv preprint arXiv:2401.03116, 2024.
- P. K. Nagula and C. Alexakis, “A new hybrid machine learning model for predicting the bitcoin (BTC-USD) price,” Journal of Behavioral and Experimental Finance, vol. 36, p. 100741, 2022.
- A. Petrovic et al., “Cryptocurrency price prediction by using hybrid machine learning and beetle antennae search approach,” in Telecommunications Forum (TELFOR). IEEE, 2021, pp. 1–4.
- R. Gupta and J. E. Nalavade, “Metaheuristic assisted hybrid classifier for bitcoin price prediction,” Cybernetics and Systems, vol. 54, no. 7, pp. 1037–1061, 2023.
- C. Luo et al., “Bitcoin price forecasting: an integrated approach using hybrid lstm-elm models,” Mathematical Problems in Engineering, vol. 2022, 2022.
- “Data from binance api,” https://www.binance.com/.
- S. B. Achelis, “Technical analysis from a to z,” 2001.
- T. Chen and C. Guestrin, “Xgboost: A scalable tree boosting system,” in Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, 2016, pp. 785–794.
- Y. Shynkevich, T. M. McGinnity, S. A. Coleman, A. Belatreche, and Y. Li, “Forecasting price movements using technical indicators: Investigating the impact of varying input window length,” Neurocomputing, vol. 264, pp. 71–88, 2017.
- P. Jaquart, S. Köpke, and C. Weinhardt, “Machine learning for cryptocurrency market prediction and trading,” The Journal of Finance and Data Science, vol. 8, pp. 331–352, 2022.
- E. Akyildirim, A. Goncu, and A. Sensoy, “Prediction of cryptocurrency returns using machine learning,” Annals of Operations Research, vol. 297, pp. 3–36, 2021.
- “CoinGecko Methodology,” https://www.coingecko.com/en/methodology, accessed: February 7, 2024.