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

fix: archive grid order if all sell orders are executed #490

Merged
merged 3 commits into from
Aug 23, 2022

Conversation

chrisleekr
Copy link
Owner

Description

In a very rare situation, there is a case that it does not archive the order even if all sell orders are executed.
i.e.

  • buy/sell orders are concurrently opened,
  • and then the sell order is executed, but the buy order is still opened.
  • then the remove-last-buy-price will not archive the order even after the sell order is executed.

If all sell orders are executed, then there is no way to sell the remaining coins.
So it should archive if all sell orders are executed.

Related Issue

N/A

Motivation and Context

See description

How Has This Been Tested?

Screenshots (if appropriate):

@chrisleekr chrisleekr added the bug Something isn't working label Aug 23, 2022
@chrisleekr chrisleekr merged commit 5b7b2f8 into master Aug 23, 2022
@chrisleekr chrisleekr deleted the fix/archive-order-if-all-sold branch August 24, 2022 21:33
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

Successfully merging this pull request may close these issues.

1 participant