we get order-state Rejected with OverFill == true.
I understand, that this happens, when all contracts are filled.
But what happens, if not all contracts are filled? ie.only partial fill occured
Problem scenario
Imaging we have order with quantity of 100 contracts and we sent cancellation request.
- 50 contracts were filled
- and remaining 50 contracts were cancelled.
This scenario is something in between - there is partial cancel and partial overfill:
- cancellation was partially successful (50cts over-filled, but other 50cts were successfully cancelled.
- overfill was also partial - not whole order-quantity was filled - only 50cts
Question
- What will be the resulting order-state now? Rejected or Cancelled ?
- Will be OverFill == true also?
Comment