Execution Report
CHANNELwss://wss.prime.kraken.com/ws/v1
execution-reportAuthentication Required
Request stream of Execution Reports. All order responses and updates are sent as ExecutionReport messages.
Subscribe Request
- Subscribe Schema
- Example
Request ID - will be echoed back in the response structure.
subscribe
Request type.
Array containing the ExecutionReport stream configuration.
ExecutionReport
Subscription name.
If provided, the subscription will return execution reports that were published at or after this time. An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
If provided, the subscription will return execution reports that were published before this time.
If provided, Symbol of the security to get the executions for.
If provided, comma-separated statuses of orders to include e.g. New,Filled.
If provided, filter by OrderID.
If provided, filter by RFQID.
{
"reqid": 5,
"type": "subscribe",
"streams": [
{
"name": "ExecutionReport",
"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 ExecutionReport data.
Timestamp of the message.
Symbol of the order security.
Server assigned Order ID, will be a UUID.
Client assigned Order ID for the last request.
Original client assigned Order ID.
Time of original order submission.
Server assigned ID of this update, will be a UUID.
Buy
, Sell
] Order side.
Transaction time.
New
, Trade
, Canceled
, Replaced
, PendingCancel
, Stopped
, Rejected
, PendingNew
, Restated
, PendingReplace
, CancelRejected
, ReplaceRejected
, PendingResume
, Resumed
, PendingPause
, Paused
, Triggered
, Started
] Describes the specific execution.
New
, PartiallyFilled
, Filled
, Canceled
, PendingCancel
, Rejected
, PendingNew
, PendingReplace
] Identifies current status of order.
Order quantity.
Market
, Limit
, RFQ
] Order type.
Order limit price, required when OrdType=Limit.
Currency of Quantity.
Quantity open for further execution.
Total quantity filled. Always in Currency units.
Average filled price of the order. Only valid if CumQty > 0. Does not include fees.
GoodTillCancel
, FillAndKill
, FillOrKill
] Specifies how long the order remains in effect.
Last price, specified when ExecType=Trade.
Last qty, specified when ExecType=Trade.
Last amount, specified when ExecType=Trade.
Last fee, specified when ExecType=Trade.
Total amount filled. Always in Amount currency.
Currency of Amount.
The customer user associated with this execution report.
{
"reqid": 6,
"type": "ExecutionReport",
"ts": "2021-09-14T22:23:11.920903Z",
"initial": false,
"seqNum": 2,
"data": [
{
"Timestamp": "2021-09-14T22:23:11.903074Z",
"Symbol": "BTC-USD",
"OrderID": "1b6b882b-e2fc-4774-ad2d-9db4df536f29",
"ClOrdID": "58b9adb0-15aa-11ec-b0a2-2554a9e1e7a4",
"SubmitTime": "2021-09-14T22:23:11.903074Z",
"ExecID": "4b423f54-4a54-4679-9ee7-1f5f417ec5f5",
"Side": "Buy",
"TransactTime": "2021-09-14T22:23:11.883000Z",
"ExecType": "PendingNew",
"OrdStatus": "PendingNew",
"OrderQty": "0.20000000",
"OrdType": "Market",
"Currency": "BTC",
"LeavesQty": "0.20000000",
"CumQty": "0",
"AvgPx": "0",
"TimeInForce": "FillOrKill",
"LastPx": "0",
"LastQty": "0",
"LastAmt": "0",
"LastFee": "0",
"CumAmt": "0",
"AmountCurrency": "USD",
"CustomerUser": "tom@company.com"
}
]
}