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

unable to submit transactions consistently #31

Open
shortthefomo opened this issue Apr 2, 2022 · 2 comments
Open

unable to submit transactions consistently #31

shortthefomo opened this issue Apr 2, 2022 · 2 comments

Comments

@shortthefomo
Copy link

Screen Shot 2022-04-02 at 14 02 50

Adding multiple orders back to back at different rate often fails with this error. This is impossible to figure why...

@joadr
Copy link
Contributor

joadr commented Apr 11, 2022

This is due to a ratelimit on creating and deleting orders, it's actually that the database rejects when a transaction on the same user is already being made... We are currently updating this behavior and will be released at the end of this Q2.

If you are cancelling and placing new orders at the same time, there's a mutation that allows cancelling multiple orders in a single call and might help reduce the occurrence of this error.

http://docs.orionx.com/docs/mutations#cancelmultipleorders-privada

@shortthefomo
Copy link
Author

Rocking thank you will give it a look!

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

2 participants