ExchangeUnion / market-maker-bot

MM Bot for OpenDEX. Make profits via arbitrage between OpenDEX and a connected CEX account like Binance 🤖
GNU Affero General Public License v3.0
105 stars 20 forks source link

Reset arby's unrecoverable error counter after successful order update #84

Open erkarl opened 3 years ago

erkarl commented 3 years ago

Shoot-off from: https://github.com/ExchangeUnion/xud-docker/pull/687#issuecomment-682132332

Unrecoverable error may be reached during continuous matching. i get 9 successful swaps of 15 (6 of them were not matched because orderbook was empty because of unrecoverable error). Root case is get part of order in hold when replace order. I reached 5 arby errors for 9 swaps (see arby log). tool_output is a just output of placeOrders calls from taker.