Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Cancel Orders - v0.2.0

Choose a tag to compare

@YameenMalik YameenMalik released this 31 Mar 19:16
· 46 commits to main since this release
9e510d7

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 to cancel_all_orders.
  • The method cancel_all_orders now accepts a mendatory parameter status: List[ORDER_STATUS]. All orders for the provided order statuses will be fetched, signed and sent for cancellation on exchange.