During training, adviseLong and adviseShort return True unconditionally. So, Zorro makes a trade (2 trades in this case) unconditionally at every single bar. This is how Zorro knows what target to train against. These trades all need to be independent with no interference. The account state, other open trades, etc., should not play a role.