yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.51k stars 826 forks source link

Filter failure: LOT_SIZE #159

Open walker1371 opened 6 years ago

walker1371 commented 6 years ago

i'm getting following error and missing buy orders while auto-trading with BTCUSDT

Latest WSC version with these parameters:

python trader.py --symbol BTCUSDT --amount 22 --profit 0.25 --increasing .01 --decreasing .01

I get this mesage and nothing happens: m: Filter failure: LOT_SIZE bl: 'orderId'

rickdeaconx commented 6 years ago

Probably not enough BNB or transaction cost $.

walker1371 commented 6 years ago

I checked it several times. BNB for fee is active and balance is ok for trade. This happened after a restart with same code, it made a few succesful trade before restart.

saike commented 5 years ago

same issue but with this node library: https://github.com/zoeyg/binance try to open order:

  symbol: 'BNBBTC',
  side: 'BUY',
  type: 'LIMIT',
  quantity: 1.184,
  price: 0.002356,
  timeInForce: 'GTC'

got error: { code: -1013, msg: 'Filter failure: LOT_SIZE' }

noahwalugembe commented 4 years ago

am having the same problem with bnbusdt how can i solve it

saike commented 4 years ago

am having the same problem with bnbusdt how can i solve it

max digits for quantity for BNB is 2 so you need do order.quantity.toFixed(2)