I took a bond rotation strategy from Ilya Kipnis at QuantStrat TradeR. He coded the strategy in R, and I simply translated it into Python. I've since played around with the strategy a lot by tweaking various parameters. What's attached here is the original strategy. Unfortunately, I don't think it's a good strategy for a few reasons. Here are two main ones:
- If you change the reallocation scheduled function from month start to month end, the strategy does significantly worse (returns from ~100% to ~60% in the same time period.
- If you change / add bond ETFs, the strategy again does much worse. This suggests that the original creator (not Ilya) overfit to securities that work well.
Any thoughts?