Forecasting Bitcoin Price Direction With Random Forests: How Important Are Interest Rates, Inflation, and Market Volatility?
Authors:
Preprint
- 15 June 2022
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Bitcoin has grown in popularity and has now attracted the attention of individual and institutional investors. Accurate Bitcoin price direction forecasts are important for determining the trend in Bitcoin prices and asset allocation. This paper addresses several unanswered questions. How important are business cycle variables like interest rates, inflation, and market volatility for forecasting Bitcoin prices? Does the importance of these variables change across time? Are the most important macroeconomic variables for forecasting Bitcoin prices the same as those for gold prices? To answer these questions, we utilize tree-based machine learning classifiers, along with traditional logit econometric models. The analysis reveals several important findings. First, random forests predict Bitcoin and gold price directions with a higher degree of accuracy than logit models. Prediction accuracy for bagging and random forests is between 75% and 80% for a five-day prediction. For 10-day to 20-day forecasts bagging and random forests record accuracies greater than 85%. Second, technical indicators are the most important features for predicting Bitcoin and gold price direction, suggesting some degree of market inefficiency. Third, oil price volatility is important for predicting Bitcoin and gold prices indicating that Bitcoin is a substitute for gold in diversifying this type of volatility. By comparison, gold prices are more influenced by inflation than Bitcoin prices, indicating that gold can be used as a hedge or diversification asset against inflation.Keywords
This publication has 69 references indexed in Scilit:
- Is gold a safe haven or a hedge for the US dollar? Implications for risk managementJournal of Banking & Finance, 2013
- Forecasting the direction of the US stock market with dynamic binary probit modelsInternational Journal of Forecasting, 2011
- Is gold a safe haven? International evidenceJournal of Banking & Finance, 2010
- Is Gold a Hedge or a Safe Haven? An Analysis of Stocks, Bonds and GoldFinancial Review, 2010
- Gold prices, cost of carry, and expected inflationJournal of Economics and Business, 2010
- Forecasting gold price changes: Rolling and recursive neural network modelsJournal of Multinational Financial Management, 2008
- Do Precious Metals Shine? An Investment PerspectiveCFA Magazine, 2006
- Market timing and return prediction under model instabilityJournal of Empirical Finance, 2002
- Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical ImplementationThe Journal of Finance, 2000
- Causal Relations Among Stock Returns, Interest Rates, Real Activity, and InflationThe Journal of Finance, 1992