I am testing strategy under using market replay. NT reported one strategy submitted an order that generated the following error 'OrderRejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself. After that output lists NT cancelling all orders, Entered internal PlaceOrder(); My strategy only getting "PendingSubmit" portion for NT generated "Close"
A few questions:
1. Under what circumstances a market replay would reject order?
2. My strategy did not get the chance to receive "OrderRejected" during OnOrderUpdate. Why is this so?, which bring next question
3. How can we handle so it does not terminate?
Thanks.
Best Regards.
Edward K.

thanks
Comment