Research Article  Open Access
Laura Alessandretti, Abeer ElBahrawy, Luca Maria Aiello, Andrea Baronchelli, "Anticipating Cryptocurrency Prices Using Machine Learning", Complexity, vol. 2018, Article ID 8983590, 16 pages, 2018. https://doi.org/10.1155/2018/8983590
Anticipating Cryptocurrency Prices Using Machine Learning
Abstract
Machine learning and AIassisted trading have attracted growing interest for the past few years. Here, we use this approach to test the hypothesis that the inefficiency of the cryptocurrency market can be exploited to generate abnormal profits. We analyse daily data for cryptocurrencies for the period between Nov. 2015 and Apr. 2018. We show that simple trading strategies assisted by stateoftheart machine learning algorithms outperform standard benchmarks. Our results show that nontrivial, but ultimately simple, algorithmic mechanisms can help anticipate the shortterm evolution of the cryptocurrency market.
1. Introduction
The popularity of cryptocurrencies has skyrocketed in 2017 due to several consecutive months of superexponential growth of their market capitalization [1], which peaked at more than $800 billions in Jan. 2018. Today, there are more than actively traded cryptocurrencies. Between and millions of private as well as institutional investors are in the different transaction networks, according to a recent survey [2], and access to the market has become easier over time. Major cryptocurrencies can be bought using fiat currency in a number of online exchanges (e.g., Binance [3], Upbit [4], Kraken [5], etc.) and then be used in their turn to buy less popular cryptocurrencies. The volume of daily exchanges is currently superior to $15 billions. Since 2017, over 170 hedge funds specialised in cryptocurrencies have emerged and Bitcoin futures have been launched to address institutional demand for trading and hedging Bitcoin [6].
The market is diverse and provides investors with many different products. Just to mention a few, Bitcoin was expressly designed as a medium of exchange [7, 8]; Dash offers improved services on top of Bitcoin’s feature set, including instantaneous and private transactions [9]; Ethereum is a public, blockchainbased distributed computing platform featuring smart contract (scripting) functionality, and Ether is a cryptocurrency whose blockchain is generated by the Ethereum platform [10]; Ripple is a realtime gross settlement system (RTGS), currency exchange, and remittance network Ripple [11], and IOTA is focused on providing secure communications and payments between agents on the Internet of Things [12].
The emergence of a selforganised market of virtual currencies and/or assets whose value is generated primarily by social consensus [13] has naturally attracted interest from the scientific community [8, 14–30]. Recent results have shown that the longterm properties of the cryptocurrency marked have remained stable between 2013 and 2017 and are compatible with a scenario in which investors simply sample the market and allocate their money according to the cryptocurrency’s market shares [1]. While this is true on average, various studies have focused on the analysis and forecasting of price fluctuations, using mostly traditional approaches for financial markets analysis and prediction [31–35].
The success of machine learning techniques for stock markets prediction [36–42] suggests that these methods could be effective also in predicting cryptocurrencies prices. However, the application of machine learning algorithms to the cryptocurrency market has been limited so far to the analysis of Bitcoin prices, using random forests [43], Bayesian neural network [44], long shortterm memory neural network [45], and other algorithms [32, 46]. These studies were able to anticipate, to different degrees, the price fluctuations of Bitcoin, and revealed that best results were achieved by neural network based algorithms. Deep reinforcement learning was showed to beat the uniform buy and hold strategy [47] in predicting the prices of 12 cryptocurrencies over oneyear period [48].
Other attempts to use machine learning to predict the prices of cryptocurrencies other than Bitcoin come from nonacademic sources [49–54]. Most of these analyses focused on a limited number of currencies and did not provide benchmark comparisons for their results.
Here, we test the performance of three models in predicting daily cryptocurrency price for 1,681 currencies. Two of the models are based on gradient boosting decision trees [55] and one is based on long shortterm memory (LSTM) recurrent neural networks [56]. In all cases, we build investment portfolios based on the predictions and we compare their performance in terms of return on investment. We find that all of the three models perform better than a baseline ‘simple moving average’ model [57–60] where a currency’s price is predicted as the average price across the preceding days and that the method based on long shortterm memory recurrent neural networks systematically yields the best return on investment.
The article is structured as follows: In Materials and Methods we describe the data (see Data Description and Preprocessing), the metrics characterizing cryptocurrencies that are used along the paper (see Metrics), the forecasting algorithms (see Forecasting Algorithms), and the evaluation metrics (see Evaluation). In Results, we present and compare the results obtained with the three forecasting algorithms and the baseline method. In Conclusion, we conclude and discuss results.
2. Materials and Methods
2.1. Data Description and Preprocessing
Cryptocurrency data was extracted from the website Coin Market Cap [61], collecting daily data from 300 exchange markets platforms starting in the period between November 11, 2015, and April 24, 2018. The dataset contains the daily price in US dollars, the market capitalization, and the trading volume of cryptocurrencies, where the market capitalization is the product between price and circulating supply, and the volume is the number of coins exchanged in a day. The daily price is computed as the volume weighted average of all prices reported at each market. Figure 1 shows the number of currencies with trading volume larger than over time, for different values of . In the following sections, we consider that only currencies with daily trading volume higher than USD (United States dollar) can be traded at any given day.
The website lists cryptocurrencies traded on public exchange markets that have existed for more than 30 days and for which an API and a public URL showing the total mined supply are available. Information on the market capitalization of cryptocurrencies that are not traded in the 6 hours preceding the weekly release of data is not included on the website. Cryptocurrencies inactive for 7 days are not included in the list released. These measures imply that some cryptocurrencies can disappear from the list to reappear later on. In this case, we consider the price to be the same as before disappearing. However, this choice does not affect results since only in 28 cases the currency has volume higher than USD right before disappearing (note that there are 124,328 entries in the dataset with volume larger than USD).
2.2. Metrics
Cryptocurrencies are characterized over time by several metrics, namely,(i)Price, the exchange rate, determined by supply and demand dynamics.(ii)Market capitalization, the product of the circulating supply and the price.(iii)Market share, the market capitalization of a currency normalized by the total market capitalization.(iv)Rank, the rank of currency based on its market capitalization.(v)Volume, coins traded in the last 24 hours.(vi)Age, lifetime of the currency in days.
The profitability of a currency over time can be quantified through the return on investment (ROI), measuring the return of an investment made at day relative to the cost [62]. The index rolls across days and it is included between 0 and 895, with November 11, 2015, and April 24, 2018. Since we are interested in the shortterm performance, we consider the return on investment after 1 day defined as
In Figure 2, we show the evolution of the over time for Bitcoin (orange line) and on average for currencies whose volume is larger than USD at (blue line). In both cases, the average return on investment over the period considered is larger than 0, reflecting the overall growth of the market.
2.3. Forecasting Algorithms
We test and compare three supervised methods for shortterm price forecasting. The first two methods rely on XGBoost [63], an opensource scalable machine learning system for tree boosting used in a number of winning Kaggle solutions (17/29 in 2015) [64]. The third method is based on the long shortterm memory (LSTM) algorithm for recurrent neural networks [56] that have demonstrated to achieve stateoftheart results in timeseries forecasting [65].
Method 1. The first method considers one single regression model to describe the change in price of all currencies (see Figure 3). The model is an ensemble of regression trees built by the XGBoost algorithm. The features of the model are characteristics of a currency between time and and the target is the ROI of the currency at time , where is a parameter to be determined. The characteristics considered for each currency are price, market capitalization, market share, rank, volume, and ROI (see (1)). The features for the regression are built across the window between and included (see Figure 3). Specifically, we consider the average, the standard deviation, the median, the last value, and the trend (e.g., the difference between last and first value) of the properties listed above. In the training phase, we include all currencies with volume larger than USD and between and . In general, larger training windows do not necessarily lead to better results (see results section), because the market evolves across time. In the prediction phase, we test on the set of existing currencies at day . This procedure is repeated for values of included between January 1, 2016, and April 24, 2018.
Method 2. Also the second method relies on XGBoost, but now the algorithm is used to build a different regression model for each currency (see Figure 4). The features of the model for currency are the characteristics of all the currencies in the dataset between and included and the target is the ROI of at day (i.e., now the algorithm learns to predict the price of the currency based on the features of all the currencies in the system between and ). The features of the model are the same used in Method 1 (e.g., the average, standard, deviation, median, last value, and difference between last and first value of the following quantities: price, market capitalization, market share, rank, volume, and ROI) across a window of length . The model for currency is trained with pairs features target between times and . The prediction set includes only one pair: the features (computed between and ) and the target (computed at ) of currency .
Method 3. The third method is based on long shortterm memory networks, a special kind of recurrent neural networks, capable of learning longterm dependencies. As for Method 2, we build a different model for each currency. Each model predicts the ROI of a given currency at day based on the values of the ROI of the same currency between days and included.
Baseline Method. As baseline method, we adopt the simple moving average strategy (SMA) widely tested and used as a null model in stock market prediction [57–60]. It estimates the price of a currency at day as the average price of the same currency between and included.
2.4. Evaluation
We compare the performance of various investment portfolios built based on the algorithms predictions. The investment portfolio is built at time by equally splitting an initial capital among the top currencies predicted with positive return. Hence, the total return at time isThe portfolios performance is evaluated by computing the Sharpe ratio and the geometric mean return. The Sharpe ratio is defined aswhere is the average return on investment obtained between times 0 and and is the corresponding standard deviation.
The geometric mean return is defined aswhere corresponds to the total number of days considered. The cumulative return obtained at after investing and selling on the following day for the whole period is defined as .
The number of currencies to include in a portfolio is chosen at by optimising either the geometric mean (geometric mean optimisation) or the Sharpe ratio (Sharpe ratio optimisation) over the possible choices of . The same approach is used to choose the parameters of Method 1 ( and ), Method 2 ( and ), and the baseline method ().
3. Results
We predict the price of the currencies at day , for all included between Jan 1, 2016, and Apr 24, 2018. The analysis considers all currencies whose age is larger than 50 days since their first appearance and whose volume is larger than $100000. To discount for the effect of the overall market movement (i.e., market growth, for most of the considered period), we consider cryptocurrencies prices expressed in BTC (Bitcoin). This implies that Bitcoin is excluded from our analysis.
3.1. Parameter Setting
First, we choose the parameters for each method. Parameters include the number of currencies to include the portfolio as well as the parameters specific to each method. In most cases, at each day we choose the parameters that maximise either the geometric mean (geometric mean optimisation) or the Sharpe ratio (Sharpe ratio optimisation) computed between times 0 and .
Baseline Strategy. We test the performance of the baseline strategy for choices of window (the minimal requirement for the to be different from 0) and . We find that the value of mazimising the geometric mean return (see Appendix Section A) and the Sharpe ratio (see Appendix Section A) fluctuates especially before November 2016 and has median value 4 in both cases. The number of currencies included in the portfolio oscillates between 1 and 11 with median at 3, both for the Sharpe ratio (see Appendix Section A) and the geometric mean return (see Appendix Section A) optimisation.
Method 1. We explore values of the window in days and the training period in days (see Appendix Section A). We find that the median value of the selected window across time is 7 for both the Sharpe ratio and the geometric mean optimisation. The median value of is 5 under geometric mean optimisation and 10 under Sharpe ratio optimisation. The number of currencies included in the portfolio oscillates between 1 and 43 with median at 15 for the Sharpe ratio (see Appendix Section A) and 9 for the geometric mean return (see Appendix Section A) optimisation.
Method 2. We explore values of the window in days and the training period in days (see Appendix, Figure 10). The median value of the selected window across time is 3 for both the Sharpe ratio and the geometric mean optimisation. The median value of is 10 under geometric mean and Sharpe ratio optimisation. The number of currencies included has median at 17 for the Sharpe ratio and 7 for the geometric mean optimisation (see Appendix Section A).
Method 3. The LSTM has three parameters: The number of epochs, or complete passes through the dataset during the training phase; the number of neurons in the neural network, and the length of the window . These parameters are chosen by optimising the price prediction of three currencies (Bitcoin, Ripple, and Ethereum) that have on average the largest market share across time (excluding Bitcoin Cash that is a fork of Bitcoin). Results (see Appendix Section A) reveal that, in the range of parameters explored, the best results are achieved for . Results are not particularly affected by the choice of the number of neurones nor the number of epochs. We choose 1 neuron and 1000 epochs since the larger these two parameters, the larger the computational time. The number of currencies to include in the portfolio is optimised over time by mazimising the geometric mean return (see Appendix Section A) and the Sharpe ratio (see Appendix Section A). In both cases the median number of currencies included is 1.
3.2. Cumulative Return
In Figure 5, we show the cumulative return obtained using the 4 methods. The cumulative returns achieved on April 24 under the Sharpe ratio optimisation are BTC (Baseline), BTC (Method 1), BTC (Method 2), BTC (Method 3). Under geometric mean optimisation we obtain BTC (Baseline), BTC (Method 1), BTC (Method 2), BTC (Method 3). The cumulative returns obtained in USD are higher (see Appendix Section D). This is expected, since the Bitcoin price has increased during the period considered. While some of these figures appear exaggerated, it is worth noticing that (i) we run a theoretical exercise assuming that the availability of Bitcoin is not limited and (ii) under this assumption the upper bound to our strategy, corresponding to investing every day in the most performing currency results in a total cumulative return of BTC (see Appendix Section B). We consider also the more realistic scenario of investors paying a transaction fee when selling and buying currencies (see Appendix Section C). In most exchange markets, the fee is typically included between and of the traded amount [66]. For fees up to , all the investment methods presented above lead, on average, to positive returns over the entire period (see Appendix Section C). The best performing method, Method 3, achieves positive gains also when fees up to are considered (see Appendix Section C).
(a)
(b)
The cumulative return in Figure 5 is obtained by investing between January 1st, 2016 and April 24th, 2018. We investigate the overall performance of the various methods by looking at the geometric mean return obtained in different periods (see Figure 6). Results presented in Figure 6 are obtained under Sharpe ratio optimisation for the baseline (Figure 6(a)), Method 1 (Figure 6(b)), Method 2 (Figure 6(c)), and Method 3 (Figure 6(d)). Note that, while in this case the investment can start after January 1, 2016, we optimised the parameters by using data from that date on in all cases. Results are considerably better than those achieved using geometric mean return optimisation (see Appendix Section E). Finally, we observe that better performance is achieved when the algorithms consider prices in Bitcoin rather than USD (see Appendix Section D).
3.3. Feature Importance
In Figure 7, we illustrate the relative importance of the various features in Method 1 and Method 2. For Method 1, we show the average feature importance. For Method 2, we show the average feature importance for two sample currencies: Ethereum and Ripple.
3.4. Portfolio Composition
The 10 most selected currencies under Sharpe ratio optimisation are the following:
Baseline. Factom (91 days), EDinar Coin (89 days), Ripple (76 days), Ethereum (71 days), Steem (70 days), Lisk (70 days), MaidSafeCoin (69 days), Monero (58 days), BitShares (55 days), EDRCoin (52 days).
Method 1. Ethereum (154 days), Dash (128 days), Monero (111 days), Factom (104 days), Ripple (94 days), Litecoin (93 days), Dogecoin (92 days), Maid Safe Coin (86 days), BitShares (73 days), Tether (59 days)
Method 2. Ethereum (63 days), Monero (61 days), Factom (51 days), Ripple (42 days), Dash (40 days), Maid Safe Coin (40 days), Siacoin (30 days), NEM (26 days), NXT (26 days), Steem (23 days).
Method 3. Factom (48 days), Monero (46 days), Ethereum (39 days), Lisk (36 days), Maid Safe Coin (32 days), EDinar Coin (32 days), BitShares (26 days), B3 Coin (26 days), Dash (25 days), Cryptonite (22 days).
4. Conclusion
We tested the performance of three forecasting models on daily cryptocurrency prices for currencies. Two of them (Method 1 and Method 2) were based on gradient boosting decision trees and one is based on long shortterm memory recurrent neural networks (Method 3). In Method 1, the same model was used to predict the return on investment of all currencies; in Method 2, we built a different model for each currency that uses information on the behaviour of the whole market to make a prediction on that single currency; in Method 3, we used a different model for each currency, where the prediction is based on previous prices of the currency.
We built investment portfolios based on the predictions of the different method and compared their performance with that of a baseline represented by the wellknown simple moving average strategy. The parameters of each model were optimised for all but Method 3 on a daily basis, based on the outcome of each parameters choice in previous times. We used two evaluation metrics used for parameter optimisation: The geometric mean return and the Sharpe ratio. To discount the effect of the overall market growth, cryptocurrencies prices were expressed in Bitcoin. All strategies produced profit (expressed in Bitcoin) over the entire considered period and for a large set of shorter trading periods (different combinations of start and end dates for the trading activity), also when transaction fees up to are considered.
The three methods performed better than the baseline strategy when the investment strategy was ran over the whole period considered. The optimisation of parameters based on the Sharpe ratio achieved larger returns. Methods based on gradient boosting decision trees (Methods 1 and 2) worked best when predictions were based on shortterm windows of 5/10 days, suggesting they exploit well mostly shortterm dependencies. Instead, LSTM recurrent neural networks worked best when predictions were based on days of data, since they are able to capture also longterm dependencies and are very stable against price volatility. They allowed making profit also if transaction fees up to are considered. Methods based on gradient boosting decision trees allow better interpreting results. We found that the prices and the returns of a currency in the last few days preceding the prediction were leading factors to anticipate its behaviour. Among the two methods based on random forests, the one considering a different model for each currency performed best (Method 2). Finally, it is worth noting that the three methods proposed perform better when predictions are based on prices in Bitcoin rather than prices in USD. This suggests that forecasting simultaneously the overall cryptocurrency market trend and the developments of individual currencies is more challenging than forecasting the latter alone.
It is important to stress that our study has limitations. First, we did not attempt to exploit the existence of different prices on different exchanges, the consideration of which could open the way to significantly higher returns on investment. Second, we ignored intraday price fluctuations and considered an average daily price. Finally, and crucially, we run a theoretical test in which the available supply of Bitcoin is unlimited and none of our trades influence the market. Notwithstanding these simplifying assumptions, the methods we presented were systematically and consistently able to identify outperforming currencies. Extending the current analysis by considering these and other elements of the market is a direction for future work.
A different yet promising approach to the study cryptocurrencies consists in quantifying the impact of public opinion, as measured through social media traces, on the market behaviour, in the same spirit in which this was done for the stock market [67]. While it was shown that social media traces can be also effective predictors of Bitcoin [68–74] and other currencies [75] price fluctuations, our knowledge of their effects on the whole cryptocurrency market remain limited and is an interesting direction for future work.
Appendix
A. Parameter Optimisation
In Figure 8, we show the optimisation of the parameters (a, c) and (b, d) for the baseline strategy. In Figure 9, we show the optimisation of the parameters (a, d), (b, e), and (c, f) for Method 1. In Figure 10, we show the optimisation of the parameters (a, d), (b, e), and (c, f) for Method 2. In Figure 11, we show the median squared error obtained under different training window choices (a), number of epochs (b) and number of neurons (c), for Ethereum, Bitcoin and Ripple. In Figure 12, we show the optimisation of the parameter (c, f) for Method 3.
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(e)
(f)
(a)
(b)
(c)
(d)
(e)
(f)
(a)
(b)
(c)
(a)
(b)
B. Return under Full Knowledge of the Market Evolution
In Figure 13, we show the cumulative return obtained by investing every day in the top currency, supposing one knows the prices of currencies on the following day.
C. Return Obtained Paying Transaction Fees
In this section, we present the results obtained including transaction fees between and [66]. In general, one can not trade a given currency with any given other. Hence, we consider that each day we trade twice: We sell altcoins to buy Bitcoin, and we buy new altcoins using Bitcoin. The mean return obtained between Jan. 2016 and Apr. 2018 is larger than 1 for all methods, for fees up to (see Table 1). In this period, Method 3 achieves positive returns for fees up to . The returns obtained with a (see Figure 14) and (see Figure 15) fee during arbitrary periods confirm that, in general, one obtains positive gains with our methods if fees are small enough.

D. Results in USD
In this section, we show results obtained considering prices in USD. The price of Bitcoin in USD has considerably increased in the period considered. Hence, gains in USD (Figure 16) are higher than those in Bitcoin (Figure 5). Note that, in Figure 16, we have made predictions and computed portfolios considering prices in Bitcoin. Then, gains have been converted to USD (without transaction fees). In Table 2, we show instead the gains obtained running predictions considering directly all prices in USD. We find that, in most cases, better results are obtained from prices in BTC.

(a)
(b)
E. Geometric Mean Optimisation
In Figure 17, we show the geometric mean return obtained by between two arbitrary points in time under geometric mean return optimisation for the baseline (Figure 17(a)), Method 1 (Figure 17(b)), Method 2 (Figure 17(c)), and Method 3 (Figure 17(d)).
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
References
 A. ElBahrawy, L. Alessandretti, A. Kandler, R. PastorSatorras, and A. Baronchelli, “Evolutionary dynamics of the cryptocurrency market,” Royal Society Open Science, vol. 4, no. 11, November, 170623, 9 pages, 2017. View at: Publisher Site  Google Scholar  MathSciNet
 G. Hileman and M. Rauchs, “Global Cryptocurrency Benchmarking Study,” Cambridge Centre for Alternative Finance, 2017. View at: Google Scholar
 Binance.com. (2017) Binance https://www.binance.com/.
 Dunamu. (2017) Upbit https://upbit.com/.
 P. Inc. (2012) Kraken https://www.kraken.com/.
 S. Foley, J. R. Karlsen, and T. J. Putniii, “Sex, Drugs, and Bitcoin: How Much Illegal Activity Is Financed Through Cryptocurrencies?” SSRN Electronic Journal. View at: Publisher Site  Google Scholar
 S. Nakamoto, Bitcoin: A peertopeer electronic cash system, A peertopeer electronic cash system, Bitcoin, 2008.
 J. Barrdear and M. Kumhof, “The Macroeconomics of Central Bank Issued Digital Currencies,” SSRN Electronic Journal. View at: Publisher Site  Google Scholar
 The Dash Network, (2018) Dash https://www.dash.org.
 Ethereum Foundation (Stiftung Ethereum). (2018) Ethereum. https://www.ethereum.org/.
 Ripple. (2013) Ripple https://ripple.com/.
 (2018) Iota https://iota.org/.
 A. Baronchelli, “The emergence of consensus: a primer,” Royal Society Open Science, vol. 5, no. 2, February, 172189, 13 pages, 2018. View at: Publisher Site  Google Scholar  MathSciNet
 G. P. Dwyer, “The economics of Bitcoin and similar private digital currencies,” Journal of Financial Stability, vol. 17, pp. 81–91, 2015. View at: Publisher Site  Google Scholar
 R. Böhme, N. Christin, B. Edelman, and T. Moore, “Bitcoin: Economics, technology, and governance,” Journal of Economic Perspectives (JEP), vol. 29, no. 2, pp. 213–238, 2015. View at: Publisher Site  Google Scholar
 M. J. Casey and P. Vigna, “Bitcoin and the digitalcurrency revolution,” The Wall Street Journal, vol. 23, 2015. View at: Google Scholar
 S. Trimborn and W. K. Härdle, “Crix or Evaluating Blockchain Based Currencies,” SSRN Electronic Journal, 2016. View at: Publisher Site  Google Scholar
 M. Iwamura, Y. Kitamura, and T. Matsumoto, “Is bitcoin the only cryptocurrency in the town? economics of cryptocurrency and friedrich a. hayek,” SSRN Electronic Journal, 2014. View at: Publisher Site  Google Scholar
 M. A. Cusumano, “The Bitcoin ecosystem,” Communications of the ACM, vol. 57, no. 10, pp. 22–24, 2014. View at: Publisher Site  Google Scholar
 K. Wu, S. Wheatley, and D. Sornette, Classification of cryptocoins and tokens from the dynamics of their power law capitalisation distributions , arXiv preprint, 1803.03088, 2018.
 A. LamarchePerrin, A. Orléan, and P. Jensen, “Coexistence of several currencies in presence of increasing returns to adoption,” Physica A: Statistical Mechanics and its Applications, vol. 496, pp. 612–619, 2018. View at: Publisher Site  Google Scholar  MathSciNet
 P. M. Krafft, N. Della Penna, and A. S. Pentland, “An Experimental Study of Cryptocurrency Market Dynamics,” in Proceedings of the the 2018 CHI Conference, pp. 1–13, Montreal QC, Canada, April 2018. View at: Publisher Site  Google Scholar
 A. Rogojanu, L. Badea et al., “The issue of competing currencies. case studybitcoin,” Theoretical and Applied Economics, vol. 21, no. 1, pp. 103–114, 2014. View at: Google Scholar
 L. H. White, “The market for cryptocurrencies,” the Cato Journal, vol. 35, no. 2, pp. 383–402, 2015. View at: Google Scholar
 P. Ceruleo, Bitcoin: a rival to fiat money or a speculative financial asset? 2014.
 M. N. Sayed and N. A. Abbas, “Impact of cryptocurrency on emerging market focus on gulf countries,” Life Science Journal, vol. 15, no. 1, 2018. View at: Google Scholar
 M. A. Javarone and C. S. Wright, “From Bitcoin to Bitcoin Cash: a network analysis,” in Proceedings of the the 1st Workshop, pp. 77–81, Munich, Germany, June 2018. View at: Publisher Site  Google Scholar
 Y. Sovbetov, Factors influencing cryptocurrency prices: Evidence from bitcoin, ethereum, dash, litcoin, and monero, Factors influencing cryptocurrency prices, Evidence from bitcoin, 2018.
 F. Parino, M. G. Beiró, and L. Gauvin, “Analysis of the Bitcoin blockchain: socioeconomic factors behind the adoption,” EPJ Data Science, vol. 7, no. 1, 2018. View at: Publisher Site  Google Scholar
 S. Begušić, Z. Kostanjčar, H. Eugene Stanley, and B. Podobnik, “Scaling properties of extreme price fluctuations in Bitcoin markets,” Physica A: Statistical Mechanics and its Applications, vol. 510, pp. 400–406, 2018. View at: Publisher Site  Google Scholar
 P. Ciaian, M. Rajcaniova, and D. Kancs, “The economics of BitCoin price formation,” Applied Economics, vol. 48, no. 19, pp. 1799–1815, 2016. View at: Publisher Site  Google Scholar
 T. Guo and N. AntulovFantulin, Predicting shortterm bitcoin price fluctuations from buy and sell orders , arXiv preprint, 2018.
 G. Gajardo, W. D. Kristjanpoller, and M. Minutolo, “Does Bitcoin exhibit the same asymmetric multifractal crosscorrelations with crude oil, gold and DJIA as the Euro, Great British Pound and Yen?” Chaos, Solitons & Fractals, vol. 109, pp. 195–205, 2018. View at: Publisher Site  Google Scholar
 N. Gandal and H. Halaburda, “Can we predict the winner in a market with network effects? Competition in cryptocurrency market,” Games, vol. 7, no. 3, p. 16, 2016. View at: Publisher Site  Google Scholar  MathSciNet
 H. Elendner, S. Trimborn, B. Ong, T. M. Lee et al., The crosssection of cryptocurrencies as financial assets: An overview, Humboldt University, Berlin, Germany, 2016.
 D. Enke and S. Thawornwong, “The use of data mining and neural networks for forecasting stock market returns,” Expert Systems with Applications, vol. 29, no. 4, pp. 927–940, 2005. View at: Publisher Site  Google Scholar
 W. Huang, Y. Nakamori, and S.Y. Wang, “Forecasting stock market movement direction with support vector machine,” Computers & Operations Research, vol. 32, no. 10, pp. 2513–2522, 2005. View at: Publisher Site  Google Scholar
 P. Ou and H. Wang, “Prediction of Stock Market Index Movement by Ten Data Mining Techniques,” Modern Applied Science (MAS), vol. 3, no. 12, 2009. View at: Publisher Site  Google Scholar
 M. Gavrilov, D. Anguelov, P. Indyk, and R. Motwani, “Mining the stock market: Which measure is best?” in Proceedings of the Sixth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD2001), pp. 487–496, USA, August 2000. View at: Google Scholar
 K. S. Kannan, P. S. Sekar, M. M. Sathik, and P. Arumugam, “Financial stock market forecast using data mining techniques,” in Proceedings of the International MultiConference of Engineers and Computer Scientists 2010, IMECS 2010, pp. 555–559, Hong Kong, March 2010. View at: Google Scholar
 A. F. Sheta, S. E. M. Ahmed, and H. Faris, “A comparison between regression, artificial neural networks and support vector machines for predicting stock market index,” Soft Computing, vol. 7, p. 8, 2015. View at: Google Scholar
 P. Chang, C. Liu, C. Fan, J. Lin, and C. Lai, “An Ensemble of Neural Networks for Stock Trading Decision Making,” in Emerging Intelligent Computing Technology and Applications. With Aspects of Artificial Intelligence, vol. 5755 of Lecture Notes in Computer Science, pp. 1–10, Springer Berlin Heidelberg, Berlin, Heidelberg, 2009. View at: Publisher Site  Google Scholar
 I. Madan, S. Saluja, and A. Zhao, Automated bitcoin trading via machine learning algorithms, 2015.
 H. Jang and J. Lee, “An Empirical Study on Modeling and Prediction of Bitcoin Prices with Bayesian Neural Networks Based on Blockchain Information,” IEEE Access, vol. 6, pp. 5427–5437, 2017. View at: Publisher Site  Google Scholar
 S. McNally, J. Roche, and S. Caton, “Predicting the Price of Bitcoin Using Machine Learning,” in Proceedings of the 2018 26th Euromicro International Conference on Parallel, Distributed and Networkbased Processing (PDP), pp. 339–343, Cambridge, March 2018. View at: Publisher Site  Google Scholar
 K. Hegazy and S. Mumford, Comparitive automated bitcoin trading strategies. 2016.
 A. G. Shilling, “Market Timing: Better Than a BuyandHold Strategy,” Financial Analysts Journal, vol. 48, no. 2, pp. 46–50, 1992. View at: Publisher Site  Google Scholar
 Z. Jiang and J. Liang, “Cryptocurrency portfolio management with deep reinforcement learning,” in Proceedings of the 2017 Intelligent Systems Conference (IntelliSys), pp. 905–913, London, September 2017. View at: Publisher Site  Google Scholar
 Traderobot package, https://github.com/owocki/pytrader.
 Cryptobot package, https://github.com/AdeelMufti/CryptoBot.
 Cryptocurrencytrader package, https://github.com/llens/CryptoCurrencyTrader.
 Btctrading package https://github.com/bukosabino/btctrading.
 Bitpredict package, https://github.com/cbyn/bitpredict.
 Bitcoin bubble burst, https://bitcoinbubbleburst.github.io/.
 J. H. Friedman, “Stochastic gradient boosting,” Computational Statistics & Data Analysis, vol. 38, no. 4, pp. 367–378, 2002. View at: Publisher Site  Google Scholar  MathSciNet
 S. Hochreiter and J. Schmidhuber, “Long shortterm memory,” Neural Computation, vol. 9, no. 8, pp. 1735–1780, 1997. View at: Publisher Site  Google Scholar
 W. Brock, J. Lakonishok, and B. LeBaron, “Simple technical trading rules and the stochastic properties of stock returns,” The Journal of Finance, vol. 47, no. 5, pp. 1731–1764, 1992. View at: Publisher Site  Google Scholar
 T. Kilgallen, “Testing the simple moving average across commodities, global stock indices, and currencies,” Journal of Wealth Management, vol. 15, no. 1, pp. 82–100, 2012. View at: Publisher Site  Google Scholar
 B. LeBaron, “The stability of moving average technical trading rules on the dow jones index,” Tech. Rep., 2000. View at: Google Scholar
 C. A. Ellis and S. A. Parbery, “Is smarter better? A comparison of adaptive, and simple moving average trading strategies,” Research in International Business and Finance, vol. 19, no. 3, pp. 399–411, 2005. View at: Publisher Site  Google Scholar
 coinmarketcap.com, https://coinmarketcap.com/.
 G. T. Friedlob and F. J. Plewa Jr, “Understanding return on investment,” in 1em plus 0.5em minus 0.4em, John Wiley Sons, 4em, 1996. View at: Google Scholar
 T. Chen and C. Guestrin, “XGBoost: a scalable tree boosting system,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 2016, pp. 785–794, August 2016. View at: Publisher Site  Google Scholar
 Inc. (2018) Kaggle, https://www.kaggle.com/.
 Z. C. Lipton, J. Berkowitz, and C. Elkan, A critical review of recurrent neural networks for sequence learning , arXiv preprint, 2015.
 Bitcoinwiki, “Comparison of exchanges,” Comparison of exchanges, 2017, https://en.bitcoin.it/wiki/Comparison_of_exchanges. View at: Google Scholar
 H. S. Moat, C. Curme, A. Avakian, D. Y. Kenett, H. Eugene Stanley, and T. Preis, “Quantifying wikipedia usage patterns before stock market moves,” Scientific Reports, vol. 3, 2013. View at: Google Scholar
 D. Kondor, I. Csabai, J. Szüle, M. Pósfai, and G. Vattay, “Inferring the interplay between network structure and market effects in Bitcoin,” New Journal of Physics, vol. 16, no. 12, 2014. View at: Google Scholar
 L. Kristoufek, “What are the main drivers of the bitcoin price? Evidence from wavelet coherence analysis,” PLoS ONE, vol. 10, no. 4, 2015. View at: Google Scholar
 D. Garcia and F. Schweitzer, “Social signals and algorithmic trading of Bitcoin,” Royal Society Open Science, vol. 2, no. 9, 2015. View at: Publisher Site  Google Scholar
 L. Kristoufek, “BitCoin meets Google Trends and Wikipedia: Quantifying the relationship between phenomena of the Internet era,” Scientific Reports, vol. 3, 2013. View at: Google Scholar
 A. Urquhart, “What causes the attention of Bitcoin?” Economics Letters, vol. 166, pp. 40–44, 2018. View at: Publisher Site  Google Scholar
 D. Garcia, C. J. Tessone, P. Mavrodiev, and N. Perony, “The digital traces of bubbles: Feedback cycles between socioeconomic signals in the Bitcoin economy,” Journal of the Royal Society Interface, vol. 11, no. 99, article no. 0623, 2014. View at: Publisher Site  Google Scholar
 S. Wang and J. Vergne, “Correction: Buzz Factor or Innovation Potential: What Explains Cryptocurrencies' Returns?” PLoS ONE, vol. 12, no. 5, p. e0177659, 2017. View at: Publisher Site  Google Scholar
 T. R. Li, A. S. Chamrajnagar, X. R. Fong, N. R. Rizik, and F. Fu, Sentimentbased prediction of alternative cryptocurrency price fluctuations using gradient boosting tree model , arXiv preprint, 2018.
Copyright
Copyright © 2018 Laura Alessandretti et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.