Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "private/subscribe",
"params": {
"channels": [
"user.orders.BTC-PERPETUAL.100ms"
]
}
}{
"data": [
{
"amount": 200,
"api": false,
"average_price": 0,
"creation_timestamp": 1581507159533,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1581507159533,
"max_show": 200,
"order_id": "4",
"order_state": "open",
"order_type": "limit",
"original_order_type": "market",
"post_only": false,
"price": 10460.43,
"reduce_only": false,
"replaced": false,
"time_in_force": "good_til_cancelled"
}
]
}User
user.orders.(instrument_name).(interval)
User order updates for a specific instrument (aggregated).
Use this channel to receive private order updates for the given instrument, aggregated according to interval.
WSS
user.orders.(instrument_name).(interval)
Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "private/subscribe",
"params": {
"channels": [
"user.orders.BTC-PERPETUAL.100ms"
]
}
}{
"data": [
{
"amount": 200,
"api": false,
"average_price": 0,
"creation_timestamp": 1581507159533,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1581507159533,
"max_show": 200,
"order_id": "4",
"order_state": "open",
"order_type": "limit",
"original_order_type": "market",
"post_only": false,
"price": 10460.43,
"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?