IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v14y2022i21p14659-d965944.html
   My bibliography  Save this article

Gold and Bitcoin Optimal Portfolio Research and Analysis Based on Machine-Learning Methods

Author

Listed:
  • Jingjing Li

    (College of Electronic and Information, Southwest Minzu University, Chengdu 610041, China)

  • Xinge Rao

    (College of Electronic and Information, Southwest Minzu University, Chengdu 610041, China)

  • Xianyi Li

    (International Business School Suzhou at XJTLU, Xi’an Jiaotong-Liverpool University, Suzhou 215123, China)

  • Sihai Guan

    (College of Electronic and Information, Southwest Minzu University, Chengdu 610041, China)

Abstract

In recent years, the bitcoin market has developed rapidly and has been recognized as a new type of gold by many investors. It may replace gold as a hedge against inflation and become a new investment asset for financial management. The investment relationship with gold has increasingly important research value and practical significance. This paper modeled daily price flow data from 11 September 2016 to 10 September 2021 to help market traders determine whether they need to buy, hold, or sell assets in their portfolios daily. The model predicts price fluctuations through linear regression prediction of machine learning, K-Nearest Neighbor (KNN) algorithm. In the linear regression prediction, the goodness of fit of gold is 89.44%, and the goodness of fit of Bitcoin is 98.43%. In the test set prediction of KNN algorithm, the goodness of fit of gold is 97.25%, and the goodness of fit of Bitcoin is 95.06%. Based on this, the optimal investment strategy and the initial investment value are obtained. Empirical analysis shows that bitcoin price volatility and gold price volatility have a strong substitution effect; gold and currency used will be a suitable combination of hedging, which will bring momentum for the development of the market economy and become an important force in the sustainable development of a high-quality-driven economy.

Suggested Citation

  • Jingjing Li & Xinge Rao & Xianyi Li & Sihai Guan, 2022. "Gold and Bitcoin Optimal Portfolio Research and Analysis Based on Machine-Learning Methods," Sustainability, MDPI, vol. 14(21), pages 1-12, November.
  • Handle: RePEc:gam:jsusta:v:14:y:2022:i:21:p:14659-:d:965944
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/14/21/14659/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/14/21/14659/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Atsalakis, George S. & Atsalaki, Ioanna G. & Pasiouras, Fotios & Zopounidis, Constantin, 2019. "Bitcoin price forecasting with neuro-fuzzy techniques," European Journal of Operational Research, Elsevier, vol. 276(2), pages 770-780.
    2. Ziaul Haque Munim & Mohammad Hassan Shakil & Ilan Alon, 2019. "Next-Day Bitcoin Price Forecast," JRFM, MDPI, vol. 12(2), pages 1-15, June.
    3. Klein, Tony & Pham Thu, Hien & Walther, Thomas, 2018. "Bitcoin is not the New Gold – A comparison of volatility, correlation, and portfolio performance," International Review of Financial Analysis, Elsevier, vol. 59(C), pages 105-116.
    4. Prosper Lamothe-Fernández & David Alaminos & Prosper Lamothe-López & Manuel A. Fernández-Gámez, 2020. "Deep Learning Methods for Modeling Bitcoin Price," Mathematics, MDPI, vol. 8(8), pages 1-13, July.
    5. Jiang Yu & Yue Shang & Xiafei Li & Dehua Shen, 2021. "Dependence and Risk Spillover among Hedging Assets: Evidence from Bitcoin, Gold, and USD," Discrete Dynamics in Nature and Society, Hindawi, vol. 2021, pages 1-20, September.
    6. Adam S. Hayes, 2019. "Bitcoin price and its marginal cost of production: support for a fundamental value," Applied Economics Letters, Taylor & Francis Journals, vol. 26(7), pages 554-560, April.
    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. 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.
    2. Haffar, Adlane & Le Fur, Éric, 2022. "Time-varying dependence of Bitcoin," The Quarterly Review of Economics and Finance, Elsevier, vol. 86(C), pages 211-220.
    3. Feng Ma & Chao Liang & Yuanhui Ma & M.I.M. Wahab, 2020. "Cryptocurrency volatility forecasting: A Markov regime‐switching MIDAS approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(8), pages 1277-1290, December.
    4. Ahmed, Walid M.A., 2021. "How do Islamic equity markets respond to good and bad volatility of cryptocurrencies? The case of Bitcoin," Pacific-Basin Finance Journal, Elsevier, vol. 70(C).
    5. Julien Chevallier & Dominique Guégan & Stéphane Goutte, 2021. "Is It Possible to Forecast the Price of Bitcoin?," Forecasting, MDPI, vol. 3(2), pages 1-44, May.
    6. Constandina Koki & Stefanos Leonardos & Georgios Piliouras, 2020. "Do Cryptocurrency Prices Camouflage Latent Economic Effects? A Bayesian Hidden Markov Approach," Future Internet, MDPI, vol. 12(3), pages 1-19, March.
    7. Haffar, Adlane & Le Fur, Eric, 2021. "Structural vector error correction modelling of Bitcoin price," The Quarterly Review of Economics and Finance, Elsevier, vol. 80(C), pages 170-178.
    8. Yang, Boyu & Sun, Yuying & Wang, Shouyang, 2020. "A novel two-stage approach for cryptocurrency analysis," International Review of Financial Analysis, Elsevier, vol. 72(C).
    9. Pawan Kumar Singh & Alok Kumar Pandey & S. C. Bose, 2023. "A new grey system approach to forecast closing price of Bitcoin, Bionic, Cardano, Dogecoin, Ethereum, XRP Cryptocurrencies," Quality & Quantity: International Journal of Methodology, Springer, vol. 57(3), pages 2429-2446, June.
    10. Nagula, Pavan Kumar & Alexakis, Christos, 2022. "A new hybrid machine learning model for predicting the bitcoin (BTC-USD) price," Journal of Behavioral and Experimental Finance, Elsevier, vol. 36(C).
    11. Rama K. Malladi & Prakash L. Dheeriya, 2021. "Time series analysis of Cryptocurrency returns and volatilities," Journal of Economics and Finance, Springer;Academy of Economics and Finance, vol. 45(1), pages 75-94, January.
    12. Park, Sangjin & Jang, Kwahngsoo & Yang, Jae-Suk, 2021. "Information flow between bitcoin and other financial assets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 566(C).
    13. 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).
    14. Mohamed Khalil Benzekri & Hatice Şehime Özütler, 2021. "On the Predictability of Bitcoin Price Movements: A Short-term Price Prediction with ARIMA," Journal of Economic Policy Researches, Istanbul University, Faculty of Economics, vol. 8(2), pages 293-309, July.
    15. Gil Cohen, 2021. "Optimizing candlesticks patterns for Bitcoin's trading systems," Review of Quantitative Finance and Accounting, Springer, vol. 57(3), pages 1155-1167, October.
    16. Jiri Kukacka & Ladislav Kristoufek, 2023. "Fundamental and speculative components of the cryptocurrency pricing dynamics," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-23, December.
    17. Goodell, John W. & Goutte, Stephane, 2021. "Co-movement of COVID-19 and Bitcoin: Evidence from wavelet coherence analysis," Finance Research Letters, Elsevier, vol. 38(C).
    18. 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.
    19. Bouri, Elie & Gabauer, David & Gupta, Rangan & Tiwari, Aviral Kumar, 2021. "Volatility connectedness of major cryptocurrencies: The role of investor happiness," Journal of Behavioral and Experimental Finance, Elsevier, vol. 30(C).
    20. Jiang, Yonghong & Wu, Lanxin & Tian, Gengyu & Nie, He, 2021. "Do cryptocurrencies hedge against EPU and the equity market volatility during COVID-19? – New evidence from quantile coherency analysis," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 72(C).

    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:jsusta:v:14:y:2022:i:21:p:14659-:d:965944. 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.