Cancel open order with filled quantity

p7x
p7x edited April 1 in Python client
Is it possible to cancel an order which has received fill partly, i.e. filled_quantity != 0 but is not complete, i.e. has some pending_quantity? What is the status of the order after the cancellation request? Will it raise any exception or will it give a success response?
  • rakeshr
    Is it possible to cancel an order which has received fill partly, i.e. filled_quantity != 0 but is not complete, i.e. has some pending_quantity?
    Yes, you can cancel un-filled pending qty. Go through this documentation.
    What is the status of the order after the cancellation request?
    Will it raise any exception or will it give a success response?
    You will receive Order Status : CANCELLED for cancelled order.
Sign In or Register to comment.