Quote Updates
CHANNELwss://wss.prime.kraken.com/ws/v1
quoteAuthentication Required
Request stream of Quotes. All quote responses are sent as Quote updates. To request a quote, send a QuoteRequest message. The server responds with one or many Quote messages as the streaming prices update.
Subscribe Request
- Subscribe Schema
- Example
Request ID - will be echoed back in the response structure.
subscribe
Request type.
Array containing the Quote stream configuration.
Quote
Subscription name.
If provided, the subscription will return quotes for rfqs that were submitted after this time.
If provided, the subscription will return quotes for rfqs that were submitted before this time.
If provided, Symbol of the security to get the orders for.
If provided, filter by RFQID.
{
"reqid": 6,
"type": "subscribe",
"streams": [
{
"name": "Quote",
"StartDate": "2021-09-14T00:00:00.000000Z"
}
]
}
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 Quote data.
Timestamp of the message.
Symbol of the order security.
Currency of Quantity.
Server assigned RFQID for RFQ Orders.
Client assigned Quote Req ID for the quote request.
PendingNew
, Open
, PendingCancel
, Canceled
, PendingFill
, Filled
, Rejected
] Status of the quote.
Server assigned ID for this quote update.
Quote request reject reason, specified when ExecType=Rejected.
Time of original quote request submission.
Order quantity.
Currency of Amount.
End time of RFQ.
Buy
, Sell
] Quote side.
The price of the trade if the quote is filled.
The quantity of the trade if the quote is filled.
The amount of the trade if the quote is filled.
Bid quote price.
Bid quote amount in units of AmountCurrency.
Offer quote price.
Offer quote amount in units of AmountCurrency.
The expire time of the quote.
The customer user associated with this quote.
{
"reqid": 9,
"type": "Quote",
"ts": "2021-09-14T22:31:27.214025Z",
"initial": false,
"seqNum": 3,
"data": [
{
"Timestamp": "2021-09-14T22:31:27.204209Z",
"Symbol": "BTC-USD",
"Currency": "BTC",
"RFQID": "8688ceab-ea67-416c-8ce1-9b63d6c0fe4e",
"QuoteReqID": "7feb22f0-15ab-11ec-b0a2-2554a9e1e7a4",
"QuoteStatus": "Open",
"QuoteID": "20e240c5-9a82-4731-809e-91b3a2bf2f49",
"SubmitTime": "2021-09-14T22:31:27.183751Z",
"OrderQty": "0.30000000",
"AmountCurrency": "USD",
"EndTime": "2021-09-14T22:31:42.183751Z",
"BidPx": "46836.27",
"BidAmt": "14050.88",
"OfferPx": "46879.47",
"OfferAmt": "14063.85",
"ValidUntilTime": "2021-09-14T22:31:28.204209Z",
"CustomerUser": "tom@company.com"
}
]
}