I have an strategy yellow in control TAB since I introduce an order in SIM101 account and try to close it with market already closed. I have tried SyncAccountPosition )= true and flatten everthing however, yellow persists.
I have tried adding next code
if historical
return;
It Works but unfortunately I need to run historical data to accumulate profits over previous sessions and that solution do no fit me?. Any other suggestions?
Regards,
Fernando
Comment