{
"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.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.
{
"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"
}
]
}Currency code or any for all
Allowed values: BTC, ETH, USDC, USDT, EURR, any
BTC, ETH, EURR, USDC, USDT, anyFrequency of notifications. Events will be aggregated over this interval. The value raw selects the finest granularity - events are aggregated over a 1 millisecond interval (Please note that raw interval is only available to authorized users)
Allowed values: raw, 100ms, agg2
100ms, agg2, rawInstrument kind
Allowed values: future, option, spot, future_combo, option_combo
future, future_combo, option, option_combo, spotClient 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?