I have a couple of questions on cancelling partilly filled orders.
The CancelOrder(IOrder order) command does not specify the cancellation quantity. So when an entry order (IOrder entryOrder) is partially filled and then CancelOrder(entryOrder) is sent:
a) Will the CancelOrder act on the remaining quantity by default?
b) Will the target and stop orders associated with the partially filled quantity be affected in any way assuming target and stop are submitted based on execution quantity?
Regards,
Comment