Exposure
CHANNELwss://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
- Subscribe Schema
- Example
Request ID - will be echoed back in the response structure.
subscribe
Request type.
Array containing the Exposure stream configuration.
Exposure
Subscription name.
{
"reqid": 11,
"type": "subscribe",
"streams": [
{
"name": "Exposure"
}
]
}
Response
- Response Schema
- Example
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.
Online
, Offline
] Status of the exposure information.
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"
}
]
}