Skip to main content
WSSfutures.kraken.com/ws/v1open_positions
Derivatives WebSocket is being deprecated. For new integrations, use the Unified WebSocket, which streams Spot and Derivatives over a single connection. Existing integrations continue to work until 1 March 2027, when the Derivatives WebSocket will no longer be available. Migrate to the Unified WebSocket before then.To use private channels or trade on the Unified WebSocket, you need a Kraken API key, not a Derivatives API key. Use it to get a token from GetWebSocketsToken. See Unified WebSocket authentication.
This subscription feed publishes the open positions of the user account.

Request

string
required
subscribe or unsubscribe
string
required
The requested subscription feed. Value: open_positions
string
required
The user API key.
string
required
The message that is received from a challenge request.
string
required
The signed challenge message with user API secret.

Response Success

string
One of: subscribed, subscribed_failed, unsubscribed, unsubscribed_failedThe result.
string
The requested subscription feed. Value: open_positions
string
The user API key.
string
The message that is received from a challenge request.
string
The signed challenge message with user API secret.

Response Snapshot

string
The subscribed feed.
string
The user account.
positive integer
The subscription message sequence number.
positive integer
The UTC time in milliseconds.
list of structures
A list containing the user open positions.

Response Error

string
Value: error
string
One of: Invalid product id, Invalid feed, Json ErrorAn error message.