Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "private/subscribe",
"params": {
"channels": [
"user.orders.future.USDC.100ms"
]
}
}{
"data": [
{
"amount": 120,
"api": false,
"average_price": 0,
"creation_timestamp": 1550826337209,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1550826337209,
"max_show": 120,
"order_id": "476137",
"order_state": "open",
"order_type": "limit",
"post_only": false,
"price": 3928.5,
"reduce_only": false,
"time_in_force": "good_til_cancelled"
}
]
}User
user.orders.(kind).(currency).(interval)
User order updates across all instruments for a given kind and currency (aggregated).
Use this channel to receive private order updates across all matching instruments, aggregated according to interval.
WSS
user.orders.(kind).(currency).(interval)
Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "private/subscribe",
"params": {
"channels": [
"user.orders.future.USDC.100ms"
]
}
}{
"data": [
{
"amount": 120,
"api": false,
"average_price": 0,
"creation_timestamp": 1550826337209,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1550826337209,
"max_show": 120,
"order_id": "476137",
"order_state": "open",
"order_type": "limit",
"post_only": false,
"price": 3928.5,
"reduce_only": 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?