Hi,
We have encountered some significant rounding issues while using the Binance API, which are affecting the accuracy and consistency of our trading operations. Specifically, we have observed discrepancies between the immediate responses from the order API and the actual account balances.
For instance, when we attempt to buy $100 worth of BTC at a rate of 1 BTC = 1,00200401 USDT, the expected quantity should be around 99.8 BTC. However, the immediate response from the market buy/sell order returns a quantity of 100 BTC instead of the expected 99.8 BTC. The same issue occurs with limit orders, where the quantity in the websocket responses is inaccurately rounded to 100 BTC.
Interestingly, when we check the account balance using the Account Info endpoint, it correctly reflects the quantity as 99.8 BTC. This discrepancy suggests that there is a significant rounding issue within the order API responses. We have verified these results using Postman and observed similar inconsistencies in the Binance Python library.
This rounding issue is also reflected in the Order History, where the incorrect rounded quantities are shown. However, when we check the detailed view of the specific symbol in the application, it displays the correct quantity.
We believe this is a major issue that needs to be addressed promptly to ensure the accuracy and reliability of the trading data provided by the Binance API.
Could you please provide guidance on this matter or inform us about any steps we can take to resolve this issue?
Thank you for your assistance.
Best regards,