Research Article

An application of deep learning on bitcoin price forecasting

Rui Zhong*
Queensland University, Sir Fred Schonell Drive St Lucia, QLD 4072 Australia.

* Corresponding author: [email protected]

Abstract

The long short-term memory (LSTM) network and a cutting-edge method that combines wavelet decomposition and LSTM (W-LSTM) were applied to deep learning in this study's analysis of Bitcoin's price and movement. To be specific, it predicted next day’s both price and price movement (trend) with historical data. The input of the model is close price itself, basic trading information, and technical indicators calculated solely on basic trading information. Large number of numerical experiments come to the same conclusion that: for price prediction, only close price as input obtains the best performance for regression, and minor improvement achieved after 1-order wavelet decomposition; for price movement, no improvement after changing the number of input features or with the model W-LSTM has been spotted for the same network structure and hyper-parameters, and enlarging time step and batch size will improve accuracy and Matthews correlation coefficient despite of number of input and model used in this paper.

Keywords: deep learning; Bitcoin price forecasting; price trend forecasting.
Published: May 31, 2023
DOI: 10.54254/2755-2721/4/20230510
Volume: ACE Vol.4
pp. 422-429
Download PDF

References

  1. Fang F., Ventre C., Basios M., Kanthan L., Martinez-Rego D., Wu F. and Li L., 2022, Cryptocurrency trading: a comprehensive survey, Financial Innovation , 8(1) doi:10.1186/s40854-021-00321-6.
  2. Rizwan M., Narejo S. and Javed M. 2019, Bitcoin price prediction using Deep Learning Algorithm14-15 Dec. 2019) p 1-7
  3. McNally S., Roche J. and Caton S., 2018, Predicting the Price of Bitcoin Using Machine Learning, 339-343 doi:10.1109/pdp2018.2018.00060
  4. Lamothe-Fernández P., Alaminos D., Lamothe-López P. and Fernández-Gámez M. A., 2020, Deep Learning Methods for Modeling Bitcoin Price, Mathematics, 8(8): 1245 doi:10.3390/math8081245
  5. Ozbayoglu A. M., Gudelek M. U. and Sezer O. B., 2020, Deep learning for financial applications : A survey, Applied Soft Computing, 93: 106384 doi:10.1016/j.asoc.2020.106384
  6. Liu M., Li G., Li J., Zhu X. and Yao Y., 2021, Forecasting the price of Bitcoin using deep learning, Financ. Res. Lett., 40: 101755 doi:10.1016/j.frl.2020.101755
  7. D’Amato V., Levantesi S. and Piscopo G., 2022, Deep learning in predicting cryptocurrency volatility, Physica A, 596: 127158 doi:10.1016/j.physa.2022.127158
  8. Sezer O. B., Gudelek M. U. and Ozbayoglu A. M., 2020, Financial time series forecasting with deep learning : A systematic literature review: 2005–2019, Applied Soft Computing, 90: 106181 doi:10.1016/j.asoc.2020.106181
  9. Liu Y., Guan L., Hou C., Han H., Liu Z., Sun Y. and Zheng M., 2019, Wind Power Short-Term Prediction Based on LSTM and Discrete Wavelet Transform, Applied Sciences, 9(6): 1108 doi:10.3390/app9061108
  10. Liang X., Ge Z., Sun L., He M. and Chen H., 2019, LSTM with Wavelet Transform Based Data Preprocessing for Stock Price Prediction, Mathematical Problems in Engineering, 1340174 doi:10.1155/2019/1340174
  11. Zeng Y., Chen J., Jin N., Jin X. and Du Y., Air quality forecasting with hybrid LSTM and extended stationary wavelet transform, Building and Environment, 2022, 213: 108822 doi:10.1016/j.buildenv.2022.108822
  12. Ruan G., Wang Y., Wang S. L., Zheng Y., Guo Q. and Shulga S. N., AUTOMATIC RECOGNITION OF RADAR SIGNAL TYPES BASED ON CNN-LSTM, 2020, 79(4): 305-321 doi:10.1615/TelecomRadEng.v79.i4.40
  13. Liao W., Ye G., Yin Y., Yan W., Ma Y. and Zuo D. 2020 The Inventory of Spare Parts Prediction based on LSTM for Large Data and a Short Replacement Cycle2-5 Nov. 2020) p 1-5
  14. Ma Y., Tang Y., Li B. and Qi B. 2020 Residential High-Power Load Prediction Based on Optimized LSTM Network23-25 Oct. 2020) p 538-541
  15. Jafari A. and Haratizadeh S., GCNET: graph-based prediction of stock price movement using graph convolutional network, arXiv preprint arXiv:2203.11091, 2022.