Skip to main content

Exposure

CHANNEL

wss://wss.prime.kraken.com/ws/v1

exposureAuthentication Required

Request for stream of Exposure updates. Provides real-time credit utilization and exposure limit information.

Subscribe Request

reqid number required

Request ID - will be echoed back in the response structure.

type string required
Value: subscribe

Request type.

streams array [ required

Array containing the Exposure stream configuration.

name string required
Value: Exposure

Subscription name.

]

Response

reqid number required

A number that relates this response to a request.

type string required

The type of message sent.

ts string required

An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.

initial boolean

If this is initial data for a request, the initial flag will be set.

seqNum number required

The sequence number for this response per request.

action string

"Update" or "Remove" - tells the client if the given entity should be removed or added/updated.

data array [ required

Array of Exposure data.

ExposureCurrency string required

The currency all exposure values are expressed in.

Exposure string required

Current credit utilization expressed in the ExposureCurrency.

ExposureLimit string required

Credit limit expressed in the ExposureCurrency.

Status string required
Possible values: [Online, Offline]

Status of the exposure information.

Timestamp string required

The last time the credit was updated.

]