{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"user.orders.(kind).(currency).raw"
]
}
}{
"data": {
"time_in_force": "good_til_cancelled",
"replaced": false,
"reduce_only": false,
"price": 10542.68,
"post_only": false,
"original_order_type": "market",
"order_type": "limit",
"order_state": "open",
"order_id": "6",
"max_show": 200,
"last_update_timestamp": 1581507583024,
"label": "",
"is_rebalance": false,
"is_liquidation": false,
"instrument_name": "BTC-PERPETUAL",
"filled_amount": 0,
"direction": "buy",
"creation_timestamp": 1581507583024,
"average_price": 0,
"api": false,
"amount": 200
}
}Get notifications about changes in user’s orders in instruments of a given kind and currency.
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"user.orders.(kind).(currency).raw"
]
}
}{
"data": {
"time_in_force": "good_til_cancelled",
"replaced": false,
"reduce_only": false,
"price": 10542.68,
"post_only": false,
"original_order_type": "market",
"order_type": "limit",
"order_state": "open",
"order_id": "6",
"max_show": 200,
"last_update_timestamp": 1581507583024,
"label": "",
"is_rebalance": false,
"is_liquidation": false,
"instrument_name": "BTC-PERPETUAL",
"filled_amount": 0,
"direction": "buy",
"creation_timestamp": 1581507583024,
"average_price": 0,
"api": false,
"amount": 200
}
}Instrument kind
Currency code
Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.
Server sends subscription notification data
Was this page helpful?