I opened a chart and I tried to run the NT CrossMA sample strategy but the OBU function was not fired .
I put print log in the beginning of OnStateChange function to print the state.
the Results is:
The strategy moved to State.SetDefaults after that to State.Configure and then to State.Terminated
the strategy did not moved to the other state (State.DataLoaded,State.Historical,State.Realtime. ..)
I tried also to put debugger break point in the start of the OBU , but the program didn't reach to the break point.
I also tried to do that with the playback and I got the results.
In chart you can see the strategy.
Sincerely,Kobi
Comment