A Hybrid Model for Bitcoin Prices Prediction using Hidden Markov Models and Optimized LSTM Networks

With the recent advances in the Blockchain technology, and due to its decentralized nature, it has been a much considered approach for solving issues in the Internet of Things (IoT) sector, in particular, for IoT payment platforms. As Machine-to-Machine (M2M) payments are fundamental in the IoT economy, the development of Blockchain-based payment platforms, using cryptocurrency, is continuously increasing as it enables a pure M2M, secure and private financial transactions. Unlike traditional assets, cryptocurrencies have a higher index of volatility, which makes it essential to understand the movement of their prices, as a first step to optimize Blockchain-based M2M payment transactions. In this paper, we propose a novel hybrid model that deals with this challenge from a descriptive, as well as predictive points of view. We use Hidden Markov Models to describe cryptocurrencies historical movements to predict future movements with Long Short Term Memory networks. To evaluate the proposed hybrid model, we have chosen 2-minute frequency Bitcoin data from Coinbase exchange market. Our proposed model proved its effectiveness compared to traditional time-series forecasting models, ARIMA, as well as a conventional LSTM.

[1]  Devavrat Shah,et al.  Bayesian regression and Bitcoin , 2014, 2014 52nd Annual Allerton Conference on Communication, Control, and Computing (Allerton).

[2]  Mark Stamp,et al.  A Revealing Introduction to Hidden Markov Models , 2017 .

[3]  Paolo Giudici,et al.  A hidden Markov model to detect regime changes in cryptoasset markets , 2020, Qual. Reliab. Eng. Int..

[4]  Zoubin Ghahramani,et al.  An Introduction to Hidden Markov Models and Bayesian Networks , 2001, Int. J. Pattern Recognit. Artif. Intell..

[5]  Qun Li,et al.  FastPay: A Secure Fast Payment Method for Edge-IoT Platforms using Blockchain , 2018, 2018 IEEE/ACM Symposium on Edge Computing (SEC).

[6]  Juan Carlos De Martin,et al.  Blockchain for the Internet of Things: A systematic literature review , 2016, 2016 IEEE/ACS 13th International Conference of Computer Systems and Applications (AICCSA).

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

[8]  J. K. Kinnear,et al.  Advances in Genetic Programming , 1994 .

[9]  T.P. Mann Numerically Stable Hidden Markov Model Implementation , 2006 .

[10]  Melanie Mitchell,et al.  An introduction to genetic algorithms , 1996 .

[11]  Vallipuram Muthukkumarasamy,et al.  Securing Smart Cities Using Blockchain Technology , 2016, 2016 IEEE 18th International Conference on High Performance Computing and Communications; IEEE 14th International Conference on Smart City; IEEE 2nd International Conference on Data Science and Systems (HPCC/SmartCity/DSS).

[12]  Sigrid Schefer-Wenzl,et al.  Blockchains for IoT Payments: A Survey , 2018, 2018 IEEE Globecom Workshops (GC Wkshps).

[13]  Paolo Giudici,et al.  What determines bitcoin exchange prices? A network VAR approach , 2019, Finance Research Letters.

[14]  Sankar K. Pal,et al.  Genetic Algorithms for Pattern Recognition , 2017 .

[15]  Dorothea Heiss-Czedik,et al.  An Introduction to Genetic Algorithms. , 1997, Artificial Life.

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

[17]  Thanisa Numnonda,et al.  Machine Learning Models Comparison for Bitcoin Price Prediction , 2018, 2018 10th International Conference on Information Technology and Electrical Engineering (ICITEE).

[18]  Jang Huisu Predicting Bitcoin Prices by Using Rolling Window LSTM model , 2018 .

[19]  Satoshi Nakamoto Bitcoin : A Peer-to-Peer Electronic Cash System , 2009 .

[20]  Albert Bifet,et al.  Bitcoin Volatility Forecasting with a Glimpse into Buy and Sell Orders , 2018, 2018 IEEE International Conference on Data Mining (ICDM).

[21]  Kusprasapta Mutijarsa,et al.  Secure IoT Communication using Blockchain Technology , 2018, 2018 International Symposium on Electronics and Smart Devices (ISESD).

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

[23]  Isaac Madan Automated Bitcoin Trading via Machine Learning Algorithms , 2014 .

[24]  Alex Greaves,et al.  Using the Bitcoin Transaction Graph to Predict the Price of Bitcoin , 2015 .

[25]  Kyung-shik Shin,et al.  Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction , 2018, Sustainability.

[26]  Jiangtao Wen,et al.  The IoT electric business model: Using blockchain technology for the internet of things , 2016, Peer-to-Peer Networking and Applications.