Predicting the direction, maximum, minimum and closing prices of daily Bitcoin exchange rate using machine learning techniques

Abstract Bitcoin is the most accepted cryptocurrency in the world, which makes it attractive for investors and traders. However, the challenge in predicting the Bitcoin exchange rate is its high volatility. Therefore, the prediction of its behavior is of great importance for financial markets. In this way, recent studies have been carried out on what internal and/or external Bitcoin information is relevant to its prediction. The increased use of machine learning techniques to predict time series and the acceptance of cryptocurrencies as financial instruments motivated the present study to seek more accurate predictions for the Bitcoin exchange rate. In this way, in a first stage of the proposed methodology, different feature selection techniques were evaluated in order to obtain the most relevant attributes for the predictions. In the sequence, it was analyzed the behavior of Artificial Neural Networks (ANN), Support Vector Machines (SVM) and Ensemble algorithms (based on Recurrent Neural Networks and the k-Means clustering method) for price direction predictions. Likewise, the ANN and SVM were employed for regression of the maximum, minimum and closing prices of the Bitcoin. Moreover, the regression results were also used as inputs to try to improve the price direction predictions. The results showed that the selected attributes and the best machine learning model achieved an improvement of more than 10%, in accuracy, for the price direction predictions, with respect to the state-of-the-art papers, using the same period of information. In relation to the maximum, minimum and closing Bitcoin prices regressions, it was possible to obtain Mean Absolute Percentage Errors between 1% and 2%. Based on these results, it was possible to demonstrate the efficacy of the proposed methodology when compared to other studies.

[1]  Xin Li,et al.  The Technology and Economic Determinants of Cryptocurrency Exchange Rates: The Case of Bitcoin , 2014, Decis. Support Syst..

[2]  Ricardo A. S. Fernandes,et al.  Maximum and minimum stock price forecasting of Brazilian power distribution companies based on artificial neural networks , 2015, Appl. Soft Comput..

[3]  Ömer Kaan Baykan,et al.  Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange , 2011, Expert Syst. Appl..

[4]  Andrew Urquhart Price clustering in Bitcoin , 2017 .

[5]  David G. Stork,et al.  Pattern Classification , 1973 .

[6]  Young Bin Kim,et al.  Predicting Fluctuations in Cryptocurrency Transactions Based on User Comments and Replies , 2016, PloS one.

[7]  Simon Caton,et al.  Predicting the Price of Bitcoin Using Machine Learning , 2018, 2018 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP).

[8]  Paraskevi Katsiampa Volatility estimation for Bitcoin: A comparison of GARCH models , 2017 .

[9]  Jaewook Lee,et al.  An Empirical Study on Modeling and Prediction of Bitcoin Prices With Bayesian Neural Networks Based on Blockchain Information , 2018, IEEE Access.

[10]  Christopher M. Bishop,et al.  Pattern Recognition and Machine Learning, 2006 , 2012 .

[11]  Feng Wen,et al.  Research and Application of Data Mining Feature Selection Based on Relief Algorithm , 2014, J. Softw..

[12]  M. Rangoussi,et al.  Bitcoin Value Analysis Based on Cross-Correlations , 2017 .

[13]  Yu Song,et al.  Predicting the Direction of Stock Market Index Movement Using an Optimized Artificial Neural Network Model , 2016, PloS one.

[14]  Jianhua Dai,et al.  Attribute selection based on information gain ratio in fuzzy rough set theory with application to tumor classification , 2013, Appl. Soft Comput..

[15]  Mark A. Hall,et al.  Correlation-based Feature Selection for Machine Learning , 2003 .

[16]  M. Marchesi,et al.  Using an artificial financial market for studying a cryptocurrency market , 2014, Journal of Economic Interaction and Coordination.

[17]  D. Dickinson,et al.  Analysis on the influence factors of Bitcoin’s price based on VEC model , 2017 .

[18]  Ladislav Kristoufek,et al.  BitCoin meets Google Trends and Wikipedia: Quantifying the relationship between phenomena of the Internet era , 2013, Scientific Reports.

[19]  Kevin McIntyre,et al.  Order flow and the bitcoin spot rate , 2014 .

[20]  P. Ciaian,et al.  The economics of BitCoin price formation , 2014, 1405.4498.

[21]  Chen Wang,et al.  Improved v -Support vector regression model based on variable selection and brain storm optimization for stock price forecasting , 2016, Appl. Soft Comput..

[22]  Vivek K. Pandey,et al.  The Value of Bitcoin in Enhancing the Efficiency of an Investor's Portfolio , 2014 .

[23]  Elie Bouri,et al.  Can Volume Predict Bitcoin Returns and Volatility? A Quantiles-Based Approach , 2017 .

[24]  Mauro Conti,et al.  A Survey on Security and Privacy Issues of Bitcoin , 2017, IEEE Communications Surveys & Tutorials.

[25]  Seoung Bum Kim,et al.  Unsupervised feature selection using weighted principal components , 2011, Expert Syst. Appl..

[26]  J. Platt Sequential Minimal Optimization : A Fast Algorithm for Training Support Vector Machines , 1998 .

[27]  Yaohao Peng,et al.  The best of two worlds: Forecasting high frequency volatility for cryptocurrencies and traditional currencies with Support Vector Regression , 2018, Expert Syst. Appl..

[28]  Anil K. Jain Data clustering: 50 years beyond K-means , 2010, Pattern Recognit. Lett..

[29]  Michele Marchesi,et al.  Bitcoin Spread Prediction Using Social and Web Search Media , 2015, UMAP Workshops.

[30]  Javier Iglesias de Ussel Bitcoin : a new way to understand payment systems , 2015 .

[31]  Ladislav Kristoufek,et al.  What Are the Main Drivers of the Bitcoin Price? Evidence from Wavelet Coherence Analysis , 2014, PloS one.

[32]  Kai Zimmermann,et al.  Bitcoin - Asset or Currency? Revealing Users' Hidden Intentions , 2014, ECIS.

[33]  Suhail Abboushi,et al.  Global Virtual Currency - Brief Overview , 2016 .

[34]  Albert Levi,et al.  A Survey on Anonymity and Privacy in Bitcoin-Like Digital Cash Systems , 2018, IEEE Communications Surveys & Tutorials.

[35]  Shouyang Wang,et al.  Forecasting stock market movement direction with support vector machine , 2005, Comput. Oper. Res..