I am trying to understand executedQty, no matter from which call (order create, query, cancel, …) if the user is NOT paying fees using BNB.
The use case is this:
- I execute a BUY LIMIT order on TRXUSDT pair for a quantity of 5.
- I check executedQty from the POST response or when querying the order via GET.
If the user is NOT paying the fees via BNB, will the executedQty be equal to 5, or let’s say 4.995?
I need to find the exact quantity available after non-bnb fees. So if I request to buy 5 but end up with 4.995 I need to know that, so I can sell 4.995 and not 5 and get API failure (assuming my TRX balance was 0 to begin with).
Also when I sell, I need to know exact USDT received, after USDT fees (when not paying with BNB). In this case I expect cummulativeQuoteQty to be AFTER paid USDT fees, e.g. usable USDT balance recived, is this the case?
No way to test right now as I have BNB on testnet and there doesn’t seem to be an option to toggle the fees payment system, and I don’t want to sell my BNB yet as BNBUSDT is the only pair with liquidity right now.