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

reuse same IDs with LP orders #3339

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Conversation

jeremyletang
Copy link
Member

@jeremyletang jeremyletang commented Apr 12, 2021

This change slightly the behaviour of Lp orders.
They are still being cancelled, and re-created, but now using the same IDs all the time.

closes #3340

@jeremyletang jeremyletang marked this pull request as ready for review April 12, 2021 12:02
@jeremyletang jeremyletang requested a review from a team April 12, 2021 12:02
@jeremyletang
Copy link
Member Author

Discussed this one with @edd to get an understanding on how this would impact the console, and it appears that should not be so much of an issue.

I'd suggest we get on with it, and see on develop if anything get broken.

liquidity/engine.go Outdated Show resolved Hide resolved
@jeremyletang jeremyletang force-pushed the feature/immutable-lp-order-ids branch from 71bb01d to e7520b1 Compare April 12, 2021 13:55
@edd
Copy link
Member

edd commented Apr 13, 2021

@jeremyletang can this be merged?

@jeremyletang
Copy link
Member Author

That should be fine. Would be good maybe if @3jtechtest sanity check test it.

@jeremyletang jeremyletang force-pushed the feature/immutable-lp-order-ids branch from e7520b1 to 1ec7fa6 Compare April 15, 2021 13:48
@jeremyletang jeremyletang merged commit 7b4971f into develop Apr 15, 2021
@jeremyletang jeremyletang deleted the feature/immutable-lp-order-ids branch April 15, 2021 16:48
@ponthief ponthief removed their assignment Jun 10, 2021
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.

Update the core liquidity engine to reuse LP orders IDs
4 participants