Skip to main content
WSSws.kraken.com/v2ohlc
The ohlc channel streams the Open, High, Low and Close (OHLC) data for the specific interval period. The feed accepts a list of symbols for subscription and the updates are generated on trade events.

Subscribe

There is an acknowledgement response for each symbol in the subscription list.
method
string
required
Value: subscribe
params
object
required
req_id
integer
Optional client originated request identifier sent as acknowledgment in the response.

Snapshot / Update

The snapshot and update responses share the same schema. An update message is streamed on a trade event.
channel
string
Value: ohlc
type
string
One of: snapshot, update
data
object[]
A list of candle events.

Unsubscribe

There is an acknowledgement response for each symbol in the unsubscribe list.
method
string
required
Value: unsubscribe
params
object
required
req_id
integer
Optional client originated request identifier sent as acknowledgment in the response.