wisespace-io / binance-rs

Rust Library for the Binance API
Other
636 stars 287 forks source link

receiving error code -2010 on market_buy_using_quote_quantity, it should not happen #155

Open AntonioRossi opened 1 year ago

AntonioRossi commented 1 year ago

On the binance api documentation website: https://binance-docs.github.io/apidocs/spot/en/#change-log

_Quote Order Qty MARKET orders will not break LOTSIZE filter rules; the order will execute a quantity that will have the notional value as close as possible to quoteOrderQty

Placing an order with a certain amount of BTC using the function 'market_buy_using_quote_quantity' for the symbol BNBBTC the aforementioned error code -2010 does instead happen.

What am I missing?