VWAP
What is this endpoint for?
This endpoint delivers VWAP (volume-weighted average price) for an instrument on an exchange in real time.
Endpoints
Parameters
Parameter | Description | Examples |
---|---|---|
| The period you would like the VWAP aggregation to be calculated over. |
|
| A nested object to configure following properties for your stream:
|
|
Configuring a wildcard
A wildcard allows you to request all information we have on a specific instrument, class, or exchange in the same stream.
Use a *
in place of the relevant exchange
, instrument
, or class
parameter.
For example, the configuration below would deliver trades for BTC/USD across all exchanges where it’s supported:
exchange: *
class: spot
instrument: btc-usd
Fields
Field | Description |
---|---|
| The period of calculation. |
| The class of instrument. |
| The instrument code. |
| The price for the peirod (USD). |
| The exchange the VWAP is referencing. |
| The timestamp for the interval. |
| The unique ID for this delivery. |
| Volume traded in interval. 0 when no trades reported. |
| Not applicable. |
Request examples
Make sure to read our Python quick-start guide before starting.
Response Example
Last updated