IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i6p1335-d1092703.html
   My bibliography  Save this article

Price Prediction of Bitcoin Based on Adaptive Feature Selection and Model Optimization

Author

Listed:
  • Yingjie Zhu

    (School of Science, Changchun University, Changchun 130022, China)

  • Jiageng Ma

    (School of Science, Changchun University, Changchun 130022, China)

  • Fangqing Gu

    (School of Mathematics and Statistics, Guangdong University of Technology, Guangzhou 510520, China)

  • Jie Wang

    (School of Science, Changchun University, Changchun 130022, China)

  • Zhijuan Li

    (School of Science, Changchun University, Changchun 130022, China)

  • Youyao Zhang

    (School of Philosophy, Shaanxi Normal University, Xi’an 710119, China)

  • Jiani Xu

    (School of Economics and Management, Beijing University of Chemical Technology, Beijing 100029, China)

  • Yifan Li

    (HSBC Business School, Peking University, Beijing 100871, China)

  • Yiwen Wang

    (School of Science, Changchun University, Changchun 130022, China)

  • Xiangqun Yang

    (School of Science, Changchun University, Changchun 130022, China)

Abstract

Bitcoin is one of the most successful cryptocurrencies, and research on price predictions is receiving more attention. To predict Bitcoin price fluctuations better and more effectively, it is necessary to establish a more abundant index system and prediction model with a better prediction effect. In this study, a combined prediction model with twin support vector regression was used as the main model. Twenty-seven factors related to Bitcoin prices were collected. Some of the factors that have the greatest impact on Bitcoin prices were selected by using the XGBoost algorithm and random forest algorithm. The combined prediction model with support vector regression (SVR), least-squares support vector regression (LSSVR), and twin support vector regression (TWSVR) was used to predict the Bitcoin price. Since the model’s hyperparameters have a great impact on prediction accuracy and algorithm performance, we used the whale optimization algorithm (WOA) and particle swarm optimization algorithm (PSO) to optimize the hyperparameters of the model. The experimental results show that the combined model, XGBoost-WOA-TWSVR, has the best prediction effect, and the EVS score of this model is significantly better than that of the traditional statistical model. In addition, our study verifies that twin support vector regression has advantages in both prediction effect and computation speed.

Suggested Citation

  • Yingjie Zhu & Jiageng Ma & Fangqing Gu & Jie Wang & Zhijuan Li & Youyao Zhang & Jiani Xu & Yifan Li & Yiwen Wang & Xiangqun Yang, 2023. "Price Prediction of Bitcoin Based on Adaptive Feature Selection and Model Optimization," Mathematics, MDPI, vol. 11(6), pages 1-22, March.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:6:p:1335-:d:1092703
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/6/1335/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/6/1335/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Pavel Ciaian & Miroslava Rajcaniova & d’Artis Kancs, 2016. "The economics of BitCoin price formation," Applied Economics, Taylor & Francis Journals, vol. 48(19), pages 1799-1815, April.
    2. Dhiman, Harsh S. & Deb, Dipankar & Guerrero, Josep M., 2019. "Hybrid machine intelligent SVR variants for wind forecasting and ramp events," Renewable and Sustainable Energy Reviews, Elsevier, vol. 108(C), pages 369-379.
    3. Xing, Zongyi & Zhu, Junlin & Zhang, Zhenyu & Qin, Yong & Jia, Limin, 2022. "Energy consumption optimization of tramway operation based on improved PSO algorithm," Energy, Elsevier, vol. 258(C).
    4. Kursa, Miron B. & Rudnicki, Witold R., 2010. "Feature Selection with the Boruta Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i11).
    5. Young Bin Kim & Jun Gi Kim & Wook Kim & Jae Ho Im & Tae Hyeong Kim & Shin Jin Kang & Chang Hun Kim, 2016. "Predicting Fluctuations in Cryptocurrency Transactions Based on User Comments and Replies," PLOS ONE, Public Library of Science, vol. 11(8), pages 1-17, August.
    6. Zi Ye & Yinxu Wu & Hui Chen & Yi Pan & Qingshan Jiang, 2022. "A Stacking Ensemble Deep Learning Model for Bitcoin Price Prediction Using Twitter Comments on Bitcoin," Mathematics, MDPI, vol. 10(8), pages 1-21, April.
    7. Ahmed M. Khedr & Ifra Arif & Pravija Raj P V & Magdi El‐Bannany & Saadat M. Alhashmi & Meenu Sreedharan, 2021. "Cryptocurrency price prediction using traditional statistical and machine‐learning techniques: A survey," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 28(1), pages 3-34, January.
    8. Chen, Wei & Xu, Huilin & Jia, Lifen & Gao, Ying, 2021. "Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants," International Journal of Forecasting, Elsevier, vol. 37(1), pages 28-43.
    Full references (including those not matched with items on IDEAS)

    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. Parthajit Kayal & Purnima Rohilla, 2021. "Bitcoin in the economics and finance literature: a survey," SN Business & Economics, Springer, vol. 1(7), pages 1-21, July.
    2. Aniruddha Dutta & Saket Kumar & Meheli Basu, 2020. "A Gated Recurrent Unit Approach to Bitcoin Price Prediction," JRFM, MDPI, vol. 13(2), pages 1-16, February.
    3. Gaies, Brahim & Nakhli, Mohamed Sahbi & Sahut, Jean-Michel & Schweizer, Denis, 2023. "Interactions between investors’ fear and greed sentiment and Bitcoin prices," The North American Journal of Economics and Finance, Elsevier, vol. 67(C).
    4. Pedro Bação & António Portugal Duarte & Helder Sebastião & Srdjan Redzepagic, 2018. "Information Transmission Between Cryptocurrencies: Does Bitcoin Rule the Cryptocurrency World?," Scientific Annals of Economics and Business (continues Analele Stiintifice), Alexandru Ioan Cuza University, Faculty of Economics and Business Administration, vol. 65(2), pages 97-117, June.
    5. Flori, Andrea, 2019. "News and subjective beliefs: A Bayesian approach to Bitcoin investments," Research in International Business and Finance, Elsevier, vol. 50(C), pages 336-356.
    6. Rasoul Amirzadeh & Asef Nazari & Dhananjay Thiruvady & Mong Shan Ee, 2023. "Causal Feature Engineering of Price Directions of Cryptocurrencies using Dynamic Bayesian Networks," Papers 2306.08157, arXiv.org, revised Apr 2024.
    7. Helder Sebastião & Pedro Godinho, 2021. "Forecasting and trading cryptocurrencies with machine learning under changing market conditions," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-30, December.
    8. Helder Miguel Correia Virtuoso Sebastião & Paulo José Osório Rupino Da Cunha & Pedro Manuel Cortesão Godinho, 2021. "Cryptocurrencies and blockchain. Overview and future perspectives," International Journal of Economics and Business Research, Inderscience Enterprises Ltd, vol. 21(3), pages 305-342.
    9. Mingzhe Wei & Georgios Sermpinis & Charalampos Stasinakis, 2023. "Forecasting and trading Bitcoin with machine learning techniques and a hybrid volatility/sentiment leverage," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(4), pages 852-871, July.
    10. Caferra, Rocco, 2022. "Sentiment spillover and price dynamics: Information flow in the cryptocurrency and stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 593(C).
    11. Ren, Yi-Shuai & Ma, Chao-Qun & Kong, Xiao-Lin & Baltas, Konstantinos & Zureigat, Qasim, 2022. "Past, present, and future of the application of machine learning in cryptocurrency research," Research in International Business and Finance, Elsevier, vol. 63(C).
    12. Zura Kakushadze & Willie Yu, 2019. "Altcoin-Bitcoin Arbitrage," Bulletin of Applied Economics, Risk Market Journals, vol. 6(1), pages 87-110.
    13. John E. Marthinsen & Steven R. Gordon, 2022. "The Price and Cost of Bitcoin," Papers 2204.13102, arXiv.org.
    14. Li, Mu-Yao & Cai, Qing & Gu, Gao-Feng & Zhou, Wei-Xing, 2019. "Exponentially decayed double power-law distribution of Bitcoin trade sizes," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 535(C).
    15. Bhaskar Tripathi & Rakesh Kumar Sharma, 2023. "Modeling Bitcoin Prices using Signal Processing Methods, Bayesian Optimization, and Deep Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 62(4), pages 1919-1945, December.
    16. Ahmed M. Khedr & Ifra Arif & Pravija Raj P V & Magdi El‐Bannany & Saadat M. Alhashmi & Meenu Sreedharan, 2021. "Cryptocurrency price prediction using traditional statistical and machine‐learning techniques: A survey," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 28(1), pages 3-34, January.
    17. Farman Ullah Khan & Faridoon Khan & Parvez Ahmed Shaikh, 2023. "Forecasting returns volatility of cryptocurrency by applying various deep learning algorithms," Future Business Journal, Springer, vol. 9(1), pages 1-11, December.
    18. Ahmed, Walid M.A., 2022. "Robust drivers of Bitcoin price movements: An extreme bounds analysis," The North American Journal of Economics and Finance, Elsevier, vol. 62(C).
    19. Andrea Flori, 2019. "Cryptocurrencies In Finance: Review And Applications," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 22(05), pages 1-22, August.
    20. Zura Kakushadze & Willie Yu, 2019. "Altcoin-Bitcoin Arbitrage," Papers 1903.06033, arXiv.org, revised Apr 2019.

    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:jmathe:v:11:y:2023:i:6:p:1335-:d:1092703. 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.