I have two questions about order behavior. My strategy is set to Unmanaged Approach and RealtimeErrorHandling.IgnoreAllErrors.
1. When a ChangeOrder() request is triggered in the strategy, but for whatever reason the ChangeOrder() can't be completed (market data lag, poor script logic), does the order that I wanted to change remain in place where it was before I tried to change it? Or does the order get cancelled?
2. In the same scenario as above, when a ChangeOrder() request is "rejected" for whatever reason, does this rejection trigger the OrderState.Rejected state in OnOrderUpdate?
Thank you in advance for your time, I look forward to your reply.
GLFX005

Comment