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

Empirical Calibration of XGBoost Model Hyperparameters Using the Bayesian Optimisation Method: The Case of Bitcoin Volatility

Author

Listed:
  • Saralees Nadarajah

    (Department of Mathematics, University of Manchester, Manchester M13 9PL, UK)

  • Jules Clement Mba

    (School of Economics, College of Business and Economics, University of Johannesburg, Johannesburg 2092, South Africa)

  • Ndaohialy Manda Vy Ravonimanantsoa

    (Ecole Supérieur Polytechnique, Université d’Antananarivo, Antananarivo 101, Madagascar)

  • Patrick Rakotomarolahy

    (Laboratory of Mathematics and Their Applications, University of Fianarantsoa, Fianarantsoa 301, Madagascar)

  • Henri T. J. E. Ratolojanahary

    (Laboratory of Mathematics and Their Applications, University of Fianarantsoa, Fianarantsoa 301, Madagascar)

Abstract

Ensemble learning techniques continue to show greater interest in forecasting the volatility of cryptocurrency assets. In particular, XGBoost, an ensemble learning technique, has been shown in recent studies to provide the most accurate forecast of Bitcoin volatility. However, the performance of XGBoost largely depends on the tuning of its hyperparameters. In this study, we examine the effectiveness of the Bayesian optimization method for tuning the XGBoost hyperparameters for Bitcoin volatility forecasting. We chose to explore this method rather than the most commonly used manual, grid, and random hyperparameter choices due to its ability to predict the most promising areas of hyperparameter spaces through exploitation and exploration using acquisition functions, as well as its ability to minimize error with a reduced amount of time and resources required to find an optimal configuration. The obtained XGBoost configuration improves the forecast accuracy of Bitcoin volatility. Our empirical results, based on letting the data speak for itself, could be used for a comparative study on Bitcoin volatility forecasting. This would also be important for volatility trading, option pricing, and managing portfolios related to Bitcoin.

Suggested Citation

  • Saralees Nadarajah & Jules Clement Mba & Ndaohialy Manda Vy Ravonimanantsoa & Patrick Rakotomarolahy & Henri T. J. E. Ratolojanahary, 2025. "Empirical Calibration of XGBoost Model Hyperparameters Using the Bayesian Optimisation Method: The Case of Bitcoin Volatility," JRFM, MDPI, vol. 18(9), pages 1-18, September.
  • Handle: RePEc:gam:jjrfmx:v:18:y:2025:i:9:p:487-:d:1739988
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/18/9/487/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/18/9/487/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Aktham Maghyereh & Hussein Abdoh, 2022. "COVID-19 and the volatility interlinkage between bitcoin and financial assets," Empirical Economics, Springer, vol. 63(6), pages 2875-2901, December.
    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. Huang, Jionghao & Chen, Baifan & Xu, Yushi & Xia, Xiaohua, 2023. "Time-frequency volatility transmission among energy commodities and financial markets during the COVID-19 pandemic: A Novel TVP-VAR frequency connectedness approach," Finance Research Letters, Elsevier, vol. 53(C).
    2. Li Wei & Ming-Chih Lee & Wan-Hsiu Cheng & Chia-Hsien Tang & Jing-Wun You, 2023. "Evaluating the Efficiency of Financial Assets as Hedges against Bitcoin Risk during the COVID-19 Pandemic," Mathematics, MDPI, vol. 11(13), pages 1-19, June.
    3. Gök, Remzi & Bouri, Elie & Gemici, Eray, 2023. "Volatility spillovers between sovereign CDS and futures markets in various volatility states: Evidence from an emerging economy around the pandemic," Research in International Business and Finance, Elsevier, vol. 66(C).
    4. Mensi, Walid & Gök, Remzi & Gemici, Eray & Kang, Sang Hoon, 2025. "Tail risk contagion and connectedness between crude oil, natural gas, heating oil, precious metals, and international stock markets," International Economics, Elsevier, vol. 181(C).
    5. Szafranek, Karol & Rubaszek, Michał & Uddin, Gazi Salah, 2024. "The role of uncertainty and sentiment for intraday volatility connectedness between oil and financial markets," Energy Economics, Elsevier, vol. 137(C).
    6. Dora Almeida & Andreia Dionísio & Paulo Ferreira & Isabel Vieira, 2023. "Impact of the COVID-19 Pandemic on Cryptocurrency Markets: A DCCA Analysis," FinTech, MDPI, vol. 2(2), pages 1-17, May.
    7. Elie Bouri & Afees A. Salisu & Rangan Gupta, 2022. "Bitcoin Prices and the Realized Volatility of US Sectoral Stock Returns," Working Papers 202224, University of Pretoria, Department of Economics.
    8. Walid Mensi & Mariya Gubareva & Hee-Un Ko & Xuan Vinh Vo & Sang Hoon Kang, 2023. "Tail spillover effects between cryptocurrencies and uncertainty in the gold, oil, and stock markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-27, December.
    9. Mutaju Isaack Marobhe & Jonathan Mukiza Peter Kansheba, 2023. "High frequency volatility spillover between oil and non-energy commodities during crisis and tranquil periods," SN Business & Economics, Springer, vol. 3(4), pages 1-27, April.
    10. Cheng, Jiyang & Tiwari, Sunil & Khaled, Djebbouri & Mahendru, Mandeep & Shahzad, Umer, 2024. "Forecasting Bitcoin prices using artificial intelligence: Combination of ML, SARIMA, and Facebook Prophet models," Technological Forecasting and Social Change, Elsevier, vol. 198(C).
    11. Qiao, Xingzhi & Zhu, Huiming & Zhang, Zhongqingyang & Mao, Weifang, 2022. "Time-frequency transmission mechanism of EPU, investor sentiment and financial assets: A multiscale TVP-VAR connectedness analysis," The North American Journal of Economics and Finance, Elsevier, vol. 63(C).
    12. Elie Bouri & Afees A. Salisu & Rangan Gupta, 2023. "The predictive power of Bitcoin prices for the realized volatility of US stock sector returns," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-22, December.
    13. Di, Michael & Xu, Ke, 2022. "COVID-19 vaccine and post-pandemic recovery: Evidence from Bitcoin cross-asset implied volatility spillover," Finance Research Letters, Elsevier, vol. 50(C).
    14. Aktham Maghyereh & Mohammad Al-Shboul, 2024. "Have the extraordinary circumstances of the COVID-19 outbreak and the Russian–Ukrainian conflict impacted the efficiency of cryptocurrencies?," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-28, December.
    15. Rubaiyat Ahsan Bhuiyan & Afzol Husain & Changyong Zhang, 2023. "Diversification evidence of bitcoin and gold from wavelet analysis," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-36, December.
    16. Jinxin Cui & Aktham Maghyereh, 2022. "Time–frequency co-movement and risk connectedness among cryptocurrencies: new evidence from the higher-order moments before and during the COVID-19 pandemic," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-56, December.
    17. Yu, Xiaoling & Cifuentes-Faura, Javier, 2024. "Information spillover among cryptocurrency and traditional financial assets: Evidence from complex networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 646(C).
    18. Han, SeungOh, 2025. "Dynamic risk and hedging strategies in post-COVID digital asset sectors," Research in International Business and Finance, Elsevier, vol. 75(C).
    19. Zhou, Fan, 2024. "Cryptocurrency: A new player or a new crisis in financial markets? —— Evolutionary analysis of association and risk spillover based on network science," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 648(C).
    20. Yen, Kuang-Chieh & Nie, Wei-Ying & Chang, Hsuan-Ling & Chang, Li-Han, 2023. "Cryptocurrency return dependency and economic policy uncertainty," Finance Research Letters, Elsevier, vol. 56(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:18:y:2025:i:9:p:487-:d:1739988. 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.