It stops trading if this counter reaches a configured amount. This counter is initialized to zero in State.DataLoaded.
However whenever I enable/disable the strategy (at least in playback mode where I'm developing), via print statements I can see this code being executed and it increments my counter. Then the strategy doesn't start because the counter has hit its limit.
I guess I must be missing something here in the startup/event loop process, to keep this from happening? If you can help me please.
thanks

Comment