journal article·2021Open access

Bitcoin Candlestick Prediction with Deep Neural Networks Based on Real Time Data

Reem K. Alkhodhairi, Shahad R. Aljalhami, Norah K. Rusayni, Jowharah F. Alshobaili, Amal A. Al-Shargabi, Abdulatif Alabdulatif

Computers, Materials & Continua· Volume 68· Issue 3

Abstract

Currently, Bitcoin is the world’s most popular cryptocurrency. The price of Bitcoin is extremely volatile, which can be described as high-benefit and high-risk. To minimize the risk involved, a means of more accurately predicting the Bitcoin price is required. Most of the existing studies of Bitcoin prediction are based on historical (i.e., benchmark) data, without considering the real-time (i.e., live) data. To mitigate the issue of price volatility and achieve more precise outcomes, this study suggests using historical and real-time data to predict the Bitcoin candlestick—or open, high, low, and close (OHLC)—prices. Seeking a better prediction model, the present study proposes time series-based deep learning models. In particular, two deep learning algorithms were applied, namely, long short-term memory (LSTM) and gated recurrent unit (GRU). Using real-time data, the Bitcoin candlesticks were predicted for three intervals: the next 4 h, the next 12 h, and the next 24 h. The results showed that the best-performing model was the LSTM-based model with the 4-h interval. In particular, this model achieved a stellar performance with a mean absolute percentage error (MAPE) of 0.63, a root mean square error (RMSE) of 0.0009, a mean square error (MSE) of 9e-07, a mean absolute error (MAE) of 0.0005, and an R-squared coefficient (R2) of 0.994. With these results, the proposed prediction model has demonstrated its efficiency over the models proposed in previous studies. The findings of this study have considerable implications in the business field, as the proposed model can assist investors and traders in precisely identifying Bitcoin sales and buying opportunities.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Blockchain Technology Applications and Security · Traffic Prediction and Management Techniques · Currency Recognition and Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (20)

Show source-provided references
1. Global virtual currency—Brief overview
2. The best of two worlds: Forecasting high frequency volatility for cryptocurrencies and traditional currencies with support vector regression10.1016/j.eswa.2017.12.004 ↗
3. Price clustering in Bitcoin10.1016/j.econlet.2017.07.035 ↗
4. S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system,” Technical Report, 2019. [Online]. Available: https://bitcoin.org/bitcoin.pdf.
5. Predicting the price of Bitcoin using machine learning
6. Prediction of Bitcoin price change using neural networks
7. Why Bitcoin has value10.1145/2594288 ↗
8. Trend prediction classification for high frequency Bitcoin time series with deep learning10.3390/jrfm12010017 ↗
9. Performance comparison of Bitcoin prediction in big data environment
10. I. Madan, S. Saluja and A. Zhao, “Automated Bitcoin trading via machine learning algorithms,” 2015. [Online]. Available: http://cs229.stanford.edu/proj2014/Isaac%20Madan,%20Shaurya%20Saluja,%20Aojia%20Zhao,Automated%20Bitcoin%20Trading%20via%20Machine%20Learning%20Algorithms.pdf.
11. A new forecasting framework for Bitcoin price with LSTM
12. Machine learning models comparison for Bitcoin price prediction
13. Bitcoin price prediction using machine learning
14. Project based learning: Predicting Bitcoin prices using deep learning
15. Sentiment-driven price prediction of the Bitcoin based on statistical and deep learning approaches
16. Bitcoin price prediction using deep learning algorithm
17. Bitcoin price forecasting using time series analysis
18. Bitcoin price prediction combining data and text mining, smart innovation
19. Predicting the direction, maximum, minimum and closing prices of daily Bitcoin exchange rate using machine learning techniques10.1016/j.asoc.2018.11.038 ↗
20. Long short-term memory10.1162/neco.1997.9.8.1735 ↗