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

[Feature]: vAMM shapes count towards available volume for liquidation #11211

Closed
EVODelavega opened this issue Apr 29, 2024 · 0 comments
Closed
Assignees
Labels
feature new feature to be developed hybrid-liquidity

Comments

@EVODelavega
Copy link
Contributor

When the network attempts to dispose of its position as part of the liquidation strategy, vAMM shapes have to be included in the available volume on the book. When the network is configured to consume 10% of the available volume, and there's an available volume on the book of 50 + 50 through vAMM shapes, the network should place an order of size 10, as per spec:

https://github.com/vegaprotocol/specs/pull/2218/files#diff-3d81a39049a36bb18ecac5bd2f70835f6faabe4410a489eddc8f531411322bacR43

The liquidation engine must be able to call on the AMM engine to get the available volume at the given price point, and add it to the volume on book.

@EVODelavega EVODelavega added feature new feature to be developed hybrid-liquidity labels Apr 29, 2024
@EVODelavega EVODelavega self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature to be developed hybrid-liquidity
Projects
Archived in project
Development

No branches or pull requests

1 participant