You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
i've just added
@authentication_required
def cancel_trigger_order(self, order_id: str) -> dict:
return self._delete(f'conditional_orders/{order_id}')
and it works just fine
On Sun, Mar 7, 2021 at 1:26 AM zombiegriff ***@***.***> wrote:
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}')
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCGUYP7FD5FFJI46CSSTKDTCLB33ANCNFSM4YVRTUOQ>
.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can't cancel trigger orders with the cancel_order()
Probably need to have another function with DELETE /conditional_orders/{id}
The text was updated successfully, but these errors were encountered: