Conceptually I think that in OnBarUpdate I would simply execute CancelOrder(entryOrder);
then in OnOrderUpdate() I need to test for entryOrder.orderState == OrderState.Cancelled
to set entryOrder = null;
Is that the correct approach for this example?
Thank you
Gio

Comment