-
Notifications
You must be signed in to change notification settings - Fork 129
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
DexBot - King of the Hill - Bot trades with itself if spread is = 0 #668
Comments
TODO:
|
Fixing this brings a one question: what the bot should do if it detects it's order will cross the other side? I mean, it cannot place an order on-top because it will cross. If the bot will place an order one step before crossing, it will not be on top, this may appear to the user as bot working incorrectly not placing a top order. I'm thinking about adding a warning like "Cannot place top xxx order because it will cross the other side; increase your order size to lower price step". |
Adding a warning is a good solution |
imo it is worth adding a minimum spread to the configuration |
Totally agree, minimum allowed spread is good idea. Please open a separate issue. Because of market fee, there is always aome minimal profitable spread. Crossing it means taking some loss. |
##Strategy
King of the Hill
Expected Behavior
When spread = 0 then bot should stop trading.
Actual Behavior
When spread = 0 bot continues to trade with itself.
The text was updated successfully, but these errors were encountered: