IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v16y2023i1p51-d1034543.html
   My bibliography  Save this article

Analysis of Bitcoin Price Prediction Using Machine Learning

Author

Listed:
  • Junwei Chen

    (Graduate School of Economics, Kobe University, Kobe 657-8501, Japan)

Abstract

The research purpose of this paper is to obtain an algorithm model with high prediction accuracy for the price of Bitcoin on the next day through random forest regression and LSTM, and to explain which variables have influence on the price of Bitcoin. There is much prior literature on Bitcoin price prediction research, and the research methods mainly revolve around the ARMA model of time series and the LSTM algorithm of deep learning. Although it cannot be proved by the Diebold–Mariano test that the prediction accuracy of random forest regression is significantly better than that of LSTM, the prediction errors RMSE and MAPE of random forest regression are better than those of LSTM. The changes in the variables that determine the price of Bitcoin in each period are also obtained through random forest regression. From 2015 to 2018, three US stock market indexes, NASDAQ, DJI, and S&P500 and oil price, and ETH price have impact on Bitcoin prices. Since 2018, the important variables have become ETH price and Japanese stock market index JP225. The relationship between accuracy and the number of periods of explanatory variables brought into the model shows that for predicting the price of Bitcoin for the next day, the model with only one lag of the explanatory variables has the best prediction accuracy.

Suggested Citation

  • Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.
  • Handle: RePEc:gam:jjrfmx:v:16:y:2023:i:1:p:51-:d:1034543
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/16/1/51/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/16/1/51/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Basak, Suryoday & Kar, Saibal & Saha, Snehanshu & Khaidem, Luckyson & Dey, Sudeepa Roy, 2019. "Predicting the direction of stock market prices using tree-based classifiers," The North American Journal of Economics and Finance, Elsevier, vol. 47(C), pages 552-567.
    2. Dirk G. Baur & Thomas Dimpfl, 2021. "The volatility of Bitcoin and its role as a medium of exchange and a store of value," Empirical Economics, Springer, vol. 61(5), pages 2663-2683, November.
    3. Philip, R., 2020. "Estimating permanent price impact via machine learning," Journal of Econometrics, Elsevier, vol. 215(2), pages 414-449.
    4. Mehmet Levent ERDAS & Abdullah Emre CAGLAR, 2018. "Analysis of the relationships between Bitcoin and exchange rate, commodities and global indexes by asymmetric causality test," Eastern Journal of European Studies, Centre for European Studies, Alexandru Ioan Cuza University, vol. 9, pages 27-45, December.
    5. Fan, Liwei & Pan, Sijia & Li, Zimin & Li, Huiping, 2016. "An ICA-based support vector regression scheme for forecasting crude oil prices," Technological Forecasting and Social Change, Elsevier, vol. 112(C), pages 245-253.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. David L. John & Sebastian Binnewies & Bela Stantic, 2024. "Cryptocurrency Price Prediction Algorithms: A Survey and Future Directions," Forecasting, MDPI, vol. 6(3), pages 1-35, August.
    2. Jing, Ruixue & Rocha, Luis E.C., 2023. "A network-based strategy of price correlations for optimal cryptocurrency portfolios," Finance Research Letters, Elsevier, vol. 58(PC).
    3. Ayush Singh & Anshu K. Jha & Amit N. Kumar, 2024. "Prediction of Cryptocurrency Prices through a Path Dependent Monte Carlo Simulation," Papers 2405.12988, arXiv.org.
    4. Olcay Ozupek & Reyat Yilmaz & Bita Ghasemkhani & Derya Birant & Recep Alp Kut, 2024. "A Novel Hybrid Model (EMD-TI-LSTM) for Enhanced Financial Forecasting with Machine Learning," Mathematics, MDPI, vol. 12(17), pages 1-36, September.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Erdinc Akyildirim & Oguzhan Cepni & Shaen Corbet & Gazi Salah Uddin, 2023. "Forecasting mid-price movement of Bitcoin futures using machine learning," Annals of Operations Research, Springer, vol. 330(1), pages 553-584, November.
    2. Sasan Barak & Navid Parvini, 2023. "Transfer‐entropy‐based dynamic feature selection for evaluating Bitcoin price drivers," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 43(12), pages 1695-1726, December.
    3. Baoqiang Zhan & Shu Zhang & Helen S. Du & Xiaoguang Yang, 2022. "Exploring Statistical Arbitrage Opportunities Using Machine Learning Strategy," Computational Economics, Springer;Society for Computational Economics, vol. 60(3), pages 861-882, October.
    4. Henriques, Irene & Sadorsky, Perry, 2023. "Forecasting rare earth stock prices with machine learning," Resources Policy, Elsevier, vol. 86(PA).
    5. Saqib Farid & Rubeena Tashfeen & Tahseen Mohsan & Arsal Burhan, 2023. "Forecasting stock prices using a data mining method: Evidence from emerging market," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(2), pages 1911-1917, April.
    6. Lu-Tao Zhao & Guan-Rong Zeng & Ling-Yun He & Ya Meng, 2020. "Forecasting Short-Term Oil Price with a Generalised Pattern Matching Model Based on Empirical Genetic Algorithm," Computational Economics, Springer;Society for Computational Economics, vol. 55(4), pages 1151-1169, April.
    7. Doan, Bao & Vo, Duc Hong, 2021. "Is there any information content of traded stocks in an emerging market? Evidence from Vietnam," International Economics, Elsevier, vol. 167(C), pages 78-87.
    8. Zhou, Zhongbao & Gao, Meng & Liu, Qing & Xiao, Helu, 2020. "Forecasting stock price movements with multiple data sources: Evidence from stock market in China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 542(C).
    9. Barboza, Flavio & Altman, Edward, 2024. "Predicting financial distress in Latin American companies: A comparative analysis of logistic regression and random forest models," The North American Journal of Economics and Finance, Elsevier, vol. 72(C).
    10. Bhuiyan, Rubaiyat Ahsan & Husain, Afzol & Zhang, Changyong, 2021. "A wavelet approach for causal relationship between bitcoin and conventional asset classes," Resources Policy, Elsevier, vol. 71(C).
    11. Marcin Fałdziński & Piotr Fiszeder & Witold Orzeszko, 2020. "Forecasting Volatility of Energy Commodities: Comparison of GARCH Models with Support Vector Regression," Energies, MDPI, vol. 14(1), pages 1-18, December.
    12. Ajithakumari Vijayappan Nair Biju & Ann Susan Thomas, 2023. "Uncertainties and ambivalence in the crypto market: an urgent need for a regional crypto regulation," SN Business & Economics, Springer, vol. 3(8), pages 1-21, August.
    13. Nadir Khan & Muhammad Zohair Durrani & Naila Mushtaq & S M Nabeel ul Haq & Babar Ijaz, 2022. "The Relationships among Cryptocurrencies: A Granger Causality Analysis," iRASD Journal of Economics, International Research Alliance for Sustainable Development (iRASD), vol. 4(2), pages 264-274, June.
    14. Quande Qin & Huangda He & Li Li & Ling-Yun He, 2020. "A Novel Decomposition-Ensemble Based Carbon Price Forecasting Model Integrated with Local Polynomial Prediction," Computational Economics, Springer;Society for Computational Economics, vol. 55(4), pages 1249-1273, April.
    15. Şirin Özlem & Omer Faruk Tan, 2022. "Predicting cash holdings using supervised machine learning algorithms," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-19, December.
    16. Kovacs, Oliver, 2024. "Exaptationary Industry 4.0: Graphene as pathfinder?," Technological Forecasting and Social Change, Elsevier, vol. 200(C).
    17. Vitor Azevedo & Christopher Hoegner, 2023. "Enhancing stock market anomalies with machine learning," Review of Quantitative Finance and Accounting, Springer, vol. 60(1), pages 195-230, January.
    18. Htet Htet Htun & Michael Biehl & Nicolai Petkov, 2023. "Survey of feature selection and extraction techniques for stock market prediction," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-25, December.
    19. Han Gui, 2024. "Machine learning in weekly movement prediction," Papers 2407.09831, arXiv.org.
    20. Yizhe Xu & Tom H. Greene & Adam P. Bress & Brandon K. Bellows & Yue Zhang & Zugui Zhang & Paul Kolm & William S. Weintraub & Andrew S. Moran & Jincheng Shen, 2022. "An Efficient Approach for Optimizing the Cost-effective Individualized Treatment Rule Using Conditional Random Forest," Papers 2204.10971, arXiv.org.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jjrfmx:v:16:y:2023:i:1:p:51-:d:1034543. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.