BinanceArbitrageBot icon indicating copy to clipboard operation
BinanceArbitrageBot copied to clipboard

minQty error

Open Simazuba opened this issue 7 years ago • 3 comments

Hello. Few weeks ago start getting this error:

Traceback (most recent call last): File "C:\Users\Tom\Desktop\awallish\arbitrageBot3.py", line 12, in binance.initializeLotInfo() File "C:\Users\Tom\Desktop\awallish\binance.py", line 277, in initializeLotInfo lots[lot]['digits'] = numAfterPoint(decimal.Decimal(lots[lot]['minQty']).normalize()) KeyError: 'minQty'

Could you help to fix this problem?

Simazuba avatar Dec 16 '18 21:12 Simazuba

I have the same error, any solution?

B9daz avatar Mar 20 '22 04:03 B9daz

@B9daz @redfly111 a quick hack, change this line in binance.py:

def initializeLotInfo():
...
        lots[key['baseAsset']] = key['filters'][1]

to:

        lots[key['baseAsset']] = key['filters'][2]

No warranties... keep me posted on experiences and results as reward!

cyberjunky avatar May 02 '22 17:05 cyberjunky