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

feat: replace order #75

Merged
4 commits merged into from
Aug 15, 2020
Merged

feat: replace order #75

4 commits merged into from
Aug 15, 2020

Conversation

ghost
Copy link

@ghost ghost commented Aug 13, 2020

This PR changes arby's logic to try ReplaceOrder. If the existing order does not exist it will use PlaceOrder instead. Previously it would issue 2 RPC calls RemoveOrder -> PlaceOrder each time it needed to update orders.

EDIT by @kilrau : closes #23

@kilrau kilrau requested review from raladev and sangaman August 13, 2020 16:50
@ghost ghost merged commit 1abbc76 into master Aug 15, 2020
@ghost ghost deleted the feat/replace-order branch August 15, 2020 08:14
This pull request was closed.
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.

Use replace_order_id instead of rm/create new order
0 participants