VWAP

What is this endpoint for?

This endpoint delivers VWAP (volume-weighted average price) for an instrument on an exchange in real time.

Endpoints

gateway-v0-grpc.kaiko.ovh

Request parameters

Parameter
Description
Examples

aggregate

The period you would like the VWAP aggregation to be calculated over.

1m

instrumentCriteria

A nested object to configure following properties for your stream:

  • exchange (String) - The code(s) for the exchange(s)

  • instrument_class (String) - The class(es) of the instrument(s) .

  • code (String) - The Kaiko code for the instrument.

Explore instruments, codes and exchanges in the Instrument Explorer or Reference Data.

cbse

spot

btc-usd

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

Response fields

Field
Description

aggregate

The period of calculation.

class

The class of instrument.

code

The instrument code.

price

The price for the peirod (USD).

exchange

The exchange the VWAP is referencing.

tsEvent

The timestamp for the interval.

uid

The unique ID for this delivery.

volume

Volume traded in interval. 0 when no trades reported.

sequenceId

Not applicable. Null

Request examples

Response Example

Last updated

Was this helpful?