Request
string
required
subscribe or unsubscribestring
required
The requested subscription feed. Value:
open_positionsstring
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_positionsstring
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:
errorstring
One of:
Invalid product id, Invalid feed, Json ErrorAn error message.