vega
vega copied to clipboard
Enhance Market Data API with additional metrics
API Overview
There are a few metrics that we want to be able to display in various screens for AMM which would be good to add to the market data API.
API request details
- [ ] Enhance market data API to include
- [ ] Rolling 24h volume (rolling every minute)
- [ ] Rolling 24h price change (rolling every minute)
- [ ] Total order volume on the book broken down by AMM v Book
Filtering requirements (inputs)
- [ ] Market ID
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.