Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "private/subscribe",
"params": {
"channels": [
"user.orders.future.USDC.raw"
]
}
}{
"data": {
"amount": 200,
"api": false,
"average_price": 0,
"creation_timestamp": 1581507583024,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1581507583024,
"max_show": 200,
"order_id": "6",
"order_state": "open",
"order_type": "limit",
"original_order_type": "market",
"post_only": false,
"price": 10542.68,
"reduce_only": false,
"replaced": false,
"time_in_force": "good_til_cancelled"
}
}User
user.orders.(kind).(currency).raw
User order updates across all instruments for a given kind and currency (raw stream).
Use this channel to receive private order updates across all matching instruments with the highest granularity (raw).
WSS
user.orders.(kind).(currency).raw
Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "private/subscribe",
"params": {
"channels": [
"user.orders.future.USDC.raw"
]
}
}{
"data": {
"amount": 200,
"api": false,
"average_price": 0,
"creation_timestamp": 1581507583024,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1581507583024,
"max_show": 200,
"order_id": "6",
"order_state": "open",
"order_type": "limit",
"original_order_type": "market",
"post_only": false,
"price": 10542.68,
"reduce_only": false,
"replaced": false,
"time_in_force": "good_til_cancelled"
}
}Subscription Request
type:object
Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.
Subscription Notification Data
type:object
Server sends subscription notification data
Was this page helpful?