Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CancelOrders #83

Open
christopherbecker opened this issue Nov 24, 2022 · 2 comments
Open

CancelOrders #83

christopherbecker opened this issue Nov 24, 2022 · 2 comments

Comments

@christopherbecker
Copy link

Hi

I am attempting to CancelOrders, but it doesn't work.

Can someone perhaps give me an example?

This is my code:

await kraken.api("CancelOrder", {"txid":"hidden-hidden-hidden"});

Here is the Error:

...kraken-api/kraken.js:54 throw new Error(error.join(', ')); ^ Error: Order:Unknown order

@christopherbecker
Copy link
Author

The order does exist so I'm not sure why it says Unknown order

@christopherbecker
Copy link
Author

I found the issue, I was using the refid instead of the actual id they look quite similar.

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

No branches or pull requests

1 participant