Bitcoin Price Prediction Model Development Using Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM)

  • Jonathan Cahyadi Computer Science Department, Binus Graduate Program, Master of Computer Science, Bina Nusantara University, Jakarta, Indonesia 11480
  • Amalia Zahra Computer Science Department, Binus Graduate Program, Master of Computer Science, Bina Nusantara University, Jakarta, Indonesia 11480
Keywords: Bitcoin, CNN, LSTM, MAPE, Bitcoin Price Prediction

Abstract

Cryptocurrency is a virtual currency that can be used as a financial or economic standard, foreign currency reserve, and as a means of payment in some countries. The value that goes up and down every time is not easy to predict using logic. This is a problem for investors, besides that investors lack knowledge about the direction of crypto money movement. In addition, there is no system that can predict the price of Bitcoin, so this can cause investors to take the wrong steps in transactions and can cause losses. To avoid this risk, a system is needed that can predict bitcoin prices using data mining techniques, namely forecasting, the algorithms used are CNN and LSTM. The data used is Bitcoin closing price data from January 1, 2017, to April 26, 2023. The data is divided into 80% training data and 20% testing data. The prediction results are evaluated using MAPE which gets a MAPE value of 0.037 or 3.7% in the CNN algorithm, while the LSTM algorithm gets a value of 0.065 or 6.5%. The MAPE results of the two algorithms are in the MAPE range <10%, so it can be said that the ability of the forecasting model is very good so that it can be used as a reference to determine the prediction of bitcoin prices in the next few periods.

References

Agbo, E. I., & Nwadialor, E. O. (2020). Cryptocurrency and the African economy. Economics And Social Sciences Academic Journal, 2(6), 84-100.

Amsyar, I., Christopher, E., Dithi, A., Khan, A. N., & Maulana, S. (2020). The challenge of cryptocurrency in the era of the digital revolution: A review of systematic literature. Aptisi Transactions on Technopreneurship (ATT), 2(2), 153-159. https://doi.org/10.34306/att.v2i2.96

Burdack, J., Horst, F., Giesselbach, S., Hassan, I., Daffner, S., & Schöllhorn, W. I. (2020). Systematic comparison of the influence of different data preprocessing methods on the performance of gait classifications using machine learning. Frontiers in bioengineering and biotechnology, 8, 260. https://doi.org/10.3389/fbioe.2020.00260

Cavalli, S., & Amoretti, M. (2021). CNN-based multivariate data analysis for bitcoin trend prediction. Applied Soft Computing, 101, 107065.

Chen, Z., Li, C., & Sun, W. (2020). Bitcoin price prediction using machine learning: An approach to sample dimension engineering. Journal of Computational and Applied Mathematics, 365, 112395. https://doi.org/10.1016/j.cam.2019.112395

Essien, A., & Giannetti, C. (2020). A deep learning model for smart manufacturing using convolutional LSTM neural network autoencoders. IEEE Transactions on Industrial Informatics, 16(9), 6069-6078. https://doi.org/10.1109/TII.2020.2967556

Fokri, W. N. I. W. M. (2021). Classification of cryptocurrency: a review of the literature. Turkish Journal of Computer and Mathematics Education (TURCOMAT), 12(5), 1353-1360.

Hamayel, M. J., & Owda, A. Y. (2021). A novel cryptocurrency price prediction model using GRU, LSTM and bi-LSTM machine learning algorithms. AI, 2(4), 477-496. https://doi.org/10.3390/ai2040030

Hirvasniemi, J., Klein, S., Bierma-Zeinstra, S., Vernooij, M. W., Schiphof, D., & Oei, E. H. (2021). A machine learning approach to distinguish between knees without and with osteoarthritis using MRI-based radiomic features from tibial bone. European radiology, 31, 8513-8521.

Hua, Y. (2020). Bitcoin price prediction using ARIMA and LSTM. In E3S Web of Conferences (Vol. 218, p. 01050). EDP Sciences.

Kang, Y., Hyndman, R. J., & Li, F. (2020). GRATIS: GeneRAting TIme Series with diverse and controllable characteristics. Statistical Analysis and Data Mining: The ASA Data Science Journal, 13(4), 354-376. https://doi.org/10.1002/sam.11461

Ketkar, N., Moolayil, J., Ketkar, N., & Moolayil, J. (2021). Convolutional neural networks. Deep Learning with Python: Learn Best Practices of Deep Learning Models with PyTorch, 197-242.

Khan, M. Z., Ali, Y., Sultan, H. B., Hasan, M., & Baloch, S. (2020). Future of currency: a comparison between traditional, digital fiat and cryptocurrency exchange mediums. International Journal of Blockchains and Cryptocurrencies, 1(2), 206-224. https://doi.org/10.1504/IJBC.2020.109003

Luchkin, A. G., Lukasheva, O. L., Novikova, N. E., Melnikov, V. A., Zyatkova, A. V., & Yarotskaya, E. V. (2020, August). Cryptocurrencies in the global financial system: problems and ways to overcome them. In Russian Conference on Digital Economy and Knowledge Management (RuDEcK 2020) (pp. 423-430). Atlantis Press. https://doi.org/10.2991/aebmr.k.200730.077

Mahesh, B. (2020). Machine learning algorithms-a review. International Journal of Science and Research (IJSR).[Internet], 9(1), 381-386. https://dx.doi.org/10.21275/ART20203995

Mudassir, M., Bennbaia, S., Unal, D., & Hammoudeh, M. (2020). Time-series forecasting of Bitcoin prices using high-dimensional features: a machine learning approach. Neural computing and applications, 1-15.

Raghuram, A., Ssentongo, A., Pereira, L. M., Kuang, Y., Uyei, J., & Park, P. (2023, December). 2378. Use of Natural Language Processing to Extract Published Real World Data on a COVID Vaccine and Antiviral Treatment. In Open Forum Infectious Diseases (Vol. 10, No. Supplement_2, pp. ofad500-1999). US: Oxford University Press. https://doi.org/10.1093/ofid/ofad500.1999

Taskinsoy, J. (2021). Bitcoin: A New Digital Gold Standard in the 21st Century?. Available at SSRN 3941857. https://dx.doi.org/10.2139/ssrn.3941857

Zhou, B., Lu, B., & Saeidlou, S. (2024). A hybrid clustering method based on the several diverse basic clustering and meta-clustering aggregation technique. Cybernetics and Systems, 55(1), 203-229. https://doi.org/10.1080/01969722.2022.2110682

Стойка, М. (2021). Cryptocurrency–definition, functions, advantages and risks. Підприємництво і торгівля, (30), 5-10. https://doi.org/10.36477/2522-1256-2021-30-01

Published
2024-03-07
How to Cite
Cahyadi, J., & Zahra, A. (2024). Bitcoin Price Prediction Model Development Using Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM). Journal La Multiapp, 5(2), 52-62. https://doi.org/10.37899/journallamultiapp.v5i2.1070