I implemented the algorithm from Stocks and Commodities Magazine V32.1 page 36 by Todd and Steven Winkler.
Algorithm:
Select worst 3 performing ETF sectors at end of year as measured by Returns over last year
Hold them 1 year
Repeat
Modifications from paper:
If trading starts outside of last day of December buy lowest ranked
Rebalance portfolio on a daily basis because Quantopian doesn't have GTC orders
- It means that if orders aren't filled on day placed they are cancelled leaving an under positioned portfolio
- It keeps leverage at about 1 but it generates more trades (which QT includes commissions and slippage for)
There is also an option to re-rank on a monthly basis. This did not work as well in my backtesting.
I couldn't verify all the backtests from the paper because Quantopian only has historical data to about 2002. However the basic premise of the paper is confirmed and the backtest produces better returns than just holding SPY.
This algorithm however is not for the faint of heart because 50%+ drawdowns can occur.
Cheers,
John