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

Limit Order Bad Request #32

Open
kayuksel opened this issue May 28, 2019 · 2 comments
Open

Limit Order Bad Request #32

kayuksel opened this issue May 28, 2019 · 2 comments

Comments

@kayuksel
Copy link

I am getting Bad Request when I try using limit orders (I am able to make the same order using the market orders - without the price). Hence, I guess that the price is causing the problem. I am in fact using bid or ask prices of the asset for placing the limit order. Therefore, the price formatting should not be problem, I guess. I would welcome if somebody can help me on this.

Note: Also, when we calculate a price for the limit order, what is the best way to set precision etc of that calcualted price to make sure that we would not receive a bad request as response?

@kayuksel
Copy link
Author

I have managed to fix this by rounding the price with certain precision. However, I am still getting 'Limit Order Reject' for some of the limit orders. Can please someone tell me the reason? (I couldn't find that within the documentation unfortunately.)

@kurisuD
Copy link

kurisuD commented Aug 13, 2019

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