wisespace-io / binance-rs

Rust Library for the Binance API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

AntonioRossi opened this issue · comments

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

Quote Order Qty MARKET orders will not break LOT_SIZE 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?