Authenticated channel. Connect to: wss://wss.prime.kraken.com/ws/v1
Request for stream of Exposure updates. Provides real-time credit utilization and exposure limit information.
Subscribe Request
Request ID - will be echoed back in the response structure.
Request type. Value: subscribe
Array containing the Exposure stream configuration.
Subscription name. Value: Exposure
{
"reqid": 11,
"type": "subscribe",
"streams": [
{
"name": "Exposure"
}
]
}
Response
A number that relates this response to a request.
The type of message sent.
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
If this is initial data for a request, the initial flag will be set.
The sequence number for this response per request.
“Update” or “Remove” - tells the client if the given entity should be removed or added/updated.
Array of Exposure data.
The currency all exposure values are expressed in.
Current credit utilization expressed in the ExposureCurrency.
Credit limit expressed in the ExposureCurrency.
Status of the exposure information. Possible values: Online, Offline
The last time the credit was updated.
{
"reqid": 11,
"type": "Exposure",
"ts": "2021-09-16T16:17:06.892914Z",
"initial": true,
"seqNum": 1,
"data": [
{
"ExposureCurrency": "USD",
"Exposure": "1000000",
"ExposureLimit": "5000000",
"Status": "Online",
"Timestamp": "2021-09-16T16:17:06.892914Z"
}
]
}