binancer icon indicating copy to clipboard operation
binancer copied to clipboard

binance_new_order MARKET_LOT_SIZE often 0 which causes order to fail

Open imprompt opened this issue 3 years ago • 1 comments

Market orders fail because the stepSize in MARKET_LOT_SIZE is often 0 (e.g. EOSUSDT). I think there probably needs to be a check to make sure it's non-zero before applying the precision check for quantity in market orders.

imprompt avatar Aug 21 '22 04:08 imprompt

It looks like MARKET_LOT_SIZE is additional requirements for market orders on top of LOT_SIZE: https://dev.binance.vision/t/which-symbol-filter-is-used-with-a-market-order/426 Therefore the LOT_SIZE stepSize check could be applied first and the MARKET_LOT_SIZE stepSize check applied only if it's > 0.

imprompt avatar Aug 21 '22 04:08 imprompt