I was wandering why, what it really means but I can't find an explanation in the forum or documentation.
Since I want the code to be also compatible with Rithmic, can I rely on the the state reported in OnOrderUpdate ? particularly for ,working, accepted, filled, partFilled, and Cancelled? I ask because OnExecutionUpdate documentation seems to indicate to not to rely on OnOrderUpdate for quantities.
Especially I see that I should code something similar to what's indicated in the documentation:
/ if entry order exists if (entryOrder != null && entryOrder == order) { Print(order.ToString()); if (order.OrderState == OrderState.Cancelled) { // Do something here entryOrder = null; } }
Thank you
Gio
Comment