Documentation Index Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
WSS ws-auth.kraken.com ownTrades
The ownTrades channel streams executions for the authenticated user. A snapshot of the last 50 trades is sent on subscription, followed by real-time updates for any new trades.
Subscribe
Session token from the GetWebSocketsToken REST endpoint.
One of: false, true
Default: trueIncludes initial snapshot of historical data.
One of: false, true
Default: trueIf true, fills are consolidated by taker, otherwise all fills are shown.
One of: true, false
Default: true
Condition: Effective for viewing xstocks onlyIf true, display in terms of underlying equity, otherwise display in terms of SPV tokens.
Optional client originated request identifier sent as acknowledgment in the response.
The subscription status is returned via the subscriptionStatus message.
Snapshot / Update
The snapshot and update responses share the same schema. The payload is a JSON array containing the trade data, the channel name, and feed detail.
A list of trade objects. Each object is keyed by the Kraken trade identifier. The key for each trade is the Kraken trade identifier. Side of order (buy/sell).
Average price order was filled in quote currency.
Total cost of order in the quote currency.
Total fees in the quote currency.
Volume of the trade in base currency.
Initial margin (quote currency).
Indicates if an execution is on margin, i.e. if the trade increased or reduced size of margin borrowing. On trade events only.
An optional, alphanumeric client identifier associated with this order. Available on update messages only.
Format: UUIDAn optional, external partner execution identifier.
An optional, numeric identifier associated with one or more orders. Available on update messages only.
Sequence number for this subscription.