Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "public/subscribe",
"params": {
"channels": [
"user.orders.BTC-PERPETUAL.raw"
]
}
}{
"data": {
"amount": 200,
"api": false,
"average_price": 0,
"creation_timestamp": 1581507423789,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1581507423789,
"max_show": 200,
"order_id": "5",
"order_state": "open",
"order_type": "limit",
"original_order_type": "market",
"post_only": false,
"price": 10502.52,
"reduce_only": false,
"replaced": false,
"time_in_force": "good_til_cancelled"
}
}User
user.orders.(instrument_name).raw
User order updates for a specific instrument (raw stream).
Use this channel to receive private order updates for the given instrument with the highest granularity (raw). Prefer this for real-time order state tracking.
WSS
user.orders.(instrument_name).raw
Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "public/subscribe",
"params": {
"channels": [
"user.orders.BTC-PERPETUAL.raw"
]
}
}{
"data": {
"amount": 200,
"api": false,
"average_price": 0,
"creation_timestamp": 1581507423789,
"direction": "buy",
"filled_amount": 0,
"instrument_name": "BTC-PERPETUAL",
"is_liquidation": false,
"is_rebalance": false,
"label": "",
"last_update_timestamp": 1581507423789,
"max_show": 200,
"order_id": "5",
"order_state": "open",
"order_type": "limit",
"original_order_type": "market",
"post_only": false,
"price": 10502.52,
"reduce_only": false,
"replaced": false,
"time_in_force": "good_til_cancelled"
}
}instrument_name
type:string
required
The name of the instrument
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?
⌘I