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

Refactor fallback logic when target spread is not reached #311

Merged
merged 2 commits into from
Sep 26, 2018

Conversation

bitphage
Copy link
Collaborator

Instead of relying on allocation status of base and quote, just use
balance changes as a trigger. Whether balances are not changing and
bootstrap is off and target spread is not reached, we can safely proceed
to a fallback logic.

Instead of relying on allocation status of base and quote, just use
balance changes as a trigger. Whether balances are not changing and
bootstrap is off and target spread is not reached, we can safely proceed
to a fallback logic.
Cancel furthest order only whether target spread is not reached.
@joelvai joelvai merged commit 6a87547 into Codaone:master Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants