Artur Sepp Blog on Quantitative Investment Strategies

  • Blog
  • Research
  • About
    • The Science and Practice of Trend-following Systems: paper and presentation

      Posted at 5:35 pm by artursepp, on June 22, 2025

      I would like to introduce the updated draft of my paper co-authored with Vladimir Lucic and entitled “The Science and Practice of Trend-following Systems”.

      Trend-following systems have been employed by many quantitative and discretionary funds, also known as commodity trading advisors (CTAs), or managed futures, since the early 1980s. Richard Dennis, a commodity trader on the CME, organised and instructed two classes of novice traders in late 1983 and 1984 with the idea that trading skills can be taught. The underlying ideas and methods included strict adherence to rule-based trading and risk-management. A few graduates of these classes created their own quantitatively-driven CTA funds and gave the rise of managed futures industry.

      Lintner in 1983 provided the first evidence that managed futures deliver better risk-adjusted returns and offer strong diversification benefits for long-only portfolios. The following passage is from Lintner 1983, The Potential Role of Managed Commodity-Financial Futures Accounts (and/or Funds) in Portfolios of Stocks and Bonds:
      “The combined portfolios of stocks (or stocks and bonds) after including judicious investments in appropriately selected sub-portfolios of investments in managed futures accounts (or funds) show substantially less risk at every possible level of expected return than portfolios of stock (or stocks and bonds) alone. This is the essence of the ‘potential role’ of managed futures accounts (or funds) as a supplement to stock and bond portfolios suggested in the title of this paper.”

      Subsequent studies reinforce the role of managed futures for the diversification of broad long-only portfolios, so that currently many private and institutional portfolios have some exposure to managed futures.

      The purpose of this paper is to provide both theoretical and practical insights about trend-following (TF) systems. Let me note that practitioners refer to implemented systematic futures-based strategies as systems or programs.

      Theoretical insights

      For theoretical insights, we establish regimes in which TF systems perform well. For any systematic strategy, it is important to understand under which market dynamics it is expected to out-perform or under-perform.  We derive an exact analytical formula linking the performance of the TF system to the autocorrelation of instrument returns under generic processes. We show that the TF system is expected to be profitable when the autocorrelation of returns is positive even if the drift is zero. We also show that the TF system is expected to be profitable for a white noise process with a large positive or negative drift if the filter span is large.

      For the illustration of obtained analytical results, we focus on fractional ARFIMA process which incorporates both short- and long-term mean reversion and / or trend features, which allows for extensive profitability analysis of TF systems.

      In Figure 1, we illustrate that the TF system can be profitable if the fractional order is positive, so the dynamics are trending in the long-term. In this case, the TF system can be profitable even if the short-term dynamics are mean-reverting.

      Figure 1. Panel (A) shows analytical value of expected annual return of TF system and MC confidence intervals using ARFIMA process with positive long-term memory with fractional order $d=0.02$, which implies long-term mean-reversion, with AR-1 feature phi={-0.05, 0.0, 0.05, and with zero drift. Panel (B) shows expected value of volatility-adjusted turnover and corresponding MC 95% confidence interval.

      In Figure 2, we illustrate that if the fractional order is negative and dynamics are mean-reverting in the long-term, the TF system can still be profitable if drift is present and span of the filter is large.

      Figure 2. Panel (A) shows analytical value of expected annual return of TF system and MC confidence intervals for ARFIMA process with negative long-term memory with fractional order d=-0.01. with AR-1 feature phi={-0.05, 0.0, 0.05} and with drift mu=0.5 (interpreted as Sharpe ratio) . Panel (B) shows expected value of volatility-adjusted turnover and corresponding MC 95% confidence interval.

      Practical Insights

      We have considered three distinct approaches for the construction of trend-following (TF) approaches which we term as European, American, and Time Series Momentum (TSMOM) systems. In Figure 3, we show the simulated performance of three TF systems assuming 2%/20% management/performance fees.

      Figure 3. Simulated performance of of European, American and TSMOM systems along with the historical performance of SG Trend Index. Panels (A1), (B1), and (C1) show the cumulative log-performance, running drawdown, and EWMA correlations with one year span. Panel (A2i) shows risk-adjusted performance table with P.a. returns being annualised return or CAGR, Vol being annualised volatility of daily log returns, Sharpe (rf=0) being Sharpe ratio, Max DD being the maximum drawdown; Skew being the skewness of quarterly log-returns, beta and R^{2} being the the slope and R^{2} of the linear regression of monthly returns relative to 60/40 equity/bond portfolio. Panel (A2ii) shows annual returns. Panels (B2) and (B3) show one year rolling volatility-adjusted turnover and cost, respectively. The background colour is obtained by ordering the quarterly returns of the benchmark 60/40 portfolio from lowest to highest and the splitting the 16% of worst returns into the “bear” regime (pink colour), 16% of best returns into the bull regime (dark green colour), and remaining regimes into “normal” regimes (light green colour). The period of performance measurement is from 31 December 1999 to 1 June 2025.

      This illustration emphasises the robustness of TF systems, as different quantitative models can provide first-order exposure to trending features of financial markets. Most CTA managers pursue to deliver outperformance over the benchmark index by second-order proprietary features including exposures to style factors (carry, value, cross-sectional momentum, etc.), risk-management (portfolio volatility targeting, asset class exposure management, etc.), operational capabilities (exposure to smaller or alternative futures markets, enhanced execution, etc.), and other risk premia (e.g. volatility carry) — see Carver 2023, Advanced Futures Trading Strategies, for a detailed overview of additional features and strategies commonly combined with managed futures.

      Smart Diversification of Long-only Portfolios

      We also analyse the diversification benefits of how blending of TF systems long-only portfolios with long-only portfolios. In Figure 4, we generate blended portfolios with (1-x)% weight to 60/40 Equity/Bond portfolio and with x% weight to each of the three TF systems with x varying from 0% to $100%. Blended portfolios are rebalanced quarterly and, for TF systems, we use their net performance. The initial portfolio on the left is 100%/0% blend of 60/40 portfolio and 0% TF system. The final portfolio on the right is 0%/100% blend. Hereby, we measure portfolio risk by the Bear-Sharpe ratio (the performance in 16% worst quarters of 60/40 equity / bond portfolio) and portfolio performance by total Sharpe ratio.

      Figure 4. Bear-Sharpe ratio vs total Sharpe ratio for blended portfolios with (1-x)% weight to 60/40 portfolio and x% weight to each of the three TF systems. The initial portfolio on the left is 100%/0%$ blend of 60/40 portfolio and 0% TF system. The final portfolio on the right is 0%/100% blend. The specification of TF systems is the same as for generation of Figure 3.

      We observe that the best combination of European and American TF systems that generates the highest Sharpe ratio is the 40%/60% combination of the 60/40 portfolio / TF system. In this case, the realised Bear-Sharpe ratio is close to zero, while the total Sharpe ratio is about 0.9, which is almost double the Sharpe ratios of its components. As we see in Figure 3, the TSMOM system has a Bear-Sharpe ratio attribution of 50% smaller than that of European and American TFs. Thus, the Bear-Sharpe ratio emphasises the diversification efficiency for long-only portfolios.

      We note that, because implementation of a TF system requires only a limited capital for margin requirements of trading futures, a TF system can implemented as an overlay to 100% exposure to a long-only portfolio. If we take the 50%/50% blend (which is not far from the optimal blend 40%/60% in Figure 4 and leverage it twice, we obtain the portfolio with 100% exposure to the 60/40 portfolio and 100% exposure to a TF system. We note that recent advances in portfolio products termed “stacking alphas” or “portable alphas”  (see Gordillo-Hoffstein, 2024, Return Stacking: Strategies For Overcoming A Low Return Environment) are based on the same concept of blending a fixed 100% exposure to a long-only portfolio and 100% (or similar) exposure to a TF system or a general managed futures program.

      Further Applications

      Our results, allow for prediction of the performance of TF systems conditional on certain dynamics, such as ARFIMA process. This could be applied for instrument selection and signal/weights adjustments.

      Given that we also derive a very good approximate formulas for the expected turnover of European TF system, our results can be applied for quick optimisations of TF systems.

      Finally, our “Smart Diversification” based on regime-conditional Sharpe ratios enables for design of overlays using TF systems for long-only portfolios. In particular, we show that the optimal weight, according to our “Smart Diversification”, of TF system for 60/40 portfolio is 50%. Return stacked portfolios are obtained by 2x leverage of 50%/50% blend of 60/40 portfolio / TF system.

      Links

      Our paper is available on SSRN: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3167787

      I presented our paper at CQF Volatility and Risk conference with slides available here and Youtube video of my presentation is available here

      Disclosure

      This research is a personal opinion and it does not represent an official view of my current and last employers.

      This paper and the post is an investment advice in any possible form.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Asset Allocation, Quantitative Strategies, Trend-following, Uncategorized | 1 Comment
    • Lognormal Stochastic Volatility – Youtube Seminar and Slides

      Posted at 6:14 am by artursepp, on October 25, 2024

      I would like to share the youtube video of my online seminar at Minnesota Center for Financial and Actuarial Mathematics and presentation slides.

      I discuss the motivation behind introducing Karasinki-Sepp log-normal stochastic volatility (SV) model in our IJATF paper with Parviz Rakhmonov. I briefly highlight the advantages of this model over existing SV models. Then I focus on new features of the model.

      For the first time, I formulate the dynamic of log-normal SV model consistent with the forward variance by construction. This formulation enables to automatically fit the model to a given term structure of variance swap strikes implied from market prices. I show that there is a small modification of the closed-form solution presented in our paper so that the existing solution can be applied here as well.

      Also for the first time, I introduce the rough formulation of the log-normal SV model. I note that our exponential affine expansion for the classic log-normal SV model can also be applied for the rough version, but it results in a system of multi-variate system of integral equations which is numerically tedious. We need to resort tom Monte-Carlo simulations of this model and Deep Learning for model calibration. This is work in progress so stay tuned.

      Finally, I present the model calibration to the time series of implied volatilities of options on Bitcoin traded on Deribit. I touch upon the calibration of mean-reversion parameters using empirical auto-correlation function discussed in our paper. The rest of model parameters: the current level and long-term mean volatility, volatility beta, and volatility-of-volatility are fitted in time series calibration.

      Below I show that the model error (the average difference between market and model implied volatility) is less than 1% most of the times. The volatility beta serves as the expected skeweness indicator switching from large negative values during risk-aversion and positive values during risk-seeking periods. This time series construction can serve as a base for relative value analysis and quant trading strategies.

      I mention that Python implementation of model is available in stochvolmodels package at Github. See an example of running the log-normal SV model and example of model calibration using the new formulation of term structure consistent with impled variance.

       

      Disclosure

      This research is a personal opinion and it does not represent an official view of my current and last employers.

      This paper and the post is an investment advice in any possible form.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Crypto, Python, Volatility Modeling, Volatility Trading | 2 Comments
    • Optimal allocation to cryptocurrencies in diversified portfolios – update on research paper

      Posted at 3:08 pm by artursepp, on August 18, 2024

      Cryptocurrencies have been acknowledged as an emerging asset class with a relatively low correlation to traditional asset classes and independent drivers of their long-term performance (see for an example excellent papers by Harvey et al (2022) and Adams at al (2024)).

      A year ago in Summer of 2023, I published research article in Risk Magazine (SSRN draft) on quantitative methods for optimal allocation to cryptocurrencies within alternative and balanced portfolios. The metrics for consideration include metrics for portfolio diversification, expected risk-return relationships and skewness of the returns distribution. Using roll-forward historical simulations, I showed that all four allocation methods produce a persistent positive allocation to Bitcoin and Ether in alternative and balanced portfolios with a median allocation of about 2.7%.

      This time, I would like to present the updated outcomes from my model given that Bitcoin and Ether had a strong performance of 95% and 35%, respectively, since the last update to today (from 30Jun2023 to 16Aug2024).

      Spoiler: the performance of all four methods for balanced and alts portfolios have been in line with what has been reported in the article with optimal allocation weights to Bitcoin and Ether largely unchanged. Python code for this analysis is available in OptimalPortfolios packadge github repo.

      First I start with the analysis of annual rolling performance. In Subplot (A) of Figure 1, I  show Sharpe ratios (through the paper and this post, the Sharpe ratio is computed using monthly log-returns adjusted by 3m UST rate) for trailing holding periods with the period start given in the first column and the period end given in the first row. For an example, Sharpe ratio realized from the investment period from 31Dec2020 to 16Aug2024 is 0.29.

      Clearly, the early periods before 2017 are characterized with higher realized Sharpe ratios. What is remarkable that any investment period that starts at the end of each calendar year from 2010 to today generated positive Sharpe ratio. In Subplot (B) of Figure 1, I  show the realised skeweness of monthly returns. In early periods, the monthly performance exhibits highly positive skewness. Also more recently the skeweness became positive again.

      Figure1. Realized Sharpe ratios from the period start (given in the first column) to the period end (given in the first row). Subplot (A) shows Sharpe ratio using average monthly log-returns; Subplot (B) shows skewness of monthly returns.

      Methodology

      The long-term positive performance and positive skeweness of cryptocurrency returns pose well for quantitative allocation methods.

      In the paper I consider four quantitative allocation methods for construction of optimal portfolios:
      1) Two risk-based methods which include portfolios constructed using equal risk contribution and with maximum diversification methods.
      2) Two risk-return based methods which include portfolios constructed using maximum Sharpe ratio and maximum CARA-utility methods.

      For the investment universe, I consider the two mandates:

      1) Alternatives (Alts) or unconstrained mandate that targets absolute returns by investing into alternative assets. This mandate is typical for high net worth private investors and family offices.

      2) Benchmarked (Balanced) mandate which targets excess returns over a benchmark by allocating to a balanced equity/bond portfolio with additional overlay to alternative assets. Such a mandate is typical for institutional investors such as pension funds, insurance companies, and endowments.

      As the balanced benchmark, I use the classic 60/40 equity/bond portfolio. I fix the target weight of the balanced portfolio for this mandate to 75% and assign $25%$ allocation to alternative assets. As a result, I consider the modern 70%/30%$approach for allocation portfolio of institutional mandates (see, for an example, McVey et al (2022)) with 30% allocation to bonds, 45% to public equities and 25% to alternative assets.

      I refer to the paper for the investment universe of this mandates (In this analysis I change the benchmark for macro funds from NEIXMTI Index to HFRIMDT Index). For each allocation method, I evaluate the following portfolios given in Table 1 below. Portfolios 1, 2, 3 provide insights into the marginal contribution of including cryptocurrencies to investable universe alternative portfolios. Portfolios 4, 5 and 6 provide with insights into including cryptocurrencies to alternatives for blending with the 60/40 equity/bond portfolio. The marginal contribution of including cryptocurrencies is estimated using 4 portfolios with either BTC or ETH using 4 allocation methods, with total of 16 different portfolio schemes allocated to cryptocurrencies. I sue spot returns for performances of cryptocurrencies. This provides a sufficient depth for making insights.

      Table 1. Simulated mandate portfolios with cryptocurrencies.

      Optimal Portfolios and Their Performances

      I use quarterly rebalancing and roll-forward analysis for generation and backtest of optimal portfolios. I describe the methodology in the paper  and in github package

      Here, I present the result of roll forward simulations from 31Mar2016 t0 16Aug2024. I will present some key figures here, all outputs can be found in pdf report of backtests.

      Maximum Diversification

      Maximum Diversification is my favorite method because it takes into account only the covariance matrix. Also, unlike Equal Risk Contribution method, Maximum Diversification method may produce zero weights to unattractive instruments. In Table 3, I show the risk-adjusted performance of the simulated portfolios without crypto and with inclusion of BTC and ETH cryptocurrencies. The Sharpe ratio is computed using monthly log-returns adjusted by 3m UST rate, beta and (annualised) alpha are computed by regression of monthly returns against 60%/40% equity/bond (Balanced) portfolio.

      The marginal gain of including BTC and ETH is of +0.24 (=0.70-0.46) and +0.29 (=0.75-0.46) in Sharpe ratio for Alternative portfolios and of +0.23 and +0.21 for Balanced portfolios, which is significant.

      In the last 4 rows I show the weight allocated to cryptocurrencies. The median allocation weight is 2.2%/1.9% and 3.13%/3.04% for BTC or ETH in alternatives and balanced portfolios, respectively.

      Table 3. Risk-adjusted performance of Maximum Diversification allocation method.

      In Figure 2, I show the time series of cumulative performances and drawdowns of Maximum Diversification portfolios. Adding cryptocurrencies to the portfolio universe did not materially impact realised drawdowns.

      Figure2. Cumulative performance of portfolios computed using Maximum Diversification allocation method.

      In Figure 3, I show the stack plot of optimal weights for BTC for alternatives and balanced mandates. We observe that the optimal weight of BTC has been persistent through the backtest period, in contract to other asset classes. It is interesting, that the optimal allocation to alternatives within balanced portfolio includes only Bitcoin and SG Trend instruments for the past two years.

      Figure 3. Optimal Allocation weights for alternative and balanced mandates with universe including BTC.

      Equal Risk Contribution

      Equal risk contribution allocates equal buckets for risk (for Balanced mandate, 75% of risk is assigned to the balanced portfolio). We observe that adding cryptocurrencies improves the risk-adjusted performance of alternatives mandate. Interestingly, from the standpoint of the equal risk contribution method, allocations to BTC and ETH are almost same.

      Table 3. Risk-adjusted performance of Equal Risk Contribution allocation method.

      Maximum Sharpe Ratio

      I use the rolling window of 5 years to estimate asset return and covariances for the estimation of the Sharpe ratio. For alternatives portfolio, the contribution to the performance (+0.80 and +0.67 in Sharpe) from adding cryptocurrencies is significant with their median weights of 9% and 4% for BTC and ETH. It is clear that using past returns as inputs to the optimiser may not be robust, however increasing the universe may lead to better results because of higher degree of freedom.

      Table 4. Risk-adjusted performance of Maximum Sharpe Ratio allocation method.

      Carra Mixture Utility

      To estimate the 3-state mixture of returns distribution for the Carra Mixture utility, I also use the rolling window of 5 years. As I explain in the paper, the Carra Mixture Utility allocation method favors instruments with positive skeweness. Similarly to the Maximum Sharpe ratio, adding cryptocurrencies to the alternatives portfolio improves the realised Sharpe ratio considerably by +0.84 and +0.64 with BTC and ETH, respectively. The median allocated weight is 21% and 8% for alternatives mandate and 19% and 8% for the balanced mandate. The higher weights are the result of overweighting instruments with positive skeweness.

      Table 5. Risk-adjusted performance of Carra Mixture Utility allocation method.

      Summary of Weights

      In the summary, I would like to the review the optimal weight to cryptocurrencies. The major goal of my article is to show that cryptocurrencies deserve an allocation for broad portfolios. In my analysis, I did not impose any allocation constraints to make a fair argument.

      In Figure 4 I show the time series of optimal allocations to BTC and ETH by each method and for each mandate. In Table 6, I show summary of weights aggregated from time series.

      Carra Mixture (CARRA-3) allocation method assigns the highest allocation to cryptocurrencies because it favors assets with high positive skewness.

      We observe that the Maximum Sharpe ratio and Carra Mixture, which take into account the rolling performance of assets, have been producing smaller allocation weights in recent years following smaller the risk-adjusted performances of cryptocurrencies.

      However, the risk based methods including Equal Risk Contribution (ERC) and Maximum Diversification (MaxDiv) produce largely stable allocation to cryptocurrencies, which stay largely intact in past couple of years.

      The median of the time series median allocation is 5.7%, 3.8%, 3.0%, 2.4%, which gives a “median”allocation of 3.4% which slightly increased from 2.7% which I reported originally in the paper.

      Figure 4. Optimal weights to BTC and ETH by allocation methods.

      Table 6. Summary of weights

      Further reading

      Enjoy reading the paper and experiment with Python code

      Disclosure

      This research is a personal opinion and it does not represent an official view of my current and last employers.

      This paper and the post is an investment advice in any possible form.

      Cryptocurrencies are associated with high risk.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Asset Allocation, Crypto, Decentralized Finance, Python, Quantitative Strategies, Uncategorized | 2 Comments
    • Unified Approach for Hedging Impermanent Loss of Liquidity Provision – Research paper

      Posted at 7:16 pm by artursepp, on July 9, 2024

      Let me introduce our research paper co-authored with Alexander Lipton and Vladimir Lucic for hedging of impermanent loss of liquidity provision (LP) staked at Decentralised Exchanges (DEXes) which employ Uniswap V2 and V3 protocols.

      Uniswap V3 protocol allows liquidity providers to concentrate liquidity in specified ranges. As a result, the liquidity of the pool can be increased in certain ranges (typically around the current price) and the potential to generate more trading fees from the LP is increased accordingly. I illustrate the dynamics of staked LP using ETH/USDT pool as an example. A liquidity provider stakes liquidity to a specific range using initial amount of ETH and USDT tokens as specified by Uniswap V3 CFMM. When the price of ETH falls, traders use the pool to swap USDT by depositing ETH, so that the LP accrues more units of ETH. Thus when ETH falls persistently, the liquidity provider ends up holding more units of the depreciating asset, which is similar to being short a put option. In opposite, when ETH price increases, traders will deplete ETH reserves from the pool by depositing
      USDT tokens. Thus, the liquidity provider ends up holding less units of the appreciating asset, which is similar to being short a call option. The combined effect of increasing / decreasing the exposure to depreciating / appreciating asset leads to what is known as the impermanent loss in Decentralised Finance (DeFi) applications.

      In Figure 1, I show ETH units (left y-axis) and USDT units (right y-axis) for LP on Uniswap V3 with 1m USDT notional and p_{0}=2000, p_{a}=1500, p_{b}=2500. The initial LP units of (ETH, USDT) are (220, 559282). The red bar at p=1500 shows LP units of (543, 0) with LP fully in ETH units when price falls below lower threshold p_{a}. The
      green bar at $p=2500$ shows corresponding LP units of (0, 1052020) with LP fully in USDT units when price rises above upper threshold p_{b}. In subplot (B), we show USDT values of 50%/50% ETH/USDT portfolio, Funded LP positions (funded LP involves the purchase of ETH for staking without any delta hedge) and Borrowed LP positions (Borrowed LP is produced by static delta hedge of the initial staked position in ETH).

      The value profile of funded LP resembles the profile of a covered call option (long ETH and short out-of-the-money call). The value of the borrowed LP resembles the payoff of a short straddle (short both at-the-money call and put).

      Figure 1. The impremanent loss of funded and borrowed LP position

      (A) ETH units (left y-axis) and USDT units (right y-axis) for LP on Uniswap V3. (B) USDT value of 50%/50% ETH/USDT portfolio, Funded LP position and Borrowed LP position. Uniswap V3 LP position is constructed using 1m USDT notional with p_{0}=2000, p_{a}=1500, p_{b}=2500.

       

      We define the protection claim against the impermanent loss (IL) as a derivative security whose payoff at time T equals to negative value of the IL.

      We develop static model-independent and dynamic model-dependent approaches for hedging of the IL of liquidity provision (LP) staked at Decentralised Exchanges (DEXes) which employ Uniswap V2 and V3 protocols.

      For staking of BTC and ETH with liquid options market, the liquidity provider can apply out static model-independent replication to eliminate the IL completely.

      In Figure 2, I illustrate the replicating of IL for borrowed Uniswap V3 LP. I use strikes with widths of 50 USDT in alignment with ETH options traded on Deribit exchange (for options with maturity of less than 3 days, Deribit introduces new strikes with widths of $25$). In subplot (A), I show the IL of the borrowed LP position, and the payoffs of replicating calls and puts portfolios (with negative signs to align with the P&L). In subplot (B), we show the residual computed as the difference between the IL and the payoff of the replication portfolios. In Subplot (C), I show the number of put and call option contracts for the replication portfolios. It is clear that the approximation error is zero at
      strikes in the grid, which is illustrated in subplot (B). The maximum value of the residual is 0.025% or 2.5 basis points, which is very small. A small approximation error with a similar magnitude will occur in case, p_{0}, p_{a}, p_{b} are not placed exactly at the strike grid.

      Figure 2. Replication of IL of borrowed Uniswap V3 LP for allocation of 1m USDT notional, p_{0}=2000 ETH/USDT with p_{a}=1500 and p_{b}=2500. (A) Impermanent loss in USDT and (negative) values of replicating puts and call portfolios; (B) Residual, which is the spread between IL and options replication portfolios; (C) Number of option contracts for put and calls portfolios.

       

      For cryptocurrencies without a liquid options market develop the model-dependent valuation and dynamics hedging of IL protection claims for Uniswap V2 and V3 protocols. Model-based valuation can be employed by a few crypto trading companies that currently sell over-the-counter IL protection claims. When using model-based dynamics delta-hedging for the replication of the payoff of the IL protection claim, the profit-and-loss (P&L) of the dynamic delta-hedging strategy will be primarily driven by the realised variance of the price process. Thus, the total P&L of a trading desk will be the difference between premiums received (from selling IL protection claims) and the variance realised through delta-hedging. Trading desk can employ our results for the analysis of price dynamics and hedging strategies which optimize their total P&L.

      The simplest dynamic model is of course the Black-Scholes-Merton model which allows to analyze the sensitivity of the price for IL protection as a function of a single parameter for log-normal volatility

      In Figure 3, I show the annualised cost (APR) % for the cost of BSM hedge for the borrowed LP as a function of the range multiple m such that p_{a}(m)=e^{-m}p_{0} and p_{b}(m)=e^{m}p_{0}. I use two weeks to maturity T=14/365 and different values of log-normal volatility \sigma. All being the same, it is more expensive to hedge
      narrow ranges.

      Figure 3. BSM premium annualised (U^{borrower}(t, p_{t})/T) for borrowed LP with time to maturity of two weeks and notional of 1 USDT as function of the range multiple m such that p_{a}(m)=e^{-m}p_{0} and p_{b}(m)=e^{m}p_{0}.

       

      Further, we consider a wide class of dynamics models with jumps and stochastic volatility for which the moment generating function (MGF) for the log-return  is available in closed-form. The closed-form solution for the MGF is available under a wide class of models including jump-diffusions and diffusions with stochastic volatility. Thus, we can
      develop analytic solution for model-dependent valuation of IL protection under various models with analytic MGF.

      In particular, we apply the log-normal SV model which can handle positive correlation between returns and volatility observed in price-volatility dynamics of digital assets (see my paper with Parviz Rakhmonov for details).

      In Subplot (A) of Figure 4, I show the implied volatilities of the log-normal SV model for a range of volatility of residual volatility with zero volatility beta (which is typical for ETH skews). In Subplot (B), I show the premium APR for IL protection as a function of range multiple for a range of volatility-of-volatility. We see that the model-value of IL protection is is not very sensitive to tails of implied distribution (or, equivalently, to the convexity of the implied volatility). The reason is that the most of the value of IL protection is derived from the center of returns distribution.

      Figure 4. (A) BSM volatilities implied by log-normal SV model as function of volatility-of-volatility parameter ; (B) Premiums APR computed using log-normal SV model for borrowed LP as function of the range multiple m such that p_{a}(m)=e^{-m}p_{0} and p_{b}(m)=e^{m}p_{0}.

      For liquidity providers, who buy IL protection claims for their LP position, the total P&L will be driven by the difference between accrued fees from LP positions and costs of IL protection claims. The cost of the IL protection claim can be estimated beforehand using either the cost of static options replicating portfolio or costs of buying IL protection from a trading desk. As a result, liquidity providers can focus on selecting DEX pools and liquidity ranges where expected fees could exceed hedging costs. Thus, liquidity providers can apply our analysis optimal allocation to LP pools and for creating static replication portfolios using either traded options or assessing costs quoted by providers of IL protection.

      We leave the application of our model-free and model-dependent results for an optimal liquidity provision and optimal design of LP pools for future research.

      Enjoy reading the paper available on SSRN https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4887298

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Crypto, Decentralized Finance, Uncategorized, Volatility Modeling | 1 Comment
    • Log-normal stochastic volatility with quadratic drift – open access publication

      Posted at 5:01 pm by artursepp, on March 7, 2024

      Our article “Log-normal Stochastic Volatility Model with Quadratic Drift” co-authored with Parviz Rakhmonov is published in International Journal of Theoretical and Applied Finance with open access https://www.worldscientific.com/doi/10.1142/S0219024924500031

      The log-normality of realised and implied volatilities of asset returns is a well-documented empirical feature. For example, see Christoffersen-Jacobs-Mimouni (2010) for equity indices and Andersen-Lund (1997) for short-term interest rates. Yet, the difficulty in implementing log-normal stochastic volatility (SV) models in practice is that these models are not analytically tractable due to being non-affine, so that standard techniques for affine SV model cannot be applied here. Our key contribution is the closed-form accurate and fast approach for valuation of vanilla options under the log-normal SV model.

      I have started working on the log-normal SV model back in 2012 together with Piotr Karasinski and we published a joint paper in Risk. Over years, I have developed the affine expansion for log-normal SV model which is analytic (up to solving a system of ODEs) and which provides a very accurate solution to the moment generating function (MGF) arising in log-normal SV models. Be means of this solution to the MGF, we can value vanilla options using methods developed for valuation under affine models, including the Lipton-Lewis formula.

      With Parviz, we have extended Karasinki-Sepp stochastic volatility model by adding a quadratic mean-reversion to the drift, which turns to be important for the model to be functionally invariant under different numeraire measures (see our paper on this topic). We have provided detailed proofs on important aspect of our model including the positivity and finiteness of the volatility process, the martingality of the price dynamics, the existence of the solution for valuation equation in this model, and the stability of the affine expansion. The most parts of our paper are technical to address these necessary topics.

      We have also included the illustration of model calibration to options data on Bitcoin from April 2019 to October 2023. For this extended period, we show that the model can fit accurately to the market data across different market regimes with low/high volatilities, positive/negative skews, and  steep/flat convexities of market implied volatilities.

      A big advantage of using the log-normal SV model in a traditional quant valuation setup, it that the model is easy to implement for Monte-Carlo (MC) simulations and for numerical PDE solvers using the the logarithm of the volatility as a modelling variable, which is defined on unrestricted domain. In contrast, affine models require to handle the positivity of the volatility in MC simulations and PDEs solvers, which is not trivial. The availability of closed-form solution for vanilla options enables fast model calibration to market data.

      Finally, our log-normal SV model is conceptually robust because if can be applied for valuation of derivatives on different asset classes. In particular, we apply this model to interest rates (see application to Cheyette model here and to Factor HJM model here), whereas traditional SV models have many limitations when it comes to modeling dynamics of fixed income  derivatives.

      For transparency and as a courtesy to the readers, Python implementation of the analytics from the paper for valuation under our log-normal SV model is available in Github.

      Enjoy reading and testing our model.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Volatility Modeling | 2 Comments
    • Stochastic Volatility for Factor Heath-Jarrow-Morton Framework – research paper

      Posted at 9:29 am by artursepp, on March 2, 2024

      Let me present our recent research paper with Parviz Rakhmonov on the stochastic volatility model for Factor Heath-Jarrow-Morton (HJM) interest rate framework (available on SSRN: Stochastic Volatility for Factor Heath-Jarrow-Morton Framework).

      Factor Heath-Jarrow-Morton (HJM) model

      Under the risk-neutral measure, the interest rate curve can be conveniently modeled using the forward curve f_t(tau) where tau is rate tenor. It is well known that the bond prices can be reconstructed from f_t(tau). When we develop a model for the evolution of forward curve f_t(tau), the HJM framework imposes conditions on the drift of the forward curve f_t(tau) so that the future forward curve reprices (in expectation) the term structure seen today. In practice, this requires using multi-dimensional models and handling path-dependency. See a brief intro to HJM and references in wikipedia.

      When we apply a finite dimensional basis for modelling of the forward rate under statistical measure P, the core difficulty is to derive the corresponding factor dynamics under the risk-neutral measure Q. The paper by Lyashenko and Goncharov provides a straightforward way for augmentation of P-dynamics so that the Q-dynamics are arbitrage-free and consistent with the initial term structure of forward rates by construction.

      Nelson-Siegel Term Structure model

      Nelson-Siegel Term Structure model provides a convenient way to model the forward curve f_t(tau) under the statistical P-measure using just 3 factors for the level, slope, and convexity of the terms structure of forward rates. This model is widely used by central banks due to its intuitiveness and due to its good consistency with time series of rates data.

      In our paper, we develop a generic Factor HJM model extended this model with the stochastic volatility using our previous paper for modelling stochastic volatility of one-factor interest rate model. As a base case, we apply the dynamics of Nelson-Siegel factors under P-measure with stochastic log-normal volatility of this factors.

      We find that this approach is well aligned with the popularity of Nelson-Siegel model and extends this model for realistic P-modeling of factors with stochastic volatility. It is well-established that stochastic volatility models can model empirical features such as volatility clustering, auto-correlations, and heavy-tails, while log-normality of rates volatility for one-factor models is well documented. We apply our developed log-normal stochastic volatility with quadratic drift as a driver for volatility of Nelson-Siegel factors.

      For valuation purposes, we derive the model dynamics under risk-neutral Q-measure. The advantage of our framework is that is fully analytic, and it allows for consistent valuation and risk management of interest rate derivatives including swaps, swaptions, futures rates and options on futures rates.

      Simulations of Nelson-Siegel Term Structure model with Log-normal Stochastic Volatility

      In this post, I will illustrate some possible outputs from our model using Monte Carlo simulations. First, I apply the inference of  Nelson-Siegel factors using Diebold-Li approach. Then I use the term structure of US rates observed at the end of February 2024 and I apply model parameters calibrated to swaptions data. In Figure 1, I show the term structure of US Treasury yields and fitted Nelson-Siegel curve. The model fit is very good. For pricing purposes under risk-neutral measure Q, we introduce a small deterministic curve so that the given yield curve is fitted exactly.

      Figure 1. Initial US Treasury yields and fitted Nelson-Siegel curve

      Next I simulate the factors of Nelson-Siegel model under P-measure as shown in Figure 2 for the simulation horizon of one year using the initial Nelson-Siegel curve in Figure 1. For brevity, in Figure 2, I show only 10 paths. Factors 1, 2, 3 are the level, slope, and convexity drivers of the forward curve. Realisations of factor X1 model possible evolution for overall level of rates: we observe a range of outcomes from 1.5% to 5.0% in 1 year. Paths of factor X2 model the (negative) slope: all paths indicate mean reversion back to positive slope indicating upward looking forward curves. Paths of factor X3 show the evolution of the convexity of the forward curve.

      Figure 2. Simulated paths of Nelson-Siegel factors for 1y horizon starting from initial values (X1, X2, X3) = (4.36%, 1.3%, -1.0%) with mean-reversion lambda=0.55. See Eq (1) along with Eq (23) in the paper.

      Along with the factors I simulate the log-normal stochastic volatility of these factors using the calibrated model. I apply the extension of Karasinki-Sepp stochastic volatility model augmented with the quadratic drift as developed in our paper with Parviz. I show the paths of volatility in Figure 3. The starting value of the stochastic volatility is 100%. For each factors, we apply deterministic volatility scale which is a part of model calibration (see sections 2.1 and 7.5 in the paper). Interestingly, the correlation between different factors and the volatility driver has different signs: the volatility is positively correlated with level factor X1, while the volatility is negatively correlated with  slope factor X2 and convexity factor X3. We see that we can obtain a rich set of realization for both the forward curve and the volatility of factors. We can compare paths of the volatility sigma_t with the move index for implied rates volatility.

      Figure 3. Simulated paths of the Log-normal stochastic volatility of Nelson-Siegel factors. See Eq (13) in the paper.

      The realisations of Nelson-Siegel factors and their volatilities in 1y allows us to construct the forward curve f_t(tau) under measure Q as seen in 1 year. We observe different shapes of forward curve in 1y compared to the today curve as function of tenor, as shown in Figure 4. Overall, the level of the yield curve is expected to decline following the initial curve shown in Figure 1, yet we have scenarios with higher curve (path 2), inverted U-shape curve (path 5), upward sloping curve (path 1), and flattish curve with different rate levels. Thus, Nelson-Siegel model can generate a rich set of scenarios of the yield curve evolution which can be applied either for valuation of interest rate derivatives or for risk and stress management of fixed-income portfolios.

      Figure 4. Realisations of the forward rates in 1 year using simulated paths of Nelson-Siegel factors. See Eq (22) in the paper for factor loadings.

      Simulations of the yield curve allow us to construct realisations of interest rate derivatives as swap curves, as shown in Figure 5 for swap rate starting in 1y as function of tenor, and rates futures, which require a convexity adjustment (see Section 3.3 in the paper).

      Figure 5. Realisations of swap rate starting in 1Y as function of tenor computed using simulated forward rates. See Eq (29) in the paper.

      Furthermore, we can value call and put options on swap futures rates. In Figure 6, I show model implied volatilities for 1y5y swaptions computed using simulated paths. Option strikes are set as fix moneyness in basis points (bps) relative to 1Y5Y swap rate in each paths. We see that the model can generate a variety of implied volatility curves from convex curves (as today), curves with strong positive skeweness (as seen in middle of year 2022), to curves with negative skeweness (as seen during 2010s).

      Figure 6. Model implied volatilities of swaptions on 1Y5Y swap rate seen in 1 year as functions of moneyness in bps relative to 1Y5Y swap rate in each path. See Eq (88) in the paper for valuation of swaptions.

      Summary

      Given the popularity of Nelson-Siegel term structure model, our model can provide a valuable toolkit for building scenarios for the shape of both the yield curve and the implied volatilities and for risk-management of fixed-income derivatives. I emphasize that the model is arbitrage-free and consistent with the initial forward curve by construction and the model can value different interest rate derivatives (swaptions and options on rate futures) consistently.

      Enjoy the reading of our paper in full and feel free to provide comments.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Uncategorized | 2 Comments
    • AD Derivatives podcast on volatility modeling and DeFi

      Posted at 7:28 pm by artursepp, on December 7, 2023

      I had a pleasure talking with Greg Magadini from Amberdata Derivatives. Greg is a seasoned options trader and he co-founded of GVol which provides awesome analytics for crypto options: check it out!

      We discussed many interesting topics including my background in becoming a quant, volatility modelling and trading, and my latest work in crypto options and DeFi.

      Greg put a nice summary to get you engaged

      https://blog.amberdata.io/ad-derivatives-podcast-feat-artur-sepp-head-quant-at-clearstar-labs

      and to watch the podcast on Youtube

      https://www.youtube.com/watch?v=3Km02FDIpxM

      Enjoy!

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Crypto, Uncategorized, Volatility Modeling, Volatility Trading | 0 Comments
    • What is a robust stochastic volatility model – research paper

      Posted at 4:38 pm by artursepp, on November 28, 2023

      I would like to share my research and thoughts about stochastic volatility models and, in particular, about the log-normal stochastic volatility model that I have been developing in a series of papers (see introductory paper with Piotr Karasinski in 2012, the extension to include quadratic drift with Parviz Rakhmonov in 2022, and application of the model to Cheyette interest rate model and  to factor HJM framework.

      In my new working paper with Parviz Rakhmonov, which is available on SSRN here, we address specification of the functional form for the dynamics of stochastic volatility (SV) driver including affine, log-normal, and rough specifications. We propose the four principles which, in our opinion, determine the applicability of an SV model for valuation of derivative securities for different asset classes including equities, rates, commodities, FX and cryptocurrencies. We emphasise that the invariance of an SV under different numeraires is crucial for the model applications for modeling volatility of different asset classes. We argue that currently only the two SV dynamics satisfy these universality conditions: affine Heston SV model and log-normal SV model with quadratic drift. We discuss that both models are analytically tractable for valuation of vanilla options and model calibration when applying these models in different asset classes. We also present some empirical evidence for the considered models and discuss their link with contemporary research topics such as volatility skew-stickiness. We conclude that log-normal SV model with quadratic drift is robust because it does not require special conditions (such as Feller condition for Heston model) for numerical implementation of the model using MC and PDE methods.

      For illustrations, we use the implied volatilities of the core assets for equity indices, rates and commodities:

      1.  S&P 500 index and its implied volatilities proxied with VIX index;

      2. 10y US treasury rate and its implied volatilities proxied with MOVE index;

      3. Oil futures (using USO ETF) and its implied volatilities proxied with OVX index;

      4. Bitcoin (denoted as BTC) and its implied at-the-money (ATM) volatility for options with time-to-maturity of 7 days (We use historical options data of Deribit exchange with the data set starting on April 2019).

      We formulate the following principles for universality and feasibility of a stochastic volatility (SV) model. Our primary focus is based on specifying the parametric form of the dynamics of the volatility driver so that we leave aside important but, in our opinion, secondary features of a universal volatility model including jumps, local volatility, etc.

      1. The dynamics of volatility must have the same marginal distribution under statistical measure P and risk-neutral valuation measure Q. This point ensures that the model can be used under the both statistical and pricing measures. More generally, this requirement implies that the model can be used with different numeraires specific to different asset classes, including equities, rates, commodities, FX and cryptocurrencies. For universality of a SV driver, the SV model dynamics must be functionally invariant     under different numeraires. For an example, for interest rates derivatives it is necessary that the volatility dynamics are invariant under the annuity measure, while for options on FX and cryptocurrencies the model must be invariant under the price numeraire.

      2. The price process augmented with stochastic volatility must remain a strict martingale under different model specification. This particular point is important for the model application for assets with positive implied volatility skews and, as a result, with positive return-volatility correlation.

      Lions and Musiela in their 2007 paper  show that most of one-factor SV models fail to produce strict martingale dynamics when return-volatility correlation between SV and return drivers is positive. This point can be overlooked in equity derivatives where return-volatility correlation is strongly negative but it cannot neglected for other asset classes where return-volatility is positive on many occasions. In Figure 1, we show that volatility beta may become positive (so that return-volatility correlation is positive too) for interest rates and commodities. We show here that return-volatility correlation may become positive for cryptocurrencies too.

      Figure 1: Volatility beta estimated using EWMA regression model with span of 65 days: (A) time series from inceptions, (B) Empirical PDF

       

      3. The dynamics of volatility must be well behaved: the volatility process must be strictly positive without explosions, the stationary distribution of the volatility must exist. This point ensures that the model can implemented efficiently with analytical and numerical methods.

      4. The model is relatively easy to implement both analytically (for model calibration to market data) and numerically (through Monte-Carlo and PDEs) for valuation of exotic options and structured products.

      We make the following conclusions about our four principals applied to well-known SV models (the references are given in our paper).

      Stein-Stein SV model does not admit a valid change of measure. While it is still possible to use this model by directly specifying it under either Q or P measures, the scope of the model is limited. For example price numeraire (for FX and cryptocurrency derivatives) or annuity numeraire (for interest rate derivatives) cannot be applied for this model.

      Exp-OU SV model, Bergomi one-factor model, and log-normal volatility model with linear drift allow for change of measures, but the functional form of model dynamics changes because of an additional term which arises in the drift of the volatility due to measure change. These models do not admit strong martingale dynamics when  return-volatility correlation is positive. In our opinion, these models are originally designed for applications in equity derivatives and their application to other asset classes is rather limited.

      Rough SV model is an extension of Exp-OU using the power kernel for Brownian driver in the volatility dynamics. While rough volatility may provide good fit to empirical auto-correlation function (ACF) as we show in the Figure 2 below, the marginal improvement over a one-factor SV model is rather low when using ACF fit metric (the absolute difference is less than 0.1). Rough OU-based SV models inherit drawbacks of Exp-OU models: first, the difficulty in changing measures consistently and, second, the lack of martingale property when return-volatility correlation is positive. In our opinion, rough SV models are designed exclusively for equity markets and it may not be feasible to apply them for other asset classes. On the implementation side, rough Exp-OU models can only be implemented with MC methods.

      Figure 2: Auto-correlation of implied volatilities as function of lag periods (in days) for the three implies volatility indices: A) VIX for the S&P 500 index, B) MOVE for the 10y UST rate, C) OVX for oil ETF, D) Bitcoin (BTC) ATM implied volatilities for options with maturities of 7 day. Empirical is the empirical estimate, Log SV is the fitted auto-correlation of the lognormal SV model, Rough is the rough auto-correlation with fitted decay power alpha.

       

      Heston SV model allows for consistent measure changes under different numeraires. The model also produces true martingale dynamics when return-volatility correlation is positive and the variance cannot hit zero as long as the Feller condition is satisfied. On the implementation side, Heston model admits a closed-form solution for valuation of vanilla options, which makes it easy for model calibration. These facts undoubtedly have made Heston model applicable to multiple asset classes. However, numerical implementation of Heston model using MC or numerical PDE methods is rather complicated, especially when Feller condition is not satisfied. There is a great deal of literature on how to make Heston model work in practice.

      Heston model also implied the stationary distribution of the volatility which has a thin right tail which is inconsistent with empirical data shown in Figure 3 below.

      Figure 3: Steady-state PDF of the logarithm of the volatility (y-axis is shown in log-scale).

       

      Log-normal SV model with quadratic drift allows for consistent measure changes using different numeraires. For positive return-volatility correlation, the model produces true martingale dynamics as long as the quadratic mean-reversion coefficient exceeds volatility beta. For model calibration, we develop a closed-form and accurate solution for valuation of vanilla options under this model in this paper. For numerical implementation using MC methods, we also develop a first-order MC scheme using the log-transform of the volatility to unbounded domain. Since in log-coordinates the valuation problem in log-volatility is defined on unrestricted domain, the problem can be solved efficiently using PDE methods for such domain (see my old workshop slides here). As a result, log-normal SV model with quadratic drift can be considered as a robust choice for modeling price dynamics for different asset classes.

      Enjoy the reading of our paper in full and feel free to provide comments.

      Python code for producing figures is available on Github in stochvolmodels package https://github.com/ArturSepp/StochVolModels and in module for the paper https://github.com/ArturSepp/StochVolModels/tree/main/my_papers/volatility_models

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Volatility Modeling | 2 Comments
    • Robust Log-normal Stochastic Volatility for Interest Rate Dynamics – research paper

      Posted at 5:49 pm by artursepp, on December 31, 2022

      The volatility of interest rates in 2022 has been indeed extreme. In Figure 1, I show the dependence the between the MOVE index (which measures the implied volatility of one-month options on UST bond futures and which is constructed similarly to the VIX index for implied volatilities of the S&P index futures), realized 10y UST rate volatility over the 6 months rolling window, and the level of 10y UST rates. For understanding of historical patterns, we classify the historical period from 2002 to the end of 2022 into the 5 periods: 2002-2007 (hiking cycle), 2008-2010 (tightening), 2011-2017 (QE), 2018-2020 (tightening), 2021-2022 (hiking cycle).

      We see that period of 2021-2022 was indeed unprecedented period when the rates rose from low levels of around 100 basis point (bp) to over 400bp, while the rates implied and realised volatilities rose from 50bps to over 150bps.

      Figure1. (A) The MOVE implied volatility index vs 10y UST bond rate; (B) 6m realized volatility of 10y UST bond rate vs 10y UST bond rate.

      The dependence between the rate and its volatility manifests in implied volatilities with positive skews as I show in Figure 2 (The market convention is to use Bachelier normal model for marking implied swaption volatilities).

      Figure 2. Implied normal volatilities for $10Y$ swaption as function of option expiries in basis points observed in December 2022. Option delta is Bachelier normal model delta.

      The dependence between the rate and volatility also manifests in strong level between the implied and realized volatilities and the volatility of volatility and the volatility beta (the change in 1bp of the volatility predicted by 1bp change in rates) which I show in Figure 3.

      Figure 3. (A) Realized volatility-of-volatility vs move volatility index. (B) Realized volatility beta vs Move index.

      Quantitative modeling of such dynamics is challenging. In my previous joint paper with Parviz Rakhmonov on the
      log-normal stochastic volatility for assets with positive return-volatility correlation we show that conventional SV model are ill-equipped for such dynamics. The rate dynamics are no exception, and practitioners rely on either local volatility models or local SV models with zero correlation. Both approaches are ill-poised because the may lead to explosive behavior of interest rates.

      In our extension with Parviz we apply the Karasinski-Sepp log-normal SV dynamic for modelling the interest rate volatility, which is available on SSRN: Robust Log-normal Stochastic Volatility for Interest Rate Dynamics

      We show that the proposed rates model is robust both on the quantitative dynamics and its practical implementation. While rate models in general are notorious for their tractability and implementation, we derive a closed form analytic solution for valuation of swaptions and for model calibration. In Figure 4, I show the model implied distribution of the 10y swap rate in the annuity measure computed using our analytical methods compared to the Monte Carlo simulations. Our solution is very accurate and it allows for robust calibration of the model to market data.

      Figure 4. Probability density functions computed using the first order affine expansion and the second-order expansion for the distribution of 10y swap rate in one year. The blue histogram is computed using realizations from MC simulations in model dynamics.

      All the technical details are available in the paper: Robust Log-normal Stochastic Volatility for Interest Rate Dynamics. Happy reading.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Quantitative Strategies, Volatility Modeling, Volatility Trading | 1 Comment
    • Optimal Allocation to Cryptocurrencies in Diversified Portfolios – research paper

      Posted at 1:43 pm by artursepp, on September 13, 2022

      Cryptocurrencies have been acknowledged as an emerging asset class with a relatively low correlation to traditional asset classes. One of the most important questions for allocators is how much to allocate to Bitcoin and to a portfolios cryptocurrency assets within a broad portfolio which includes equities, bonds, and other alternatives. I wrote a research paper addressing this questions. I will provide a short summary here and refer to my paper on SSRN for details.

      I apply four quantitative methods for optimal allocation to Bitcoin cryptocurrency within alternative and balanced portfolios based on metrics of portfolio diversification, expected risk-returns, and skewness of returns distribution. Using roll-forward historical simulations, I show that all four allocation methods produce a persistent positive allocation to Bitcoin in alternative and balanced portfolios. I find that the median of optimisers’ average weights is 2.3% and 4.8% for 100% alternatives and for 75%/25% balanced/alternatives portfolios, respectively. I conclude that Bitcoin may provide positive marginal contribution to risk-adjusted performances of optimal portfolios. I emphasize the diversification benefits of cryptocurrencies as an asset class within broad risk-managed portfolios with systematic re-balancing.

      I start by considering a few drivers that support the allocation to Bitcoin using on statistical properties of its returns (see Harvey et al (2022) for an excellent review of supporting fundamental factors).

      Rolling Performance of Bitcoin returns

      Stellar performances of core cryptocurrencies, including Bitcoin and Ethereum, have been a major supporting factor for investing into cryptocurrencies. However, these performances are realized with high volatilities, so that risk-adjusted performance, for example measured by Sharpe ratio of average log-returns, is not very significant and have been declining over the past years.

      In Subplot (A) of Figure (1) I show Sharpe ratios for trailing holding periods with the period start given in the first column and the period end given in the first row. For an example, Sharpe ratio corresponding to the period from 31 December 2017 to 1 September 2022 is 0.10. It is obvious that most of large gains are attributed to periods prior to the end of 2017, when Bitcoin was little known to investment community. As a result, any historical analysis covering the early years of Bitcoin performance should be taken with caution.

      Figure (1). Realized performance from the period start (given in the first column) to the period end (given in the first row). Subplot (A) shows Sharpe ratio using average monthly log-returns; Subplot (B) shows skewness of monthly returns

      Correlations

      A low correlation with traditional asset classes has been a supporting factor for allocating to cryptocurrencies within broad portfolios. In Figure (2) I show correlation matrices of monthly returns for three different periods: prior to 2018, from 2018 to August 2022, and from 2020 to August 2022. We see that returns of Bitcoin were little correlated to 60/40 portfolio in the early period, however, the correlation between Bitcoin and equities and bonds increased over the past three years. Remarkably, Bitcoin’s correlation with returns on alternative assets has not changed significantly. Thus, the allocation to Bitcoin is still viable within a diversified portfolio of alternatives.

      Figure (2). Correlation matrix of monthly log-returns between assets in the investable universe for three periods. HFs is HFRX Global Hedge Fund Index, SG Macro is SG Macro Trading Index, SG CTA is SG CTA Index, Gold is SPDR Gold ETF (NYSE ticker GLD).

      Positive skewness of distribution of Bitcoin returns

      Positive skewness of returns of cryptocurrencies is a supporting factor for allocation to this asset class. Indeed, in a very interesting paper, Ang et al (2022) argue that for skewness-seeking investors the allocation to Bitcoin could be optimal even if cross-sectional mean return may be negative. However, we observe that the realized skewness of returns of Bitcoin has been declining, following the decline of its Sharpe ratio, as I show in Subplot (B) of Figure (1). While in early years Bitcoin returns are characterized by high positive skewness, the skewness became negative in recent years. Still, the realized skewness of Bitcoin returns is higher than that of traditional assets. Importantly, Ang et al (2022) apply a two-state Normal mixture model to describe the profile of returns on Bitcoin. Further they apply maximization of CARA utility for skewness-seeking investors using this mixture model. I extend the model of Ang et al to multi-asset universe with N assets including Bitcoin.

      I apply Gaussian Mixture model with M clusters to describe the distribution of asset returns conditional on a few clusters. Within each cluster, the distribution of N-dimensional vector of asset returns is normal with vector of estimated means and covariance matrix. I employ Python module sklearn.mixture for the estimation of Gaussian Mixture model and, through cross-validation, I have concluded that using 3 clusters is most robust to model the distribution of monthly returns of assets in our universe. In Figure below, I show the scatterplot of Bitcoin returns vs returns of 60/40 benchmark portfolio and one-std ellipsoids of Gaussian distribution in estimated clusters for two periods.

      Figure (3). Scatter plot and model clusters using estimated Gaussian mixture model. Subplots (A) and (B) show returns data from 19 July 2010 and from 18 December 2017, respectively, to 31 August 2022. Subplots (C) and (D) show corresponding cluster parameters for Bitcoin.

      Portfolio Allocation Methods

      I consider four quantitative asset allocation methods for construction of optimal portfolios.

      Risk-only based methods which include portfolios with equal risk contribution (denoted by ERC) and with maximum diversification (MaxDiv).

      Risk-return based methods which include portfolios with maximum Sharpe ratio (MaxSharpe and with maximum CARA-utility.

      For each allocation method, I evaluate the following portfolios:

      1. 100% Alts w/o BTC is the portfolio including alternative assets excluding Bitcoin;
      2. 100% Alts with BTC is the portfolio including alternative assets and Bitcoin;
      3. 75%/25% Bal/Alts w/o BTC is the portfolio with fixed allocation to 75% of balanced 60/40 equity/bond portfolio and 25% allocation to alternative assets excluding Bitcoin;
      4. 75%/25% Bal/Alts With BTC is the portfolio with fixed allocation to 75% of balanced 60/40 equity/bond portfolio and 25% allocation to alternative asset classes including Bitcoin.

      Portfolios 1 and 2 enable us to analyze the marginal contribution of including Bitcoin to the investable universe of alternative portfolios. Portfolios 2 and 3 provide with insights into including Bitcoin to alternatives universe for constructing overlays for 60/40 equity/bond portfolio.

      Optimal weights

      In table below, I show the statistics of time series of optimal weights to Bitcoin produced by the four implemented portfolio optimisers. First, it is notable that all four optimizers produced non-zero weights at all quarterly re-balancing (because the time series minimum is higher than zero) for both portfolios, except for the last quarterly rebalancing of the most diversified 75%/25% portfolio. The optimization of CARA utility produced the highest allocation to Bitcoin for both portfolios, because Bitcoin adds most to the skewness of portfolio returns that is favorable for CARA method. However, the CARA portfolios have the lowest historical allocation to Bitcoin because of declining skewness of its returns. The median of optimisers’ average weights is 2.3% and 4.8% for 100% alts and 75%/25% alts/balanced portfolios, respectively. As a result, including of Bitcoin to the investable universe is beneficial for diversification benefits of broad portfolios.

      Figure (4). Minimum, average, maximum, and last weight (as of last quarterly re-balancing on 30 June 2022) to Bitcoin by allocation methods computed using roll-forward simulations from 30 June 2015 to 31 August 2022. Subplot (A) shows the weight in the 100% alternatives portfolio, Subplot (B) shows the weight in the 75%/25% balanced and alts portfolio. ERC is portfolio with equal risk contribution, MaxDiv is portfolio with maximum diversification, MaxSharpe is portfolio with maximum Sharpe ratio, CARA-3 is portfolio with maximum CARA utility under Gaussian mixture model with 3 clusters.

      Trailing performance

      In below table I show trailing realized Sharpe ratios of simulated optimal portfolios. I add equally weighted portfolio as a benchmark. For 100% alts portfolio w/o and with Bitcoin, the weight of Bitcoin is fixed to 0% and 2%, respectively, while the rest is equally allocated to alternative assets. For 75%/25% balanced/alts portfolio w/o and with Bitcoin, the weight of Bitcoin is fixed to 0% and 0.5%, respectively, the weight of 60/40 portfolio is 75% and rest is equally allocated to alternatives.

      First, comparing 100\% alts portfolio w/o and with Bitcoin, we see that adding Bitcoin to the investable universe increased Sharpe ratios over the past periods of 2, 3, 5, 7 years except for the portfolio with maximum Sharpe ratio. The performance over the last year is better for portfolios without Bitcoin. However, I emphasize a robust positive performance of risk-based portfolios with and without Bitcoin in comparison to a poor performance of the benchmark balanced portfolio.

      Contrasting 75%/25% balanced/alts portfolio w/o and with Bitcoin, we see that including Bitcoin benefits most of portfolios over all trailing periods. The exceptions include, first, the portfolio with the maximum Sharpe ratio and, second, for the ERC portfolio which slightly under-performs when Bitcoin is added.

      A poor relative performance of portfolios with maximum Sharpe ratio highlights the hazard of relying on past data for forecast of future returns. In contrast, out-performers include risk-based methods that rely on the dynamic update of covariance matrices using most recent data.

      Figure (5) Sharpe ratios for trailing periods of 1, 2, 3, 5, 7 years starting from 31 August 2021, 2020, 2019, 2017, 2016, respectively, up to 31 August 2022. 60/40 is the benchmark equity/bond balanced portfolio, and EqualWeight w/o and with BTC are equally weighted portfolios with fixed 0% and 2% weights to Bitcoin, respectively.

      Conclusion

      I present empirical evidence that it has been optimal to include Bitcoin to an investable universe for alternative and blended portfolios, using portfolio diversification metrics. Using roll-forward analysis with dynamic updates of portfolio inputs, I also find that adding Bitcoin have improved performances of optimal portfolios.

      I conclude that adding Bitcoin, and more generally, a diversified basket of cryptocurrencies, to the investable universe of broad portfolios may be beneficial for both alternative portfolios and blended balanced/alternative portfolios. I emphasize the need for a robust portfolio allocation method with regular updates of portfolio inputs and re-balancing of portfolio weights.

      My favorite allocation method is the optimiser of portfolio diversification metric along with the optimiser of the CARA utility under Gaussian mixture distribution for skewness-seeking investors.

      Further details are provided in my paper on SSRN http://ssrn.com/abstract=4217841

      Disclaimer

      The views and opinions presented in this article and post are mine alone. This research is not an investment advice.

      Share this:

      • Share on LinkedIn (Opens in new window) LinkedIn
      • Share on X (Opens in new window) X
      • Share on WhatsApp (Opens in new window) WhatsApp
      • Email a link to a friend (Opens in new window) Email
      • Print (Opens in new window) Print
      Posted in Asset Allocation, Crypto, Decentralized Finance, Quantitative Strategies | 2 Comments
    ← Older posts
    • Receive notifications of new posts by email

      Join 339 other subscribers
    • Recent Posts

      • The Science and Practice of Trend-following Systems: paper and presentation
      • Lognormal Stochastic Volatility – Youtube Seminar and Slides
      • Optimal allocation to cryptocurrencies in diversified portfolios – update on research paper
      • Unified Approach for Hedging Impermanent Loss of Liquidity Provision – Research paper
      • Log-normal stochastic volatility with quadratic drift – open access publication
      • Stochastic Volatility for Factor Heath-Jarrow-Morton Framework – research paper
      • AD Derivatives podcast on volatility modeling and DeFi
      • What is a robust stochastic volatility model – research paper
      • Robust Log-normal Stochastic Volatility for Interest Rate Dynamics – research paper
      • Optimal Allocation to Cryptocurrencies in Diversified Portfolios – research paper
      • Log-normal Stochastic Volatility Model for Assets with Positive Return-Volatility Correlation – research paper
      • Developing systematic smart beta strategies for crypto assets – QuantMinds Presentation
      • Toward an efficient hybrid method for pricing barrier options on assets with stochastic volatility – research paper
      • Paper on Automated Market Making for DeFi: arbitrage-fee exchange between on-chain and traditional markets
      • Tail risk of systematic investment strategies and risk-premia alpha
      • Trend-Following CTAs vs Alternative Risk-Premia (ARP) products: crisis beta vs risk-premia alpha
      • My talk on Machine Learning in Finance: why Alternative Risk Premia (ARP) products failed
      • Why Python for quantitative trading?
      • Machine Learning for Volatility Trading
      • Trend-following strategies for tail-risk hedging and alpha generation
    • Categories

      • Asset Allocation (10)
      • Crypto (8)
      • Decentralized Finance (5)
      • Python (4)
      • Quantitative Strategies (17)
      • Trend-following (4)
      • Uncategorized (20)
      • Volatility Modeling (18)
      • Volatility Trading (13)

 

Loading Comments...