Securing BitCoin Price Prediction using the LSTM Machine Learning Model
Main Article Content
Abstract
This research explores the application of Long Short-Term Memory (LSTM) networks for short-term Bitcoin price prediction, addressing the need for reliable models due to Bitcoin's high volatility and trading volume. The study employs historical data from Kaggle to predict the direction and magnitude of price changes within a five-minute interval. Implementation includes preprocessing the data, normalizing prices, and generating sequences for LSTM input. Two LSTM models were developed: one for directional prediction and another for magnitude. Training results showed a directional accuracy of approximately 75.10%, demonstrating the feasibility of LSTM networks for financial forecasting and contributing to Bitcoin price prediction research, setting the stage for future real-time applications.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
How to Cite
References
Nakamoto, S. (2008). Bitcoin: A Peer-to-Peer Electronic Cash System.
Baur, D. G., Hong, K., & Lee, A. D. (2018). Bitcoin: Medium of Exchange or Speculative Assets? Journal of International Financial Markets, Institutions and Money, 54, 177-189. https://doi.org/10.1016/j.intfin.2017.12.004
McNally, S., Roche, J., & Caton, S. (2018). Predicting the Price of Bitcoin Using Machine Learning. Proceedings of the 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP), 339-343. https://doi.org/10.1109/PDP2018.2018.00060
Jang, H., & Lee, J. (2017). An Empirical Study on Modeling and Prediction of Bitcoin Prices with Bayesian Neural Networks Based on Blockchain Information. IEEE Access, 6, 5427-5437. https://doi.org/10.1109/ACCESS.2017.2779181
Phillip, A., Chan, J., & Peiris, S. (2018). A New Look at Cryptocurrencies. Economics Letters, 163, 6-9. https://doi.org/10.1016/j.econlet.2017.11.020
Rathore, R.K., Mishra, D., Mehra, P.S., Pal, O., Hashim, A.S., Shapii, A., Ciano, T. and Shutaywi, M., Real-world Model for Bitcoin Price Prediction., Information & Management, Elsevier, 59(4), July 2022. https://doi.org/10.1016/j.ipm.2022.102968
Chen, Z., Li, C., and Sun, W., Bitcoin Price Prediction Using Machine Learning: An Approach to Sample Dimension Engineering, Journal of Computational and Applied Mathematics, Elsevier, vol. 365, Feb 2020. https://doi.org/10.1016/j.cam.2019.112395
Nagula,P.K., and Alexakis,C., A New Hybrid Machine Learning Model for Predicting the Bitcoin (BTC-USD) Price, Journal of Behavioral and Experimental Finance, Vol 36, Dec. 2022. https://doi.org/10.1016/j.jbef.2022.100741
Chen, J., Analysis of Bitcoin Price Prediction Using Machine Learning. Journal of Risk and Financial Management, 2023, MDPI, https://doi.org/10.3390/jrfm16010051
Akyildirm, E., Cepni, O., Corbet, S., and Uddin, G.S., "Forecasting Mid-Price Movement of Bitcoin Futures Using Machine Learning." Journal of Operations Research, Springer, 330, 2023. https://doi.org/10.1007/s10479-021-04205-x
Phaladisailoed, T., and Numnonda, T., "Machine Learning Models Comparison for Bitcoin Price Prediction." 10th International Conference on Information Technology and Electrical Engineering, 2018. https://ieeexplore.ieee.org/document/8534911 https://doi.org/10.1109/ICITEED.2018.8534911
Jaquart, P., Dann,D., and Weinhardt,C., Short-term Bitcoin Market Prediction via Machine Learning, The Journal of Finance and Data Science, Sciencedirect, 7, 2021. https://doi.org/10.1016/j.jfds.2021.03.001
McNally, S., Roche, J., and Caton, S. (2018). Predicting the price of Bitcoin using Machine Learning. 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP), 2018 339-343. https://doi.org/10.1109/PDP2018.2018.00060
Inna, M., Oksana, P., & Lіudmylа, Y. (2020). Forming of Organizational and Economic Mechanism of the Cryptocurrency Market for the Countries with Position of Anticipation. In International Journal of Recent Technology and Engineering (IJRTE) (Vol. 8, Issue 6, pp. 72–79). https://doi.org/10.35940/ijrte.f7144.038620
Kasera, A. (2020). Cryptocurrency Frauds. In International Journal of Engineering and Advanced Technology (Vol. 9, Issue 6, pp. 261–268). https://doi.org/10.35940/ijeat.f1391.089620
Ebenezer, A. S., Jebapriya, S., & Bose, B. J. R. (2019). Predictive Analysis of Cryptocurrencies for Developing an Interactive Cryptocurrency Chatbot using IBM Watson Assistant. In International Journal of Innovative Technology and Exploring Engineering (Vol. 8, Issue 10, pp. 436–447). https://doi.org/10.35940/ijitee.i8485.0881019
Velani, J., & Patel, Dr. S. (2023). A Review: Fraud Prospects in Cryptocurrency Investment. In International Journal of Innovative Science and Modern Engineering (Vol. 11, Issue 6, pp. 1–4). https://doi.org/10.35940/ijisme.e4167.0611623
Zubir, Dr. A. S. H. M., Awi, Dr. N. A., Ali, Dr. A., Mokhlis, Dr. S., & Sulong, Dr. F. (2020). Cryptocurrency Technology and Financial Reporting. In International Journal of Management and Humanities (Vol. 4, Issue 9, pp. 103–108). https://doi.org/10.35940/ijmh.i0898.054920