Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Can't cancel trigger orders with the cancel order function #8

Open
anton-r99 opened this issue Mar 5, 2021 · 3 comments
Open

Can't cancel trigger orders with the cancel order function #8

anton-r99 opened this issue Mar 5, 2021 · 3 comments

Comments

@anton-r99
Copy link

Can't cancel trigger orders with the cancel_order()
Probably need to have another function with DELETE /conditional_orders/{id}

@zombiegriff
Copy link

i have used client.cancel_orders(pair) to cancel all trigger orders on a specific coin.
also works without pair, but of course does on all coins.

@zombiegriff
Copy link

cancel_order needs an order id to know which order to cancel. you can specify conditional or limit order in cancel_orders(line 153 maybe)

line 149
def cancel_order(self, order_id: str) -> dict:
return self._delete(f'orders/{order_id}')

@anton-r99
Copy link
Author

anton-r99 commented Mar 7, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants