vega icon indicating copy to clipboard operation
vega copied to clipboard

Create API for AMM range details

Open JonRay15 opened this issue 10 months ago • 0 comments

API Overview

We require an API that provides the details of all AMM shapes on a given market so we can show these to users.

API request details

  • [ ] Provide the followin details of all shapes
    • [ ] Party ID
    • [ ] Derived Party ID
    • [ ] Market ID
    • [ ] Commitment
    • [ ] Slippage tolerance
    • [ ] Proposed fee
    • [ ] Base price
    • [ ] Lower price
    • [ ] Upper price
    • [ ] Margin ratio at upper bound
    • [ ] Margin ratio at lower bound

Filtering requirements (inputs)

  • [ ] Market ID
  • [ ] Party ID
  • [ ] Derived Party ID

Sample API output (optional)

Dont think this is needed for this 

Questions

None

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