Cancel Orders - v0.2.0
The client now allows users to specify the status of orders that they wish to cancel. In previous versions of the client cancel_all_open_orders
method was hardcoded to only cancel the OPEN
and PARTIAL_FILLED
orders but the extension allows users to specify any status of orders that they want to cancel.
Breaking Changes:
cancel_all_open_orders
is now renamed tocancel_all_orders
.- The method
cancel_all_orders
now accepts a mendatory parameterstatus: List[ORDER_STATUS]
. All orders for the provided order statuses will be fetched, signed and sent for cancellation on exchange.