Forecasting cryptocurrency prices using LSTM, GRU, and bi-directional LSTM : a deep learning approach

Loading...
Thumbnail Image

Authors

Seabe, Phumudzo Lloyd
Moutsinga, Claude Rodrigue Bambe
Pindza, Edson

Journal Title

Journal ISSN

Volume Title

Publisher

MDPI

Abstract

Highly accurate cryptocurrency price predictions are of paramount interest to investors and researchers. However, owing to the nonlinearity of the cryptocurrency market, it is difficult to assess the distinct nature of time-series data, resulting in challenges in generating appropriate price predictions. Numerous studies have been conducted on cryptocurrency price prediction using different Deep Learning (DL) based algorithms. This study proposes three types of Recurrent Neural Networks (RNNs): namely, Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Bi-Directional LSTM (Bi-LSTM) for exchange rate predictions of three major cryptocurrencies in the world, as measured by their market capitalization—Bitcoin (BTC), Ethereum (ETH), and Litecoin (LTC). The experimental results on the three major cryptocurrencies using both Root Mean Squared Error (RMSE) and the Mean Absolute Percentage Error (MAPE) show that the Bi-LSTM performed better in prediction than LSTM and GRU. Therefore, it can be considered the best algorithm. Bi-LSTM presented the most accurate prediction compared to GRU and LSTM, with MAPE values of 0.036, 0.041, and 0.124 for BTC, LTC, and ETH, respectively. The paper suggests that the prediction models presented in it are accurate in predicting cryptocurrency prices and can be beneficial for investors and traders. Additionally, future research should focus on exploring other factors that may influence cryptocurrency prices, such as social media and trading volumes.

Description

DATA AVAILABILITY STATEMENT : Data used for this article are publicly available and collected from https://finance.yahoo.com (accessed on 23 July 2022).

Keywords

Machine learning, Deep learning, Cryptocurrency, Artificial neural network (ANN), Recurrent neural network (RNN), Bi-directional LSTM (Bi-LSTM), Long short-term memory (LSTM), Gated recurrent unit (GRU), Root mean squared error (RMSE), Mean absolute percentage error (MAPE), SDG-08: Decent work and economic growth, SDG-09: Industry, innovation and infrastructure

Sustainable Development Goals

SDG-08:Decent work and economic growth
SDG-09: Industry, innovation and infrastructure

Citation

Seabe, P.L.; Moutsinga, C.R.B.; Pindza, E. Forecasting Cryptocurrency Prices Using LSTM, GRU, and Bi-Directional LSTM: A Deep Learning Approach. Fractal Fract. 2023, 7, 203. https://DOI.org/10.3390/fractalfract7020203.