Thanks for your questions.
I used the following print to observe this behavior in OnOrderUpdate. (This was used in the SampleOnOrderUpdate strategy testing against a paper trading account, but the application would be the same for using Account OrderUpdate events.
Print(String.Format("State: {0} OrderID: {1} ClientID: {2} ID: {3} SignalName: {4} fromEntrySignal: {5}", order.OrderState, order.OrderId, order.ClientId, order.Id, order.Name, order.FromEntrySignal));
Please let us know if there is anything else we can do to help.
Leave a comment: