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

Sometimes after stop-loss sell order is closed the buy grid is not reset #592

Open
uhliksk opened this issue Jan 16, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@uhliksk
Copy link
Contributor

uhliksk commented Jan 16, 2023

Version

v0.0.96 - development

Description

Sometimes after stop-loss sell order is closed the buy grid is not reset properly and new buy order is opened using next grid trade parameters while previous grid trades don't exist anymore.

To Reproduce

It happend two times for me yet but I have no specific reproduction steps except both times it happend right after the stop-loss sell order has been closed..

Expected Behaviours

It should always clear buy grid after stop-loss sell order and then start a new trade.

Screenshots

image

image

Additional context

This is the only issue I have after deterministic queue implemented. As the symbol processing is strictly serialized now I suspect there is some code running out of the queue or there is missing await keyword somewhere on timing critical database operation causing the write is performed after a new buy order action is determined. 🤔

Edit: It's probably caused by Temporary disable for buying (minutes) set to zero. There should be lowest limit of at least one second to wait before new buy order is opened.

@uhliksk uhliksk added the bug Something isn't working label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant