Cryptocurrency Price Prediction Based on ARIMA, Random Forest and LSTM Algorithm
DOI:
https://doi.org/10.54691/bcpbm.v38i.4313Keywords:
Cryptocurrency; machine learning; ARIMA; Random Forest; LSTM.Abstract
Price prediction of cryptocurrencies is bound to get more opportunities for investors engaged in digital currency-related industries in order to earn more revenue. In the traditional forecasting methods, the problem of the high volatility of bitcoin price needs to be effectively solved, making the forecasting accuracy become low and ineffective. Due to the rapid development of artificial intelligence technology, more and more relevant algorithms were used for cryptocurrency price research. This study would compare and analyze the prediction effect of the ARIMA time-series model, the Random Forest algorithm of machine learning, and the LSTM algorithm of deep learning algorithm on cryptocurrencies price prediction to assist investors in making investment decisions. In this paper, five years of time-series data of Bitcoin, Ether, and Dogecoin is obtained from 2018 to 2022. Then, the training set and testing set are separated with 0.8:0.2 to test ARIMA, Random Forest, and LSTM algorithms. To evaluate the model, the mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), and decidability coefficient (R2) are chosen as metrics to measure the prediction of each prediction model precision. Comparing the experimental results, the prediction accuracy of LSTM is better than that of Random Forest, and the prediction accuracy of Random Forest is better than ARIMA model. These results shed light on guiding further exploration of significant to cryptocurrency industry practitioners and visitors.
Downloads
References
Nakamoto S. Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review, 2008, 21260.
Yu J. The new currency "Bitcoin": generation, principles, and development. Jilin Finance Research, 2013, 376(05): 21–27.
Han J, Zhao Q G, Wu R R, et al. Application of autoregressive integrated moving average model in hospital pharmacy procurement forecasting. China Pharmacy, 2009, 20(31): 3.
Munim Z H, Shakil M H, Alon I. Next-day bitcoin price forecast. Journal of Risk and Financial Management, 2019, 12(2): 103.
Xu H, Xu B, Xu K. A review on the application of machine learning in stock forecasting. Computer Engineering and Applications, 2020, 56(12): 19-24.
Wei Q, Chen S J. A spot market clearing price prediction method using random forest regression. Chinese Journal of Electrical Engineering, 2021, 41(04): 1360-1367.
Liu Y, Li Y, Zhao Z. Feature selection-based RF-LSTM model for component stock price trend prediction. Statistics and Decision Making, 2021, 37(1): 157–160.
Lahiri S, Bekiros S. Cryptocurrency forecasting with deep learning chaotic neural networks. Chaos, Solitons & Fractals, 2019, 118: 35-40.
Ning Y, Zhang Y. LSTM-Adaboost stock price prediction model. Journal of Liaoning University of Science and Technology, 2019, 42(05): 383-388.
Zhang P. Cryptocurrency price trend prediction based on GRU. Xiangtan University, 2019.






