Jesse:
First, I have certainly learned a lot about how NT8 works (and certainly have more to learn). So, thanks for the help.
Second, I have attached the cleaned up version and moved my control to OnAccountExecutionUpdate() from OnOrderUpdate() (based on further reading of the Guide).
Third, I've modified the code to accommodate changes in the Account Selection (during Entry working and filled orders).
And fourth, a curious observation while testing using Playback. In the NinjaScript Output window, execution events seem to be revisited twice (this does not occur for Sim101 testing). While this does not affect proper operation of the Strategy, I am curious as to why this is occurring. Any thoughts?
One last point. Removing Dispatcher.InvokeAsync() resulted in double Entry orders (the 2nd with a blank name); leaving it in seems to work better. Given the info in the Guide, I would have expected no change when removed (perhaps the double executions in Playback is playing a role here).
Thanks,
Ron
Comment