Tag: volatility

Reducing Crash Risk in the Nifty Alpha Indices

The NSE has a couple of strategy indices – the NIFTY Alpha 50 Index and the NIFTY100 Alpha 30 Index – based on historical CAPM alphas. The former selects 50 stocks from the largest 300 stocks whereas the latter selects 30 stocks from the NIFTY 100 index.

First, a look at a simple buy-and-hold strategy.

Buy-and-Hold Curves

NIFTY ALPHA 50 TR vs NIFTY 50 TR
NIFTY100 ALPHA 30 TR vs NIFTY 50 TR
NIFTY ALPHA 50 TR vs NIFTY100 ALPHA 30 TR

The alpha indices have out-performed the plain-vanilla NIFTY 50. However, what jumps out off the page is the sheer depth and length of the drawdows that these indices have made.

Even though they give vastly better returns than the NIFTY 50 index, the lived experience would be too painful for most investors. Is there a way to reduce these drawdowns while retaining most of the out-performance?

In a 2012 paper, Momentum has its moments, Barroso and Santa-Clara outline a way in which historical volatility could be used to reduce momentum crashes.

Strategy Outline

The basic idea is that momentum risk is time-varying and sticky. And, periods of high risk are followed by low returns.

rolling 100-day sd
rolling 200-day sd

To test this theory out on the Alpha indices, we first split the time series into halves. The first to “train” and the second to “test.” We need a training set because we are not sure what the appropriate look-back for calculating risk should be (we check 100- and 200-days). The test set is a check of out-of-sample behavior of the strategy.

The theory laid out in the paper, that periods of high risk is followed by periods of low returns, is true. Subsequent returns when std. dev. is in the bottom deciles show large negative bias. Also, perhaps indicating a bit of mean-reversion, returns after std. dev. is in the 7-9th decile, have fat right tails.

NIFTY ALPHA 50 200-day cumulative returns by 200-day sd decile
NIFTY100 ALPHA 30 200-day cumulative returns by 200-day sd decile

Train In-Sample

The next question is the appropriate lookback and deciles for calculating the std. dev. Running this on the training set, we find:

training set: NIFTY ALPHA 50 – 200
training set: NIFTY100 ALPHA 30 – 200
training results

A strategy that goes long Alpha when std. dev. is in the 1-5 deciles side-steps severe drawdowns in the training set. Note, however, that it under-performed buy-and-hold during the melt-up of 2007.

Test Out-of-Sample

Applying a 200-day lookback on both the indices over the test set, we find that the strategy continues to side-step drawdowns but no longer out-performs buy-and-hold by a large margin.

test set: NIFTY ALPHA 50 – 200
test set: NIFTY100 ALPHA 30 – 200
test results

Conclusion

Using historical volatility (std. dev.) reduces drawdown risk in Alpha indices. But it comes at the cost of reduced overall returns over buy-and-hold over certain holding periods. However, given the magnitude of the dodge in 2008 and 2016, it is well worth the effort (and cost) if it helps keep the discipline.

Check out the code for this analysis on pluto. Questions? Slack me!

Volatility and Returns

Indian mid-caps, represented by the NIFTY MIDCAP 100 TR index, has out-performed its large-cap peer, the NIFTY 50 TR index.
NIFTY 50 TR vs. MIDCAP 100 TR

It has done so with higher volatility. Here is the rolling 200-week standard deviation of weekly returns of the two indices:
standard deviation of weekly returns

MIDCAP volatility has been persistently higher than NIFTY volatility in the past:
ratio of standard deviations

A portfolio of bonds and mid-caps should exhibit lower volatility than an all-equity portfolio. Here are the standard-deviation ratios for different allocations to bonds:
standard deviation ratios of different bond allocations
B05, for example, represents a portfolio of 5% short-term bonds and 95% MIDCAP index. As allocation to bonds increases, portfolio volatility decreases.

We see from the chart above that a 75% MIDCAP + 25% BOND portfolio has almost never seen volatility greater than an all NIFTY portfolio. So, what are we giving up in returns to reduce volatility? About 2% in returns:

75% MIDCAP + 25% BOND returns

Take-away

  1. On an annualized basis, the allocation portfolio gives up about 2% in returns compared to all MIDCAP portfolio and is on par with NIFTY’s.
  2. After taxes and transaction costs, expect the allocation portfolio to under-perform buy-and-hold NIFTY.
  3. No pain. No gain.

Code and charts are on github.

Is the Low Volatility Regime Breaking?

NIFTY 50 volatility the last couple of years have been extremely low by historical standards. If you look at the rolling median of weekly returns over 50 weeks (about a year), you can see how the range has narrowed:
median weekly returns
The standard deviation, a popular measure of volatility, has come down as well:
standard deviation of weekly returns

As the charts illustrate, the markets have been moving in tight ranges. And narratives have been built around it:

  1. Global central banks (US, Europe, Japan) have been flooding the markets with liquidity, essentially writing a put on the market.
  2. Markets have become less riskier thanks to increased regulations after the 2008 global financial crisis.
  3. Investors have a new-found enthusiasm for “SIP it and forget it.” This, plus the NPS bid, has cushioned the NIFTY 50.
  4. Increased liquidity in the derivatives market has allowed investors to buy volatility, thereby reducing the need to decrease risk by offloading equities in the cash market.
  5. The majority government at the center has provided policy certainty and political scams have not paralyzed decision making.

Narratives can change overnight. And if the last few months have taught us anything, the market drives the narrative. Also, new investors have only seen a low volatility environment and think it to be “normal.” So any reversion to the old volatility regime would be a rude awakening. Are we really in a new world or is volatility about to revert to its longer-term mean?

Code and additional charts on github.
Also read our Volatility Collection.

Stock and Bond Correlations and Volatility

Stocks and Bonds are not correlated. They are not negatively correlated. And neither are they positively correlated. One doesn’t “zig” when the other “zags.” This is exactly why portfolio allocations start with stocks and bonds – the diversification math works on uncorrelated asset classes. When you combine the two assets together you get lower portfolio volatility.

Here are some charts that show how the two asset classes differ:

S&P 500 and 3-month t-bills

sp500.tbill.correlation.1mo

sp500.tbill.volatility.1mo

Nifty 50 and 0-5 year TRI

nifty50.z5.correlation.1mo

nifty50.z5.volatility.1mo

Country Equity Index Volatility

Previously, we saw how different country indices performed relative to their deepest drawdowns. Peak drawdowns only tell half the story. Here, we look at historical volatility. To keep things simple, we will define volatility as the standard deviation of daily returns. i.e., close-to-close volatility.

The country-ticker key can be found here.

2004 through 2018

NASDAQOMX.volatility

Year-wise

Bar plot:
NASDAQOMX.volatility.yearwise
Heat map:
NASDAQOMX.volatility.yearwise.heat

Thoughts

  1. The year 2017 was uniformly a low-volatility year. So were 2005 and 2014.
  2. Some countries, Greece (NQGRT) for example, have been extremely volatile. Some, Malaysia (NQMYT) for example, have been surprisingly less.
  3. India (NQINT) has been middle of the pack.

Code and charts on github.

Source: NASDAQOMX data from Quandl.