Currency
CHANNELwss://wss.prime.kraken.com/ws/v1
currency
Request for stream of available currencies used within trading. On initial request, a snapshot of all available currencies is provided. All subsequent messages are deltas to the currency snapshot.
Subscribe Request
- Subscribe Schema
- Example
Request ID - will be echoed back in the response structure.
subscribe
Request type.
Array containing the Currency stream configuration.
Currency
Subscription name.
Optional list of currency symbols to filter the subscription on.
{
"reqid": 3,
"type": "subscribe",
"streams": [
{
"name": "Currency"
}
]
}
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 Currency data.
Timestamp of message publication in ISO-8601 UTC format.
Update
, Remove
] "Update" or "Remove" where the latter indicates the Currency is no longer available.
System ID for Currency - for information only.
Symbol for currency.
Minimum increment for Currency.
Default increment used in all Market Data and Orders.
Description of Currency.
{
"reqid": 3,
"type": "Currency",
"ts": "2021-09-14T22:11:47.512168Z",
"initial": true,
"seqNum": 1,
"data": [
{
"Timestamp": "2020-09-30T17:56:08.552227Z",
"UpdateAction": "Update",
"CurrencyID": 2,
"Symbol": "USD",
"MinIncrement": "0.01",
"DefaultIncrement": "0.01",
"Description": "U.S. Dollar"
},
{
"Timestamp": "2020-05-13T13:24:58.983054Z",
"UpdateAction": "Update",
"CurrencyID": 17,
"Symbol": "ETH",
"MinIncrement": "0.00000001",
"DefaultIncrement": "0.0001",
"Description": "Ethereum"
}
]
}