Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safety Net for Trading Bot #1324

Open
kilrau opened this issue Nov 7, 2019 · 0 comments

Comments

@kilrau
Copy link
Contributor

@kilrau kilrau commented Nov 7, 2019

By @offerm :

Another valuable option is to attach a maker order with an open connection and automatically cancelling the order if the connection is closed. This is a protection layer to make sure that the market maker will not be left with order if the trading bot is down/disconnected

Meaning: if the bot goes offline, xud should cancel the bot's orders. Which 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.

Instead of attaching a connection to each and every order (which would allow some very advanced use cases, like using xud manually+bot), I'd suggest to have sth like a "market maker/bot" mode for xud that simply cancels all orders if the connection to the bot is lost. Should make implementation a lot easier. Thoughts? @sangaman

@kilrau kilrau added this to To do in 1.0.0-beta.1 via automation Nov 7, 2019
@kilrau kilrau added the P3 label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.0.0-beta.1
  
To do
2 participants
You can’t perform that action at this time.