Problem with placing an order for spot trading in binance. I want to sell a currency and get another in the amount that I transfer by value. The API says :param quoteOrderQty: amount the user wants to spend (when buying) or receive (when selling) of the quote asset, applicable to MARKET orders (link), that is, this is exactly the argument to which I pass the amount that I want to receive when selling. Example:
client.create_order(symbol="BUSDUSDT", side="sell", type="MARKET",
quoteOrderQty=15)
after executing it, I should receive 15 USDT
, which doesn't happen. The order is filled and exactly 15 BUSD are sold
, 14.9985 USDT
are bought :)
What is the problem?