Hi Zheka, I don't understand how to add a while(algo(loop when there is only one algorithm in this strategy.

I'm not sure that Zorro can optimize a rotation strategy. It seems that Zorro's optimization algorithm optimizes each asset separately.