Skip to main content

Trade

CHANNEL

wss://futures.kraken.com/ws/v1

trade

The trade feed returns information about executed trades

Request

MESSAGE BODY

event string required
subscribe or unsubscribe
feed string required
The requested subscription feed trade
product_ids list of strings required
A list of strings which represent the products that user will receive information upon.

Response Success

MESSAGE BODY

event string
The result, subscribed or subscribed_failed or unsubscribed or unsubscribed_failed
feed string
The requested subscription feed trade
product_ids list of strings required
A list of strings which represent the products that user will receive information upon.

Response Snapshot

MESSAGE BODY

feed string
The subscribed feed.
product_id string
The subscribed product (referred also as instrument or symbol).
trades list of structures
uid string
Unique identifier for the matched trade.
side string
The classification of the taker side in the matched trade: buy if the taker is a buyer, sell if the taker is a seller.
type string
The classification of the matched trade in an orderbook: fillif it is a normal buyer and seller, liquidation if it is a result of a user being liquidated from their position, termination if it is a result of a user being terminated, or block if it is a component of a block trade.
seq positive integer
The subscription message sequence number.
time positive integer
The UTC or GMT time of the trade in milliseconds
qty positive float
The quantity of the traded product.
price positive float
The price that the product got traded.

Response Delta

MESSAGE BODY

feed string
The subscribed feed.
product_id string
The subscribed product (referred also as instrument or symbol).
uid string
Unique identifier for the matched trade.
side string
The classification of the taker side in the matched trade: buy if the taker is a buyer, sell if the taker is a seller.
type string
The classification of the matched trade in an orderbook: fillif it is a normal buyer and seller, liquidation if it is a result of a user being liquidated from their position, termination if it is a result of a user being terminated, or block if it is a component of a block trade.
seq positive integer
The subscription message sequence number.
time positive integer
The UTC or GMT time of the trade in milliseconds
qty positive float
The quantity of the traded product.
price positive float
The price that the product got traded.

Response Error

MESSAGE BODY

event string
Always error
message string
An error message out of:
Invalid product id
Invalid feed
Json Error