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
How to get minimum trade amount #465
Comments
I'm using the following function:
|
@lcdunne did you ever manage to figure this out? I've been currently bashing my head against the wall trying to figure it out 😂 |
Any update, still can't seem to figure out the minimum trade possible... |
I guess the solution for your problem will be close to this, then make the exchange rate operation to whatever currency of your interest to have min transaction amount
|
I'm trying to do a market buy/sell, and I need information on the minimum amount and to how many decimal places for a given symbol.
I can get the rounding precision as follows:
... but I'm not quite sure how to get the minimum trade order. As far as I'm aware it's 0.002 BTC, but I can't see anything in my
SYMBOL_INFO
that takes this value. I'd like to get this programmatically as I want to generalise to other symbols. Is there a way to do this?Also, I know this is not a bug but I wasn't sure where else to post for support - is there somewhere specific to post other than here? Would be great to know.
The text was updated successfully, but these errors were encountered: