This algorithm is perfect for people interested in live trading. It is very simple. It creates a portfolio and then rebalances on a regular basis - daily, or weekly, or however you specify. It is long-only, with no shorting and no leverage.
This particular version invests in an equal-weighted portfolio of 9 sector ETFs, and rebalances every day to keep the portfolio weights constant.
We have been adding quants to our pilot live trading program every day (if you are on the waitlist already don't worry we are coming for you soon!) - and one thing that I've learned so far is that we need to be sharing more sample code that is designed with live trading in mind.
Thanks Seong for your help coding this up.