Documentation Index
Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
Use this file to discover all available pages before exploring further.
Get All Open Orders (KEYED)
Applicable for querying contract all open orders
Request URL
GET https://cloud-api.wooxpro.com/contract/private/get-open-orders
Request Limit
See Detailed Rate LimitRequest Parameter
Request
| Field | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Symbol of the contract(like BTCUSDT) |
| type | string | No | Order type - limit - market - trailing |
| order_state | string | No | Order state - all(default) - partially_filled |
| limit | int | No | The number of returned results, with a maximum of 100 and a default of 100 |
Response Data
Response
| Field | Type | Description |
|---|---|---|
| symbol | String | Symbol of the contract |
| order_id | String | Order ID |
| client_order_id | String | Client-defined OrderId (If the field is not defined, a empty string is returned) |
| side | Int | Order side hedge mode - 1=buy_open_long- 2=buy_close_short- 3=sell_close_long- 4=sell_open_shortoneway mode - 1=buy- 2=buy(reduce only)- 3=sell(reduce only)- 4=sell |
| type | String | Order type - limit - market - trailing |
| position_mode | String | Position mode - hedge_mode- one_way_mode |
| size | String | Order amount |
| leverage | String | Leverage order multipliers |
| String | String | Leverage order multipliers |
| open_type | String | Open type - cross- isolated |
| deal_avg_price | String | Average deal price |
| deal_size | String | Deal amount |
| price | String | Consignment price |
| state | Int | Order status - 2=status_check |
| activation_price | String | Activation price, returned at trailing order |
| callback_rate | String | Callback rate, returned at trailing order |
| activation_price_type | Int | Activation price type, returned at trailing order - 1=last_price- 2=fair_price |
| preset_take_profit_price_type | Int | Pre-set TP price type - 1=last_price- 2=fair_price |
| preset_stop_loss_price_type | Int | Pre-set SL price type - 1=last_price- 2=fair_price |
| preset_take_profit_price | String | Pre-set TP price |
| preset_stop_loss_price | String | Pre-set SL price |
| create_time | Long | Order created timestamp (ms) |
| update_time | Long | Order updated timestamp (ms) |