key: cord-0303929-obmbnirt authors: Kurosaki, Tetsuo; Kim, Young Shin title: Cryptocurrency portfolio optimization with multivariate normal tempered stable processes and Foster-Hart risk date: 2020-10-18 journal: nan DOI: 10.1016/j.frl.2021.102143 sha: 88551cdb2c441ac264749362eda742652f735a98 doc_id: 303929 cord_uid: obmbnirt We study portfolio optimization of four major cryptocurrencies. Our time series model is a generalized autoregressive conditional heteroscedasticity (GARCH) model with multivariate normal tempered stable (MNTS) distributed residuals used to capture the non-Gaussian cryptocurrency return dynamics. Based on the time series model, we optimize the portfolio in terms of Foster-Hart risk. Those sophisticated techniques are not yet documented in the context of cryptocurrency. Statistical tests suggest that the MNTS distributed GARCH model fits better with cryptocurrency returns than the competing GARCH-type models. We find that Foster-Hart optimization yields a more profitable portfolio with better risk-return balance than the prevailing approach. Cryptocurrency is an entirely new finanical asset, which increases market capitalization rapidly and attracts growing attention from market participants. The advantages of cryptocurrencies over traditional currencies are abundant, and include reliability and anonymity in transactions with lower costs that are facilitated by novel blockchain technology. Despite the appeal of these advantages, cryptocurrencies present potential vulnerabilities in that they do not enjoy the aegis of central banks or any other monetary authorities. This leads to price volatility in the face of real economic events, such as the recent Covid-19 pandemic, ultimately strengthening global calls for regulations on cryptocurrency trading. 1 These peculiar price movements motivate scholars to study the impact of cryptocurrencies on financial markets. From an econometric point of view, it is of interest to explore which kind of time series model accounts for highly volatile returns on and accurately forecasts risks associated with cryptocurrencies. Among expanding literature, the studies by Caporale and Zekokh (2019) , Cerqueti et al. (2020), and Troster et al. (2019) are based on a generalized autoregressive conditional heteroscedasticity (GARCH) model. They share the common conclusion that the normally distributed GARCH model is inadequate for describing cryptocurrency returns and the introduction of non-Gaussian distribution substantially improves the goodness-of-fit of a GARCH-type model. Another approach includes the stochastic volatility model (Chaim and Laurini, 2018) , and the generalized autoregressive score model (Troster et al., 2019) . Also, the high volatility of cryptocurrency highlights its speculative nature. Brauneis and Mestel (2019) investigate the risk-return relationship of an optimized cryptocurrency portfolio based on the Markowitz mean-variance framework. This paper studies the portfolio optimization of cryptocurrencies by employing a union of sophisticated time series models and risk measures. Four major cryptocurrencies are selected as samples. Our time series model is the multivariate normal tempered stable (MNTS) distributed GARCH model. The MNTS distribution (Kim et al., 2012) has demonstrated excellent fit to joint dynamics of physical asset returns in a number of empirical studies (Anand et al., 2016; Anand et al., 2017; Bianchi and Tassinari, 2020; Kim et al., 2015; Kurosaki and Kim, 2013a; Kurosaki and Kim, 2013b; Kurosaki and Kim, 2019; and Shao et al., 2015) . Our portfolio optimization strategy is based on Foster-Hart risk, which is very sensitive to risky left tail events. Foster-Hart (FH, hereafter) risk was originally introduced in the field of game theory (Foster and Hart, 2009) , and was subsequently applied to risk management related to financial markets (Anand et al., 2016; Kurosaki and Kim, 2019; Leiss and Nax, 2018) . These cutting-edge techniques are not yet documented in the context of cryptocurrency. Statistical tests demonstrate that the MNTS distributed GARCH model has better explanatory power for cryptocurrency returns than the normally distributed GARCH model. Also, we find that the model creates more profitable portfolios in tandem with FH risk than the traditional mean-variance approach. The rest of this paper is organized as follows. Section 2 briefly introduces our methodology. Section 3 describes the data of cryptocurrency used herein. Section 4 outlines the empirical results of statistical tests for each cryptocurrency return. Section 5 conducts portfolio optimization and discusses performance. Section 6 summarizes our findings. We introduce the non-Gaussian time series model with the MNTS distribution as well as FH risk, which work together to achieve efficient portfolio optimization (Anand et al., 2016) . See also A for supplementary explanations. We utilize a GARCH-type model to describe the dynamics of cryptocurrency returns. Given that both autoregressive (AR) and moving average (MA) processes are typically observed in financial data, we apply the most standard ARMA(1,1)-GARCH(1,1) specification. After GARCH filtering, we obtain independent and identically distributed (i.i.d.) standard residuals η t with a mean of zero and unit variance for each cryptocurrency. In order to describe complicated interdependency among cryptocurrencies, we conduct multivariate modeling on each cryptocurrency's η t jointly. We employ an i.i.d. standard MNTS as an assumptive distribution that η t follows. We also hypothesize that η t follows an i.i.d. standard normal and student t as competing models. Hereafter, we denote the ARMA(1,1)-GARCH(1,1) model with multivariate normal, student t, and NTS distributed standard residuals as AGNormal, AGT, and AGNTS, respectively. We prefer the MNTS to other miscellaneous non-Gaussian distributions because of its flexibility with respect to a multivariate extension. Both the estimation of the MNTS from real data and the scenario generation based on the estimated MNTS are feasible without computational difficulty even in considerably high dimensional settings. These features are critical in their application to portfolio optimization. Also, the reproductive property of the stable distribution has an affinity for portfolio modeling. We introduce FH risk. Let a gamble be any bounded random variable g with a positive expected value and a positive probability of losses: E(g) > 0, P(g < 0) > 0. FH risk is the minimum reserve that an agent should initially possess to prevent himself from almost certainly going bankrupt, even after the infinite repetition of the gamble g. Foster and Hart (2009) demonstrate that, for a gamble g, irrespective of the utility function, FH risk R(g) is the unique positive root of the following equation: The bankruptcy-proof property endows FH risk with extremely high sensitivity to negative events. By regarding investments in financial assets as a gamble, FH risk is expected to sense market downturn in a forward-looking manner. We also utilize more popular risk measures, Value at Risk (VaR) and Average VaR (AVaR), in order to supplement FH risk. 2 Accuracy of risk forecasting is an important aspect of time series models. Statistically backtesting VaR and AVaR is feasible due to their relative simplicity, whereas no backtesting methodology has been established for FH risk. We backtest VaR by the Christoffersen's likelihood ratio (CLR) test as well as AVaR by the Berkowitz's likelihood ratio (BLR) tail test and Acerbi and Szekely (AS) test. See Christoffersen (1998) , Berkowitz (2001) , and Acerbi and Szekely (2014), respectively. Our dataset contains daily logarithmic returns of cryptocurrency exchange spot rates in U.S. Dollars per unit from 2015/08/31 to 2020/03/31, resulting in 1,674 observations for each cryptocurrency. Following Caporale and Zekokh (2019), we select the following four cryptocurrencies as samples: Bitcoin (BTC), Ethereum (ETH), Litecoin (LTC), and XRP. The data source is CoinMarketCap. 3 Table 1 reports the descriptive statistics of our dataset. All cryptocurrencies have larger kurtosis than those of the normal distribution, and show either negative or positive skewness. These observations motivate us to apply the non-Gaussian model. We estimate all models based on maximum likelihood estimation. In order to obtain the AGNTS model, we estimate the univariate AGT model for each cryptocurrency first and subsequently fit the standard MNTS distribution to the same residuals η t . We refer the readers to Kurosaki and Kim (2019) for details regarding these techniques. Our analysis procedure is as follows. First, we arrange a moving window with a length of 500 days. The first window, ranging from 2015/08/31 to 2017/01/12, moves ahead day by day until 2020/03/31, which amounts to 1,175 distinct windows. Subsequently, we iteratively estimate time series models from returns data within each window, and forecast a one-day-ahead return distribution. Finally, we assess the statistical performance of the resulting 1,175 models, as well as the profitability of the optimized portfolio based on a forecasted return distribution. We assess the capability of our multivariate GARCH-type models to account for marginal return dynamics of each cryptocurrency. Specifically, we examine the statistical performance of the 1,175 iteratively-estimated models based both on in-sample and out-of-sample tests. As an in-sample test, we investigate the fitting performance of standard residuals η t of the univariate ARMA(1,1)-GARCH(1,1) model for the assumptive distributions (normal, student t, and NTS). To do so, we exploit both the Kolmogorov-Smirnov (KS) and the Anderson-Darling (AD) tests. While both tests are designed to assess the goodness-of-fit of the proposed distributions, the AD test puts more emphasis on fitting at the tail. Under the reasonable postulation that our sample is sufficient in number, we can compute p-values for both tests. Tables 2 and 3 report the number of rejections of KS and AD tests out of 1,175 iterated estimations for AGNormal, AGT, and AGNTS residuals, respectively, by significance level. We see that AGNormal is almost always rejected by both tests and thus significantly underperforms AGT and AGNTS. In the KS test, AGNTS has a smaller number of rejections than AGT in three out of four cryptocurrencies at the 10% level. More clearly, in the AD test, AGNTS has a smaller number of rejections than AGT in four (three) out of four cryptocurrencies at the 5% (10%) level due to the excellent ability of AGNTS to track tail behavior. Overall, AGNTS is the most preferable model. As an out-of-sample test, we backtest risk measures, namely, VaR and AVaR. Each of the iteratively-estimated models forecasts one-day-ahead VaR and AVaR, constituting a time series of VaR and AVaR forecasts with a length of 1,175 days from 2017/01/12 to 2020/03/31. 4 In line with the Basel accord, we adopt the 99% confidence level for VaR and AVaR. Backtesting is achieved by comparing VaR and AVaR with actual returns every day. Out-of-sample testing is more important than in-sample testing since our research interest lies in portfolio risk forecasting and optimization. In order to clarify our results, we divide the sample period into three subperiods and conduct out-of-sample tests by subperiod. Specifically, let Periods 1, 2, and 3 cover from 2017/01/12 to 2018/03/31, from 2018/04/01 to 2019/03/31, and from 2019/04/01 to 2020/03/31, respectively. Notice that each subperiod includes some form of turmoil. The cryptocurrency boom and crash around the end of 2017 for Period 1, the crash following the release of "hardfork" of Bitcoin cash at the end of 2018 for Period 2, and the Covid-19 crisis in the beginning of 2020 for Period 3. Table 4 summarizes the p-values of out-of-sample tests. The CLR test with conditional coverage is for VaR forecasts, and the BLR tail and the AS tests are for AVaR forecasts. 5 First of all, AGNormal has lower p-values than AGT and AGNTS, especially in the BLR and AS tests. AGNTS passes the CLR tests during any period and with any cryptocurrency, including at the 10% level, whereas AGT fails in Periods 1 and 2 at the same level. Also, AGNTS always passes the BLR tests except for in Period 2 and in BTC. By contrast, AGT fails in Periods 1 and 2 at the 5% level. Finally, AGNTS fails the AS tests for at most one cryptocurrency in each subperiod at the 10% level. However, AGT fails for two cryptocurrencies in Periods 1 and 3 at the same level. Therefore, we conclude that AGNTS shows the best performance in out-of-sample tests more clearly than in in-sample tests. We practice portfolio optimization with cryptocurrencies consisting of BTC, ETH, LTC, and XPR, in line with Kurosaki and Kim (2019) . The portfolio risk and reward is forecasted through multivariate time series models. The optimization is carried out by minimizing the objective risk measure under the tradeoff with expected returns and transaction costs following the procedure detailed in B. Since, as is shown in Section 4, AGNTS provides a more accurate expression than AGNormal and AGT for leptokurtic and skewed behaviors of cryptocurrency returns, it is also expected to show better performance in portfolio optimization. We exploit FH risk as the objective risk measure to be minimized, as well as standard deviation (SD) and AVaR. Table 5 exhibits optimization results under the absence of transaction costs (λ = 0), through a combination of time series models and objective risk measures. When the portfolio is optimized with respect to SD, AVaR, and FH under the tradeoff against expected returns, we refer to the corresponding portfolio as mean-SD, mean-AVaR, and mean-FH portfolio, respectively. Column 2 reports the cumulative returns that each optimized port-folio accrues during the period from 2017/01/12 to 2020/03/31. 6 We see that the mean-FH portfolio with AGNTS forecasts yields the largest profit, followed by the mean-AVaR portfolio with AGNTS forecasts. Columns 3 through 5 show the SD, AVaR, and FH risk of the optimized portfolio itself, which are computed from their historical returns. Columns 6 through 8 indicate the cumulative returns adjusted by each risk measure. Note that the return-to-SD ratio in Column 6 is the well-known Sharpe ratio. We find that the mean-FH portfolio with AGNTS forecasts shows the highest return-to-risk ratios of any risk measures. Therefore, we conclude that this combination not only achieves the largest cumulative returns but also generates the most ideal balance between risk and reward. As a robustness check, we conduct the optimization in the presence of transaction costs, where the corresponding cost (λ · |w t − w t−1 |) is deducted from daily returns. Figure 1 shows how the cumulative returns of the optimized portfolio evolve temporarily over the investment period based on different investor cost aversion (C = 0.01, 0.1, 1), as well as in cases without transaction costs (λ = 0). We focus on the forecasts of future returns created by AGNTS. We observe that the mean-FH portfolio accrues the largest profit irrespective of cost aversion parameters. Therefore, the superiority of the combination of AGNTS and FH risk still holds for the case where the transaction cost is present. 7 This paper studies the portfolio optimization of four major cryptocurrencies. A cryptocurrency as an asset class is characterized by higher volatility and more nonlinear return dynamics compared to traditional assets. Statistical analysis demonstrates that the introduction of the MNTS distribution enhances the explanatory power of the GARCH-type model for cryptocurrency return dynamics substantially, especially in terms of risk forecasting. FH risk warns of market crashes, for example, in scenarios such as those caused by the Covid-19 pandemic, in an immeasurably sensitive manner. The combination of the MNTS distributed GARCH model and FH risk leads to desirable portfolio optimization with respect to cumulative returns as well as risk-return balance. We first document the effectiveness of those sophisticated techniques in the context of cryptocurrency. 6 Since AGT and AGNTS share the same residuals, both models produce the same mean-SD portfolio. Also, note that the first revenue recognition takes place on the day after the first optimization, 2017/01/13. 7 The presented optimization allows for both long and short positions. As a further robustness check, we conduct the optimization under the restriction that a short position is prohibited. This restriction is realistic for conservative investors. The results are consistent with unrestricted cases; The mean-FH portfolio and/or the AGNTS forecasts generally create the largest profit. AGNormal AGT AGNTS BTC 1022 137 81 1175 537 155 1175 629 236 ETH 1142 106 103 1175 329 287 1175 503 523 LTC 1144 377 462 1175 544 543 1175 665 648 XRP 1175 557 729 1175 812 801 1175 835 821 A real parameter set (α, θ, β, γ, µ, Σ) characterizes the n-dimensional MNTS distribution, where α ∈ (0, 2), θ > 0, β, µ ∈ R n , γ ∈ R n + , and Σ is a n-by-n correlation matrix (Kim et al., 2012) . The common parameters (α, θ) control fat-tailness. Each component of β, γ, and µ corresponds to each marginal; β controls skewness, γ i scales the distribution, and µ is a mean value. The correlation matrix Σ is responsible for asymmetric interdependence among marginals. These unique parameters enable the MNTS to have explanatory powers for the stylized nature of financial asset returns, such as fat-tailness and skewness, which a normal distribution fails to capture. See Kim et al. (2012) for more detail. The VaR at the 1 − confidence level is the -quantile of an asset loss. AVaR is the expected loss on the condition that it is at levels in excess of VaR. As well as FH risk, AVaR is a convex function with a unique minimum. Therefore, the portfolio can be effectively optimized with respect to AVaR and FH risk. This is not the case with VaR because it generally has multiple local minima. It is also noteworthy that VaR and AVaR should be defined with time horizon and confidence level, whereas FH risk is an absolute risk measure irrespective of such predetermined parameters. The Christoffersen's likelihood ratio (CLR) test is a well-known method for backtesting VaR as an interval forecast (Christoffersen, 1998) . More specifically, we basktest VaR through a CLR test with a conditional coverage property, which is the joint test of unconditional coverage and independence, because it can take the tendency for consecutive VaR breaches into consideration. Furthermore, we backtest AVaR both directly and indirectly. For the indirect approach, we utilize a Berkowitz's likelihood ratio (BLR) tail test (Berkowitz, 2001) . The BLR tail test can backtest the accuracy of tail behavior forecasts of a given distribution. Accurate tail behavior forecasts coincide with accurate AVaR forecasts. For our direct approach, we exploit the Acerbi and Szekely (AS) test (Acerbi and Szekely, 2014) . While they propose several statistics so as to backtest the estimated AVaR at the 1 − confidence level, we choose the following statistic: where R t is a historical asset return, I t is the indicating function for VaR breaches, i.e., I t = 1 −Rt>VaR ,t , T is the forecast length, and t is the time period. If the AVaR forecast is accurate (the null hypothesis), Z must be zero; otherwise, Z is negative. The p-values of the AS test can be derived by simulating R t through a time series model and sampling Z. The presented problem is to search for the optimized weight of each cryptocurrency i with expected return µ i,t at time t, denoted by w i,t (1 ≤ i ≤ 4), conditional on the information available up to time t, under the tradeoff between risk and reward. We identify this problem as minimizing the risk-to-reward ratio (disutility), where the risk and the reward are quantified by FH risk and expected returns, respectively. We supplementarily utilize one-day-ahead AVaR at the 99% confidence level and standard deviation (SD) as risk measures for reference. We exclude VaR because of its non-convexity. Note that the optimization based on SD is equivalent to the classical Markowitz framework. We impose some constraints on weights w i,t . First, we allow for both long and short positions up to unit, since short positions are typical in cryptocurrency trading especially after the issuance of Bitcoin futures in December, 2017. Second, we maintain positive expected returns from the portfolio. The second constraint stems from the principle of speculation as well as the necessary condition for FH risk to be defined. In addition, we consider the cost of reallocating portfolio weights, which partly deprives the portfolio of cumulative returns. We also take investor cost aversion into account. Consequently, our optimization problem is described using the following equation: where w t = (w 1,t , . . . , w 4,t ) , µ t = (µ 1,t , . . . , µ 4,t ) , and ρ(·) is a risk measure of the portfolio. The second quadratic term of the change in weights corresponds to the transaction cost (e.g., Fabozzi et al., 2006) . λ and C are the parameters for transaction cost charged per unit weight change and investor cost aversion relative to risk-to-reward ratio, respectively. We set λ as 10 −7 when transaction costs are present. 8 We assume several distinct values for C since it depends on investors. Notice that our objective function (3) is set as homogeneous with respect to the size of w t , as long as ρ(·) satisfies the homogeneity. We therefore have the 1,175 iteratively-estimated time series models from 2017/01/12 to 2020/03/31. Every day during this investment period, we generate one-day-ahead 10 4 scenarios for each cryptocurrency return by utilizing the estimated AGNormal, AGT, and AGNTS models. Under these generated scenarios, we forecast risk and reward, thereby finding the optimal portfolio w t to solve equation (3). The portfolio is optimized into w t at the end of day t and create profit or loss from the return at the end of day t + 1. Backtesting expected shortfall. Working paper Foster-Hart optimal portfolios The equity risk posed by the too-bigto-fail banks: A Foster-Hart estimation Statement on crypto-assets. Newsletters, Bank for International Settlements Testing density forecasts, with applications to risk management Forward-looking portfolio selection with multivariate non-gaussian models Cryptocurrency-portfolios in a mean-variance framework Modelling volatility of cryptocurrencies using Markov-Switching GARCH models Skewed non-gaussian GARCH models for cryptocurrencies volatility modelling Volatility and return jumps in bitcoin Evaluating interval forecasts Financial Modeling of the Equity Market: From CAPM to Cointegration An operational measure of riskiness Measuring financial risk and portfolio optimization with a non-Gaussian multivariate model