Prediction on Bitcoin Price Trends based on Machine Learning Algorithms
DOI:
https://doi.org/10.54691/bcpbm.v34i.2860Keywords:
Linear Regression; SVM; Random Forest; RNN; LSTM.Abstract
With the rapid growth of technology, cryptocurrency like Bitcoin is attracting more and more attention. Its high volatility in prices creates many difficulties for predicting and there has been much work on this. This paper aims to provide a comparison of various machine learning models like linear regression, SVM, random forest, and neural networks for predicting the directions for Bitcoin close prices. The dataset used is from Jan 2012 to March 2021 and all four prices are used for predictions: Close, Open, High, and Low. Two different methods are used to fit the different types of machine learning algorithms: for regressors, close price predictions are first done and then construct in the predicted direction; for classifiers, direction predictions are done directly. Accuracy is used to do the comparison, which is the percentage of correct direction predictions made via the algorithm. It is shown that LSTM, a neural network algorithm generates the highest accuracy of about 58% and the random forest classifier has the lowest accuracy of about 55.47%.
Downloads
References
Mitchell, T. M. (2006). The discipline of machine learning (Vol. 9). Pittsburgh: Carnegie Mellon University, School of Computer Science, Machine Learning Department.
Rathan, K., Sai, S. V., & Manikanta, T. S. (2019). Crypto-Currency price prediction using Decision Tree and Regression techniques. IEEE Xplore. https://doi.org/10.1109/ICOEI.2019.8862585.
Phaladisailoed, T., & Numnonda, T. (2018). Machine Learning Models Comparison for Bitcoin Price Prediction. 2018 10th International Conference on Information Technology and Electrical Engineering (ICITEE). https://doi.org/10.1109/iciteed.2018.8534911.
Greaves, A., & Au, B. (2015). Using the bitcoin transaction graph to predict the price of bitcoin. No data, 8, 416 - 443.
Segendorf, B. (2014). What is bitcoin. Sveri gesRiksbankEconomicReview, 2014, 2 - 71.
Böhme, Rainer, Nicolas Christin, Benjamin Edelman, and Tyler Moore. 2015. "Bitcoin: Economics, Technology, and Governance." Journal of Economic Perspectives, 29 (2): 213-38. DOI: 10.1257/jep.29.2.213
Bouoiyour, J., Selmi, R., Aviral Kumar Tiwari, & Olaolu Richard Olayeni. (2016). Volume 36, Issue 2 What drives Bitcoin price? http://www.accessecon.com/Pubs/EB/2016/Volume36/EB-16-V36-I2-P82.pdf.
Kristoufek, L. (2015). What Are the Main Drivers of the Bitcoin Price? Evidence from Wavelet Coherence Analysis. PLOS ONE, 10(4), e0123923. https://doi.org/10.1371/journal.pone.0123923.
BOUOIYOUR, J., SELMI, R., & TIWARI, A. K. (2015). Is Bitcoin Business Income or Speculative Bubble? Unconditional vs. Conditional Frequency Domain Analysis. Annals of Financial Economics, 10(01), 1550002. https://doi.org/10.1142/s2010495215500025.
Lin, K., Basudhar, A., & Missoum, S. (2012). Parallel construction of explicit boundaries using support vector machines. Engineering Computations, 30 (1), 132–148. https://doi.org/10.1108/02644401311286099.
Basudhar, A., & Missoum, S. (2010). An improved adaptive sampling scheme for the construction of explicit boundaries. Structural and Multidisciplinary Optimization, 42 (4), 517–529. https://doi.org/10.1007/s00158-010-0511-0.
Hitam, N. A., & Ismail, A. R. (2018). Comparative Performance of Machine Learning Algorithms for Cryptocurrency Forecasting. Indonesian Journal of Electrical Engineering and Computer Science, 11 (3), 1121. https://doi.org/10.11591/ijeecs.v11.i3.pp1121 - 1128.
Huerta, R., Corbacho, F., & Elkan, C. (2013). Nonlinear support vector machines can systematically identify stocks with high and low future returns. Algorithmic Finance, 2 (1), 45 – 58. https://doi.org/10.3233/af-13016.
Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9 (8), 1735 – 1780. https://doi.org/10.1162/neco.1997.9.8.1735.
Pabuçcu, H., Ongan, S., & Ongan, A. (2020). Forecasting the movements of Bitcoin prices: an application of machine learning algorithms. Quantitative Finance and Economics, 4 (4), 679 – 692. https://doi.org/10.3934/qfe.2020031.
Karakoyun, E. S., & Cibikdiken, A. O. (2018, May). Comparison of arima time series model and lstm deep learning algorithm for bitcoin price forecasting. In The 13th multidisciplinary academic conference in Prague (Vol. 2018, pp. 171-180).
Siami-Namini, S., Tavakoli, N., & Siami Namin, A. (2018). A Comparison of ARIMA and LSTM in Forecasting Time Series. 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA). https://doi.org/10.1109/icmla.2018.00227.






