Forecasting Bitcoin Price Using LSTM Networks Optimized with Adam Optimizer

https://doi.org/10.33173/acsie.v6i1.299
  • Muslimin BPoliteknik Pertanian Negeri Samarinda
  • Budi RacmadhaniPoliteknik Pertanian Negeri Samarinda
  • Rudito RuditoPoliteknik Pertanian Negeri Samarinda

Abstract

The rapid growth of cryptocurrency markets has increased the importance of accurate price forecasting to support investment decision-making and risk management. Bitcoin, as the most dominant cryptocurrency, exhibits high volatility, nonlinearity, and strong temporal dependencies, which make its price dynamics difficult to model using traditional statistical approaches. Motivated by these challenges, this study proposes a Bitcoin price forecasting model based on a Long Short-Term Memory (LSTM) neural network to capture complex temporal patterns in historical price data. The main contribution of this research lies in the development and evaluation of an LSTM-based forecasting framework that effectively models long-term dependencies in Bitcoin price movements. The proposed methodology includes data preprocessing, normalization, sequence transformation, model training, and systematic performance evaluation. The forecasting performance is assessed using standard regression metrics, namely Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE), to ensure objective and comprehensive evaluation. Experimental results demonstrate that the proposed LSTM model is capable of producing predictions that closely follow actual Bitcoin price trends during the testing period, indicating strong predictive accuracy and robustness despite market volatility. The findings confirm the suitability of LSTM networks for cryptocurrency price forecasting tasks involving nonlinear and non-stationary time series data. Future work may extend this research by incorporating external factors such as trading volume, market sentiment, and macroeconomic indicators, as well as by exploring alternative deep learning architectures and multi-step forecasting strategies to further enhance prediction performance.

Keywords

Bitcoin price forecasting; Long Short-Term Memory; deep learning; time series prediction; cryptocurrency

Full Text

Downloads

Download data is not yet available.

References

[1] M. K. Hasan, M. M. Islam, and M. R. Amin, “Bitcoin price prediction using machine learning techniques,” IEEE Access, vol. 8, pp. 168712–168724, 2020. DOI: 10.1109/ACCESS.2020.3023295
[2] A. Lahmiri and S. Bekiros, “Cryptocurrency forecasting with deep learning chaotic neural networks,” Chaos, Solitons & Fractals, vol. 118, pp. 35–40, 2020. DOI: 10.1016/j.chaos.2018.11.014
[3] J. McNally, J. Roche, and S. Caton, “Predicting the price of Bitcoin using machine learning,” in Proc. IEEE 26th Euromicro Int. Conf. on Parallel, Distributed and Network-Based Processing (PDP), 2020, pp. 339–343. DOI: 10.1109/PDP50117.2020.00060
[4] O. Sezer, M. U. Gudelek, and A. M. Ozbayoglu, “Financial time series forecasting with deep learning: A systematic literature review,” Applied Soft Computing, vol. 90, pp. 106181, 2020. DOI: 10.1016/j.asoc.2020.106181
[5] Y. Wang, L. Liu, and Z. Liu, “Bitcoin price prediction using LSTM and GRU neural networks,” Journal of Risk and Financial Management, vol. 14, no. 5, pp. 226, 2021.
DOI: 10.3390/jrfm14050226
[6] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” International Conference on Learning Representations (ICLR), 2020. DOI: 10.48550/arXiv.1412.6980
[7] R. Shrestha and R. S. Bhandari, “Performance evaluation of deep learning optimizers for financial time series forecasting,” Expert Systems with Applications, vol. 186, pp. 115834, 2021. DOI: 10.1016/j.eswa.2021.115834
[8] A. Patel, K. Mehtre, and S. Mahajan, “Evaluation metrics for time series forecasting models in financial markets,” IEEE Access, vol. 9, pp. 142368–142380, 2021. DOI: 10.1109/ACCESS.2021.3120329
[9] H. Chen, X. Chen, and Z. He, “Deep learning-based cryptocurrency price prediction: An empirical study,” Future Generation Computer Systems, vol. 123, pp. 75–87, 2022. DOI: 10.1016/j.future.2021.04.012
[10] Y. Zhang, S. Wang, and L. Ji, “A hybrid CNN–LSTM model for Bitcoin price prediction,” IEEE Access, vol. 9, pp. 115–126, 2021. DOI: 10.1109/ACCESS.2021.3051267
[11] I. E. Livieris, S. Stavroyiannis, and P. Pintelas, “Ensemble deep learning models for cryptocurrency forecasting,” Neural Computing and Applications, vol. 34, no. 6, pp. 4567–4581, 2022. DOI: 10.1007/s00521-021-06647-2
[12] A. Mittal and M. Goel, “Stock prediction using Twitter sentiment analysis,” IEEE Transactions on Computational Social Systems, vol. 9, no. 3, pp. 703–714, 2022. DOI: 10.1109/TCSS.2021.3127485
[13] H. U. Rehman, M. Kumari, and S. Bansal, “Sentiment-aware deep learning framework for cryptocurrency price forecasting,” Expert Systems with Applications, vol. 210, pp. 118430, 2023. DOI: 10.1016/j.eswa.2022.118430

License

Copyright (c) 2024 ACSIE (International Journal of Application Computer Science and Informatic Engineering)

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.