Skip to main content
Version: mainnet (v0.71)

Interval

The interval for trade candles when subscribing via Vega GraphQL, default is I15M

enum Interval {
INTERVAL_BLOCK
INTERVAL_I1M
INTERVAL_I5M
INTERVAL_I15M
INTERVAL_I1H
INTERVAL_I6H
INTERVAL_I1D
}

Values

Interval.INTERVAL_BLOCK

The block interval is not a fixed amount of time, rather it used to indicate grouping of events that occur in a single block. It is usually about a second.

Interval.INTERVAL_I1M

1 minute interval

Interval.INTERVAL_I5M

5 minute interval

Interval.INTERVAL_I15M

15 minute interval (default)

Interval.INTERVAL_I1H

1 hour interval

Interval.INTERVAL_I6H

6 hour interval

Interval.INTERVAL_I1D

1 day interval

Member of

candles subscription