Closed kilrau closed 4 years ago
I think what we want is a dead man's switch mode. If there's no ping in X amount of time => cancel all open orders (or exit trade positions in the future).
Just to clarify - this issue is now about when we lose connectivity to the centralized exchange. Arby must cancel all orders on OpenDEX and resume normal operations only when connectivity has been restored.
Adjusted description.
xud <-> arby connection loss needs separae issue.
If our connection with exchange goes offline/becomes unresponsive, arby should cancel open OpenDEX orders. This is important, because otherwise xud could swap orders on OpenDEX, where the bot is unable to do the counter trade on e.g. Binance for.