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. 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).
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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).
    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)

    Citations

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


    Cited by:

    1. Oluwadamilare Omole & David Enke, 2024. "Deep learning for Bitcoin price direction prediction: models and trading strategies empirically compared," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-26, December.

    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. Carbó, José Manuel & Gorjón, Sergio, 2024. "Determinants of the price of bitcoin: An analysis with machine learning and interpretability techniques," International Review of Economics & Finance, Elsevier, vol. 92(C), pages 123-140.
    2. 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.
    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. 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.
    7. 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.
    8. 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).
    9. Zura Kakushadze & Willie Yu, 2019. "Altcoin-Bitcoin Arbitrage," Bulletin of Applied Economics, Risk Market Journals, vol. 6(1), pages 87-110.
    10. 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.
    11. 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.
    12. Zura Kakushadze & Willie Yu, 2019. "Altcoin-Bitcoin Arbitrage," Papers 1903.06033, arXiv.org, revised Apr 2019.
    13. Kraaijeveld, Olivier & De Smedt, Johannes, 2020. "The predictive power of public Twitter sentiment for forecasting cryptocurrency prices," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 65(C).
    14. Bouteska, Ahmed & Abedin, Mohammad Zoynul & Hajek, Petr & Yuan, Kunpeng, 2024. "Cryptocurrency price forecasting – A comparative analysis of ensemble learning and deep learning methods," International Review of Financial Analysis, Elsevier, vol. 92(C).
    15. Marthinsen, John E. & Gordon, Steven R., 2022. "The price and cost of bitcoin," The Quarterly Review of Economics and Finance, Elsevier, vol. 85(C), pages 280-288.
    16. Juan D. Borrero & Jesús Mariscal & Alfonso Vargas-Sánchez, 2022. "A New Predictive Algorithm for Time Series Forecasting Based on Machine Learning Techniques: Evidence for Decision Making in Agriculture and Tourism Sectors," Stats, MDPI, vol. 5(4), pages 1-14, November.
    17. Irena Barjav{s}i'c & Nino Antulov-Fantulin, 2020. "Time-varying volatility in Bitcoin market and information flow at minute-level frequency," Papers 2004.00550, arXiv.org, revised Jan 2021.
    18. 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.
    19. Rasoul Amirzadeh & Dhananjay Thiruvady & Asef Nazari & Mong Shan Ee, 2023. "Dynamic Bayesian Networks for Predicting Cryptocurrency Price Directions: Uncovering Causal Relationships," Papers 2306.08157, arXiv.org, revised Oct 2024.
    20. 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.

    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.