Thursday 17 October 2019

Same system + different assets =?


Have read in multiple books that diversifying across investment models and assets is a must and wanted to check this for myself, so here it is.

All data is weekly (since I have weekly data readily available). For this test I have applied a simple moving average to the Nifty Spot index and the same moving average to the S&P 10 Year Bond total return index. Let’s not get into an argument over what Is better – my main focus of studying this is:
·         Linearity of the combined curve – i.e. was it a smoother ride
·         Max drawdowns from peak
·         Portfolio volatility

We will be comparing 2 portfolios – Rs. 100 allocated to a Nifty System and Rs. 100 divided equally, running the same system on Nifty and Bonds. So at the start date Rs. 50 is allocated to the Nifty system and Rs. 50 is allocated to the Bonds system, that’s it – and then we buy & sell on the close as per the system rules on the day of the signal. Again, I know buying the exact close is not possible due to slippage and commissions but for simplicity let’s just keep the focus on the 3 things mentioned above.

First up, the linearity – who doesn’t want a smoother ride eh? – I am using the R-squared number as a measure for a smoother upward sloping curve. The higher the R-squared number the smoother the ride. From the below charts we can see that the Nifty system has a R-sq. value of 0.9141 while our combined system’s R-sq. is at 0.9622 indicating a better linear curve.


Now on to the Max drawdowns – again, it gets better for the combined system as majority of the time the max drawdown of the combined system is lesser than using just the Nifty system.

Lastly, to check the volatility of returns of the 2 systems I calculated the standard deviation (SD) of the weekly returns of both systems for the entire data set. The SD of the Nifty system is 2.04% while that of the combined system comes at 0.73%!! that’s less than half of the standalone Nifty system. Although the combined system scored better on all 3 parameters but it came at the cost of returns. Can’t get everything J      

These are just baby steps and basic building blocks; I think I will test out the combined system with annual rebalancing in a future post, as of now we have left the starting allocation static so will have to check if rebalancing provides a kicker. Also, if you can point me to any books or websites that have such tests, that would be great.

Thank you for reading! J

Sunday 13 October 2019

Weekly Analysis – 11th October 2019.


Note : This is not a recommendation and I am not a registered analyst, these are just data points and an assessment of the positives and negatives from a longer term point of view.

Nifty Weekly

Chart 1. Longer term trend model based on weekly prices is in sell/exit mode and I am holding Liquidbees at the moment.  

Chart 2 Nifty total returns/10 year Bond index ratio is BELOW its 40-week MA & momentum has shifted to bonds, both indicating longer term outperformance of bonds vs Nifty. We even have a downward sloping moving average. Though the sample size maybe small but those runaway bull markets have happened with Nifty/Bond ratio above its MA and the slope of the MA also trending upwards.

Chart 3 Longer term intermarket strength as per the RS matrix is in Energy, FMCG & Infra. With Metals and Media at the bottom.

Chart 4 2 of the broader indices are above their respective 40-week MA, and only 3 of the sector indices are above their respective 40-week MA. One can see that Nifty returns have generally been flattish to negative at such readings.

Chart 5 Avg. & Median distance of all sectors from their 52-week closing high is at -16% & -12%.



Sector Momentum Update


Updating the short-term momentum model for the week ending 11th October 2019.

Note: This does not include commissions, slippage & taxes and I have no positions in this. Just posting for academic purpose. + We do not have any sector ETF’s.



Saturday 5 October 2019

Weekly Analysis – 4th October 2019.


Note : This is not a recommendation and I am not a registered analyst, these are just data points and an assessment of the positives and negatives from a longer term point of view.

Nifty Weekly

Chart 1. Longer term trend model based on weekly prices is in sell/exit mode and I am holding Liquidbees at the moment.  

Chart 2 Nifty total returns/10 year Bond index ratio is BELOW its 40-week MA & momentum has shifted to bonds, both indicating longer term outperformance of bonds vs Nifty.

Chart 3 Longer term intermarket strength as per the RS matrix is in Energy, FMCG & IT. With Metals and Media at the bottom.

Chart 4 A U-turn on this chart, 0 of the broader indices are now above their respective 40-week MA, and only 3 of the sector indices are still above their respective 40-week MA. One can see that Nifty returns have generally been flattish to negative at such readings.

Chart 5 Avg. & Median distance of all sectors from their 52-week closing high is at -16% & -12%.




Sector Momentum Update


Updating the short-term momentum model for the week ending 4th October 2019.

Note: This does not include commissions, slippage & taxes and I have no positions in this. Just posting for academic purpose. + We do not have any sector ETF’s.




Monthly Update for the equity-bond rotation models


Updated figures for the equity-bond rotation models as on end Sep’19.

Data set: Nifty Total Returns Index & S&P BSE India 10 Year Sovereign Bond Index

Note: This does not include commissions, slippage & taxes.

I first wrote about these here:


The Moving average model switched to Nifty Total Returns index in end July 2019
The Momentum model switched to Bond Total Returns index in end June 2019

Stats: