Convolution on neural networks for high-frequency trend prediction of cryptocurrency exchange rates using technical indicators

Abstract This study explores the suitability of neural networks with a convolutional component as an alternative to traditional multilayer perceptrons in the domain of trend classification of cryptocurrency exchange rates using technical analysis in high frequencies. The experimental work compares the performance of four different network architectures -convolutional neural network, hybrid CNN-LSTM network, multilayer perceptron and radial basis function neural network- to predict whether six popular cryptocurrencies -Bitcoin, Dash, Ether, Litecoin, Monero and Ripple- will increase their value vs. USD in the next minute. The results, based on 18 technical indicators derived from the exchange rates at a one-minute resolution over one year, suggest that all series were predictable to a certain extent using the technical indicators. Convolutional LSTM neural networks outperformed all the rest significantly, while CNN neural networks were also able to provide good results specially in the Bitcoin, Ether and Litecoin cryptocurrencies.

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

[2]  F. Diebold,et al.  Comparing Predictive Accuracy , 1994, Business Cycles.

[3]  Michele Marchesi,et al.  A hybrid genetic-neural architecture for stock indexes forecasting , 2005, Inf. Sci..

[4]  M. Elbeck,et al.  Bitcoins as an investment or speculative vehicle? A first look , 2015 .

[5]  A. H. Dyhrberg,et al.  How investible is Bitcoin? Analyzing the liquidity and transaction costs of Bitcoin markets , 2018, Economics Letters.

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

[7]  Yue Zhang,et al.  Deep Learning for Event-Driven Stock Prediction , 2015, IJCAI.

[8]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[9]  Stefan Lessmann,et al.  Bridging the divide in financial market forecasting: machine learners vs. financial economists , 2016, Expert Syst. Appl..

[10]  Eugenio Culurciello,et al.  An Analysis of Deep Neural Network Models for Practical Applications , 2016, ArXiv.

[11]  F. Tay,et al.  Application of support vector machines in financial time series forecasting , 2001 .

[12]  Andrew W. Lo,et al.  Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation , 2000 .

[13]  A. Ibáñez,et al.  Semi-strong efficiency of Bitcoin , 2018, Finance Research Letters.

[14]  Kazuhiro Seki,et al.  Predicting Stock Market Trends by Recurrent Deep Neural Networks , 2014, PRICAI.

[15]  Chulwoo Han,et al.  Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies , 2017, Expert Syst. Appl..

[16]  Ö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..

[17]  A. Murat Ozbayoglu,et al.  Algorithmic financial trading with deep convolutional neural networks: Time series to image conversion approach , 2018, Appl. Soft Comput..

[18]  Sanjiv R. Das,et al.  Are Markets Truly Efficient? Experiments Using Deep Learning Algorithms for Market Movement Prediction , 2018, Algorithms.

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

[20]  Qiang Chen,et al.  Network In Network , 2013, ICLR.

[21]  Thomas S. Kim On the transaction cost of Bitcoin , 2017 .

[22]  C. Tan,et al.  NEURAL NETWORKS FOR TECHNICAL ANALYSIS: A STUDY ON KLCI , 1999 .

[23]  Justin A. Sirignano,et al.  Universal features of price formation in financial markets: perspectives from deep learning , 2018, Machine Learning and AI in Finance.

[24]  Luca Oneto,et al.  Technical analysis and sentiment embeddings for market trend prediction , 2019, Expert Syst. Appl..

[25]  Peter Reinhard Hansen,et al.  The Model Confidence Set , 2010 .

[26]  K. P. Soman,et al.  NSE Stock Market Prediction Using Deep-Learning Models , 2018 .

[27]  H. White,et al.  A Reality Check for Data Snooping , 2000 .

[28]  Sergey Ioffe,et al.  Rethinking the Inception Architecture for Computer Vision , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[29]  Leopoldo Catania,et al.  The Model Confidence Set package for R , 2019 .

[30]  Salim Lahmiri,et al.  Cryptocurrency forecasting with deep learning chaotic neural networks , 2019, Chaos, Solitons & Fractals.

[31]  Dimitrios Kalles,et al.  Short-Term Trend Prediction of Foreign Exchange rates with a Neural-Network Based Ensemble of Financial Technical indicators , 2013, Int. J. Artif. Intell. Tools.

[32]  Alexandros Iosifidis,et al.  Forecasting Stock Prices from the Limit Order Book Using Convolutional Neural Networks , 2017, 2017 IEEE 19th Conference on Business Informatics (CBI).

[33]  Qifa Xu,et al.  A novel UMIDAS-SVQR model with mixed frequency investor sentiment for predicting stock market volatility , 2019, Expert Syst. Appl..

[34]  Ingoo Han,et al.  Genetic algorithms approach to feature discretization in artificial neural networks for the prediction of stock price index , 2000 .

[35]  A. Lo,et al.  THE ECONOMETRICS OF FINANCIAL MARKETS , 1996, Macroeconomic Dynamics.

[36]  Halbert White,et al.  Tests of Conditional Predictive Ability , 2003 .

[37]  Au Vo,et al.  A High-Frequency Algorithmic Trading Strategy for Cryptocurrency , 2018, J. Comput. Inf. Syst..

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

[39]  Adriano C. M. Pereira,et al.  Stock market's price movement prediction with LSTM neural networks , 2017, 2017 International Joint Conference on Neural Networks (IJCNN).

[40]  Lirong Zheng,et al.  Automated trading systems statistical and machine learning methods and hardware implementation: a survey , 2018, Enterp. Inf. Syst..

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

[42]  ChongEunsuk,et al.  Deep learning networks for stock market analysis and prediction , 2017 .

[43]  Werner Kristjanpoller,et al.  A hybrid volatility forecasting framework integrating GARCH, artificial neural network, technical analysis and principal components analysis , 2018, Expert Syst. Appl..

[44]  Sahil Shah,et al.  Predicting stock and stock price index movement using Trend Deterministic Data Preparation and machine learning techniques , 2015, Expert Syst. Appl..

[45]  Saman Haratizadeh,et al.  CNNpred: CNN-based stock market prediction using a diverse set of variables , 2019, Expert Syst. Appl..

[46]  K. P. Soman,et al.  Stock price prediction using LSTM, RNN and CNN-sliding window model , 2017, 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI).

[47]  Guofu Zhou,et al.  Forecasting the Equity Risk Premium: The Role of Technical Indicators , 2011, Manag. Sci..

[48]  Chih-Hung Wu,et al.  A New Forecasting Framework for Bitcoin Price with LSTM , 2018, 2018 IEEE International Conference on Data Mining Workshops (ICDMW).

[49]  Geoffrey E. Hinton,et al.  Deep Learning , 2015, Nature.

[50]  Svetlana Borovkova,et al.  An Ensemble of LSTM Neural Networks for High-Frequency Stock Market Classification , 2018, Journal of Forecasting.

[51]  Jürgen Schmidhuber,et al.  Long Short-Term Memory , 1997, Neural Computation.

[52]  Stefan Zohren,et al.  DeepLOB: Deep Convolutional Neural Networks for Limit Order Books , 2018, IEEE Transactions on Signal Processing.

[53]  Tugrul U. Daim,et al.  Using artificial neural network models in stock market index prediction , 2011, Expert Syst. Appl..

[54]  Ricardo A. S. Fernandes,et al.  Predicting the direction, maximum, minimum and closing prices of daily Bitcoin exchange rate using machine learning techniques , 2019, Appl. Soft Comput..

[55]  Ritika Singh,et al.  Stock prediction using deep learning , 2016, Multimedia Tools and Applications.

[56]  Cheng-Lung Huang,et al.  A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting , 2009, Expert Syst. Appl..

[57]  J. Michael Herrmann,et al.  Lagged correlation-based deep learning for directional trend change prediction in financial time series , 2018, Expert Syst. Appl..

[58]  Constantin Zopounidis,et al.  Bitcoin price forecasting with neuro-fuzzy techniques , 2019, Eur. J. Oper. Res..

[59]  Wang Chun Wei Liquidity and market efficiency in cryptocurrencies , 2018, Economics Letters.

[60]  Nikola Gradojevic,et al.  Non-fundamental, non-parametric Bitcoin forecasting , 2019, Physica A: Statistical Mechanics and its Applications.

[61]  S. Corbet,et al.  Exploring the Dynamic Relationships between Cryptocurrencies and Other Financial Assets , 2017 .

[62]  Kimon P. Valavanis,et al.  Surveying stock market forecasting techniques - Part II: Soft computing methods , 2009, Expert Syst. Appl..

[63]  Youn-Hee Han,et al.  Time Series Classification of Cryptocurrency Price Trend Based on a Recurrent LSTM Neural Network , 2019, J. Inf. Process. Syst..

[64]  C. Sutcliffe,et al.  Optimal vs. Naïve Diversification in Cryptocurrencies , 2018, Economics Letters.

[65]  Akihiko Takahashi,et al.  Bitcoin technical trading with artificial neural network , 2018 .

[66]  Taisei Kaizoji,et al.  Artificial Neural Networks for Realized Volatility Prediction in Cryptocurrency Time Series , 2019, ISNN.

[67]  Yulei Rao,et al.  A deep learning framework for financial time series using stacked autoencoders and long-short term memory , 2017, PloS one.

[68]  Weiyi Liu,et al.  Portfolio diversification across cryptocurrencies , 2019, Finance Research Letters.

[69]  Thomas Fischer,et al.  Deep learning with long short-term memory networks for financial market predictions , 2017, Eur. J. Oper. Res..

[70]  Cryptocurrencies as a Financial Asset: A Systematic Analysis , 2019 .

[71]  Ole Kristian Ekseth,et al.  Occams Razor for Big Data? On Detecting Quality in Large Unstructured Datasets , 2019, Applied Sciences.

[72]  M A H Dempster,et al.  An automated FX trading system using adaptive reinforcement learning , 2006, Expert Syst. Appl..

[73]  Markus Stoye,et al.  Deep learning in jet reconstruction at CMS , 2018, Journal of Physics: Conference Series.

[74]  Hui Xiong,et al.  Exploiting intra-day patterns for market shock prediction: A machine learning approach , 2019, Expert Syst. Appl..

[75]  Herbert Kimura,et al.  Can artificial intelligence enhance the Bitcoin bonanza , 2019, The Journal of Finance and Data Science.

[76]  Jon Danielsson,et al.  Feedback trading This paper is also available at www.riskresearch.org , 2006 .

[77]  Will Serrano,et al.  Genetic and deep learning clusters based on neural networks for management decision structures , 2019, Neural Computing and Applications.

[78]  Alexandros Iosifidis,et al.  Forecasting jump arrivals in stock prices: new attention-based network architecture using limit order book data , 2018, Quantitative Finance.

[79]  François Chollet,et al.  Xception: Deep Learning with Depthwise Separable Convolutions , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[80]  Takuya Shintate,et al.  Trend Prediction Classification for High Frequency Bitcoin Time Series with Deep Learning , 2019, Journal of Risk and Financial Management.