Open vitorego opened 6 years ago
its not zenbot bug, its "ccxt" node module bug.
@Tulga not really, because from the output you can see that Binance returned: binance cancelOrder() error: {"code":-2011,"msg":"UNKNOWN_ORDER"}
– this is an error report from Binance, which is properly handled by CCXT (throws a OrderNotFound exception). However, the other concern is, why it failed to cancel the order on the first try with a timeout...
2018-01-28 20:20:00 0.104106 ETH-BTC -0.25% 208 -- 40.00 -0.0352 0.0162 buy 0.00176500 ETH 0.02434880 BTC +0.11% +0.39% 2018-01-28 20:21:08 0.104159 ETH-BTC +0.05% 80 -- 42.20 -0.0237 0.0170 buying 0.00176500 ETH 0.02434880 BTC +0.11% +0.34% cancelOrder retry - unknown Order: {"order_id":"64813998","product_id":"ETH-BTC"} - Error: binance {"code":-2011,"msg":"UNKNOWN_ORDER"}
getting the same error
When the API goes down for some reason the bot seems to lose the cached orders and is unable to cancel it when the signal just changed: