Research Article

Predicting cryptocurrency investment suitability using machine learning techniques

Xiaoke Song*
University of California at Berkeley

* Corresponding author: [email protected]

Abstract

The study aims to predict the close prices of four different cryptocurrencies (Bitcoin, Ethere-um, Dogecoin, and Cardano) using machine learning techniques and determine which of these cryptocurrencies is suitable for investment. To achieve this goal, we used two popular gradi-ent boosting algorithms: Extreme Gradient Boosting (XGBoost) and Light Gradient-Boosting Machine (LightGBM). Prediction accuracy of the trained model is evaluated by Mean Abso-lute Error (MAE) generated by the methodology of Cross-Validation. Our results show that both XGBoost and LightGBM can effectively predict the close prices of the four cryptocur-rencies, with LightGBM achieving slightly better performance in terms of prediction accura-cy. Based on our analysis, we were able to identify which cryptocurrencies were suitable for investing and provide recommendations for potential investors. Overall, our study highlights the potential of machine learning techniques in predicting cryptocurrency close prices and identifying suitable investment opportunities.

Keywords: cryptocurrencies; XGBoost; LightGBM; prediction
Published: December 26, 2023
DOI: 10.54254/2755-2721/29/20230726
Volume: ACE Vol.29
pp. 133-141
Download PDF

References

  1. Böhme, R., Christin, N., Edelman, B., Moore, T., & Rik, V. (2015). Bitcoin: Economics, technology, and governance. Journal of Economic Perspectives, 29(2), 213-238.
  2. Coinmarketcap. (2021). Cryptocurrency market capitalizations. Retrieved from https://coinmarketcap.com/
  3. Lee, S., Kim, J., & Han, I. (2020). A study on the predictability of cryptocurrency prices using machine learning techniques. Expert Systems with Applications, 147, 113643.
  4. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining (pp. 785-794).
  5. Ke, Q., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., ... & Liu, T.-Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. In Advances in neural information processing systems (pp. 3149-3157).
  6. Huang, J., Li, J., & Li, H. (2018). Stock price prediction with technical indicators using SVM. Neural Computing and Applications, 30(8), 2407-2414.
  7. Xie, Y., Chen, Y., & Gao, L. (2020). Forecasting hourly electricity demand using gradient boosting decision tree. Energy, 214, 117934.
  8. Kim, D., Kwon, Y., & Han, I. (2018). Predicting cryptocurrency prices using machine learning. In International Conference on Advanced Data Mining and Applications (pp. 365-377). Springer, Cham.
  9. Bitcoin Price Dataset. (2022, February 19). Kaggle. https://www.kaggle.com/datasets/meetnagadia/bitcoin-stock-data-sept-17-2014-august-24-2021
  10. Ethereum Crypto Price. (2022, May 24). Kaggle.
  11. https://www.kaggle.com/datasets/ranugadisansagamage/ethereum-crypto-price
  12. Dogecoin Historical Data. (2022, September 4). Kaggle. https://www.kaggle.com/datasets/dhruvildave/dogecoin-historical-data
  13. Cardano Data. (2022, March 25). Kaggle. https://www.kaggle.com/datasets/varpit94/cardano-data
  14. Nakamoto, S. (2008). Bitcoin: A Peer-to-Peer Electronic Cash System. Retrieved from https://bitcoin.org/bitcoin.pdf
  15. CoinDesk. (2021). Bitcoin Price Index. Retrieved from https://www.coindesk.com/price/bitcoin
  16. Buterin, V. (2014). A next-generation smart contract and decentralized application platform. Ethereum White Paper. Retrieved from https://ethereum.org/greeter
  17. Palmer, B. (2021). The story of Dogecoin, the joke cryptocurrency that became too successful to kill. The Verge. Retrieved from https://www.theverge.com/2021/5/9/22420981/dogecoin-history-explainer-what-is
  18. Cardano Foundation. (2021). About Cardano. Retrieved from https://www.cardano.org/about/
  19. Saha, S. (2022, November 14). XGBoost vs LightGBM: How Are They Different. neptune.ai. https://neptune.ai/blog/xgboost-vs-lightgbm
  20. Kohavi, R. (1995). A study of cross-validation and bootstrap for accuracy estimation and model selection. In International joint conference on artificial intelligence (pp. 1137-1145).