-
Notifications
You must be signed in to change notification settings - Fork 10
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: SLA Updates #492
feat: SLA Updates #492
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if remaining > 0: | ||
next_price = orders[-1].price + mult_factor * self.tick_spacing | ||
orders.append(MMOrder(remaining / next_price, next_price)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think since we scale the orders to meet the LP commitment after we create the shape this might be in the wrong place?
Would it not be better in the ShapedMarketMaker _scale_orders
method?
Description
Updates to allow SLA changes to work within market sim
Testing
Running integration tests
Breaking Changes
Various changes to market setup and LP creation. Mainly LP bots would be affected but these should be changed too.
Closes