{"id":2117073,"date":"2019-11-21T20:27:28","date_gmt":"2019-11-21T14:57:28","guid":{"rendered":"http:\/\/stockviz.biz\/index.php\/?p=2117073"},"modified":"2020-10-27T09:47:30","modified_gmt":"2020-10-27T04:17:30","slug":"reducing-crash-risk-in-the-nifty-alpha-indices","status":"publish","type":"post","link":"https:\/\/stockviz.biz\/index.php\/2019\/11\/21\/reducing-crash-risk-in-the-nifty-alpha-indices\/","title":{"rendered":"Reducing Crash Risk in the Nifty Alpha Indices"},"content":{"rendered":"\n<p>The NSE has a couple of strategy indices &#8211;  the  NIFTY Alpha 50 Index and the NIFTY100 Alpha 30 Index &#8211; 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.<\/p>\n\n\n\n<p>First, a look at a simple buy-and-hold strategy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Buy-and-Hold Curves<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/1d259f64fb032f364c06d282dedf851d1-1024x585.png\" alt=\"\" class=\"wp-image-2117083\" srcset=\"https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/1d259f64fb032f364c06d282dedf851d1-1024x585.png 1024w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/1d259f64fb032f364c06d282dedf851d1-300x171.png 300w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/1d259f64fb032f364c06d282dedf851d1-768x439.png 768w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/1d259f64fb032f364c06d282dedf851d1-250x143.png 250w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/1d259f64fb032f364c06d282dedf851d1.png 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>NIFTY ALPHA 50 TR vs NIFTY 50 TR<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/4f66b216269ff433d7a97c5bdc8b8e2d1-1024x585.png\" alt=\"\" class=\"wp-image-2117093\" srcset=\"https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/4f66b216269ff433d7a97c5bdc8b8e2d1-1024x585.png 1024w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/4f66b216269ff433d7a97c5bdc8b8e2d1-300x171.png 300w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/4f66b216269ff433d7a97c5bdc8b8e2d1-768x439.png 768w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/4f66b216269ff433d7a97c5bdc8b8e2d1-250x143.png 250w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/4f66b216269ff433d7a97c5bdc8b8e2d1.png 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>NIFTY100 ALPHA 30 TR vs NIFTY 50 TR<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/689c6a8e899c22c321bb9be53e8b60e21-1024x585.png\" alt=\"\" class=\"wp-image-2117113\" srcset=\"https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/689c6a8e899c22c321bb9be53e8b60e21-1024x585.png 1024w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/689c6a8e899c22c321bb9be53e8b60e21-300x171.png 300w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/689c6a8e899c22c321bb9be53e8b60e21-768x439.png 768w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/689c6a8e899c22c321bb9be53e8b60e21-250x143.png 250w, https:\/\/portalvhds29z8xdrqhczq.blob.core.windows.net\/wordpress\/2019\/11\/689c6a8e899c22c321bb9be53e8b60e21.png 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>NIFTY ALPHA 50 TR vs NIFTY100 ALPHA 30 TR<\/figcaption><\/figure>\n\n\n\n<p>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. <\/p>\n\n\n\n<p>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?<\/p>\n\n\n\n<p>In a 2012 paper,  <a rel=\"noreferrer noopener\" aria-label=\"Momentum has its moments (opens in a new tab)\" href=\"https:\/\/papers.ssrn.com\/sol3\/papers.cfm?abstract_id=2041429\" target=\"_blank\">Momentum has its moments<\/a>,  Barroso and Santa-Clara outline a way in which historical volatility could be used to reduce momentum crashes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Strategy Outline<\/h3>\n\n\n\n<p>The basic idea is that momentum risk is time-varying and sticky. And, periods of high risk are followed by low returns.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/sd.100.png\" alt=\"\" \/><figcaption>rolling 100-day sd<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/sd.200.png\" alt=\"\" \/><figcaption> rolling 200-day sd <\/figcaption><\/figure>\n\n\n\n<p>To test this theory out on the Alpha indices, we first split the time series into halves. The first to &#8220;train&#8221; and the second to &#8220;test.&#8221; We need a <em>training set<\/em> because we are not sure what the appropriate look-back for calculating risk should be (we check 100- and 200-days). The <em>test set<\/em> is a check of out-of-sample behavior of the strategy. <\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/NIFTY%20ALPHA%2050%20violin%20200.png\" alt=\"\" \/><figcaption>NIFTY ALPHA 50 200-day cumulative returns by 200-day sd decile<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/NIFTY100%20ALPHA%2030%20violin%20200.png\" alt=\"\" \/><figcaption> NIFTY100 ALPHA 30 200-day cumulative returns by 200-day sd decile <\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Train In-Sample<\/h3>\n\n\n\n<p>The next question is the appropriate lookback and deciles for calculating the std. dev. Running this on the <em>training set, <\/em>we find:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/training\/NIFTY%20ALPHA%2050%20-%20200.png\" alt=\"\" \/><figcaption>training set: NIFTY ALPHA 50 &#8211; 200<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/training\/NIFTY100%20ALPHA%2030%20-%20200.png\" alt=\"\" \/><figcaption> training set: NIFTY100 ALPHA 30 &#8211; 200<\/figcaption><\/figure>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/training.result.png\" alt=\"\" \/><figcaption>training results<\/figcaption><\/figure><\/div>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Test Out-of-Sample<\/h3>\n\n\n\n<p>Applying a 200-day lookback on both the indices over the <em>test set<\/em>, we find that the strategy continues to side-step drawdowns but no longer out-performs buy-and-hold by a large margin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/test\/NIFTY%20ALPHA%2050%20-%20200%20TEST.png\" alt=\"\" \/><figcaption>test set: NIFTY ALPHA 50 &#8211; 200 <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/test\/NIFTY100%20ALPHA%2030%20-%20200%20TEST.png\" alt=\"\" \/><figcaption>  test set: NIFTY100 ALPHA 30 &#8211; 200 <\/figcaption><\/figure>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/stockviz\/blog\/master\/volatility\/alpha-index\/test.result.png\" alt=\"\" \/><figcaption>test results <\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Check out the code for this analysis on&nbsp;<a href=\"https:\/\/github.com\/stockviz\/plutons\/blob\/master\/alpha-index.ipynb\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">pluto<\/a>. Questions?&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/join.slack.com\/t\/plutonation\/shared_invite\/enQtNzI5Njg3NTkzNzYwLWE2NzI0ODM5N2FjMDQ2ZjMwMWRlY2FmNWZkYzU1OGFhY2NhNzg3MDM0MjEwMmZjNWI2MThlMjZiNWJiMjEwYjM\" target=\"_blank\">Slack me<\/a>! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The NSE has a couple of strategy indices &#8211; the NIFTY Alpha 50 Index and the NIFTY100 Alpha 30 Index &#8211; 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. &hellip; <\/p>\n","protected":false},"author":2,"featured_media":2091073,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3471],"tags":[3491,3391,1150],"class_list":["post-2117073","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-investing-insight","tag-momentum","tag-nifty","tag-volatility","entry"],"_links":{"self":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/2117073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/comments?post=2117073"}],"version-history":[{"count":0,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/posts\/2117073\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media\/2091073"}],"wp:attachment":[{"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/media?parent=2117073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/categories?post=2117073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stockviz.biz\/index.php\/wp-json\/wp\/v2\/tags?post=2117073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}