vega icon indicating copy to clipboard operation
vega copied to clipboard

Create API to estimate order book depth based on defined vAMM shape

Open JonRay15 opened this issue 10 months ago • 0 comments

API Overview

When users are creating or amending their AMM shape we need to be able to give them information on what that will actually mean for them as a user. What shape they're quoting, what it means in terms of range, loss at range, liquidation price etc, so they can make informed decisions.

Since this API will need thorough testing and is complex functionality it has been explicitly included in the spec.

API request details

Questions

Open questions about the feature implementation, what can be done with the APIs, or currently unresolved questions around the feature.

API test scenarios

Detailed scenarios that can be executed as feature tests to verify that the API has been implemented as expected.

GIVEN (setup/context) WHEN (action) THEN (assertion) For example... See here for more format information and examples.

Additional Details (optional)

Any additional information that provides context or gives information that will help us develop the feature.

JonRay15 avatar Mar 27 '24 15:03 JonRay15