getVWAP
Calculate the volume-weighted average price for any Stellar asset pair using SDEX trade aggregations.
Instructions
Get volume-weighted average price for a Stellar asset pair from SDEX trade aggregations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of candles to aggregate | |
| baseAsset | Yes | Base asset: "XLM" or "CODE:ISSUER" | |
| resolution | No | Candle resolution | 1h |
| counterAsset | Yes | Counter asset: "XLM" or "CODE:ISSUER" |