w3nax
December 19, 2022, 2:07pm
1
What is the problem?
We using the exchange API rules, but we can’t open the position because of precision.
Please explain me the solution, I always get exception error.
We try to use PRICE_FILTER with “tickSize” like here:
This error is caused by the PRICE_FILTER → tickSize under the exchangeInfo endpoint. The maximum number of decimal places allowed is returned under tickSize. For example, if tickSize returns 0.01, max allowed decimal places for that symbol will be 2.
But still don’t solve this because WALLET_ROUND not enought amount.
Please check the attached picture bellow:
dino
December 19, 2022, 11:10pm
2
which symbol? and what is the qty and price sent in the request?
w3nax
December 20, 2022, 7:58pm
3
Hi! Included on attached photo.
on BNB coin 0,026 (qty) the price is 0
But not work with another coin with small precession
I can’t solve it because the quantity is less than what I need.
Example:
BNB - 0.02 what I want
What binance allows is 0.0 precession for this asset
dino
December 21, 2022, 1:08am
5
you can send an order with price=0
Maybe i’m not reading this clearly.
From my understaidng of the problem, you are trying to sell a coin with a precision less than than allowable amount by binance.
There is no way to fix this…
you simply have to trade a larger amount and decrease the precision of the quantity you are trying to sell.
ie, if it complains about 0.01, try 0.1.
Work from there.
There is a button in binance app “convert small amounts to BNB”.
Its there for this reason. the transactions fees are bigger than the amount you are trying to sell, so binance have to define a precision for trading.