guialbuquerque5 / binance-triangular-arbitrage-scan

0 stars 1 forks source link

Error #1

Open lvivua032 opened 3 years ago

lvivua032 commented 3 years ago

Traceback (most recent call last): File "bot.py", line 90, in test(1) File "bot.py", line 79, in test g.att_prices(prices) File "C:\Users\Administrator\Desktop\binance-triangular-arbitrage-scan-master\graph.py", line 73, in att_prices self.update_matrix(str(price['symbol']),Decimal(str(price['askPrice'])),Decimal(str(price['bidPrice']))) File "C:\Users\Administrator\Desktop\binance-triangular-arbitrage-scan-master\graph.py", line 81, in update_matrix self.matrix[j][i] = 1/ask decimal.DivisionByZero: [<class 'decimal.DivisionByZero'>]

nikos69 commented 3 years ago

got the same error too.