Rotation strategy using Norgate
Author: Musashi1970
Creation Date: 4/21/2021 5:15 PM
profile picture

Musashi1970

#1
Hi,

I am developing a rotation strategy for stocks of an index (e.g. N100). Having Norgate, I would like to do that without survivorship bias.

I tried to do that similarly as in portfolio strategies:

CODE:
Please log in to see this code.


But when I print the 'Assets'-list for a certain day, it seems that all ticker of the dataset are included, independend if they were on this particular day in the index or not.

Is there a way to do this the way I planned?

Thank you
profile picture

Eugene

#2
Hi,

It's super easy to accomplish in Wealth-Lab 7 where there's no need to write code to get the job done. A survivorship bias free Nasdaq 100 DataSet is included with Wealth-Data. You would just run a Rotation strategy on it, which in its turn does not require programming too.

On how it works please see the WL7 FAQ, specifically "Why a WealthData DataSet like Nasdaq 100 has almost 300 symbols and not 100 ?"

https://www.wealth-lab.com/Support/Faq
profile picture

Cone

#3
It's not clear from your snippet why that wouldn't work, but here's how I did it back in the old days -

CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).