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 Order Trade (KEYED)
Applicable for querying contract order trade detail
Request URL
GET https://cloud-api.wooxpro.com/contract/private/trades
Request Limit
See Detailed Rate LimitRequest Parameter
Request
| Field | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Symbol of the contract(like BTCUSDT) |
| account | String | No | Trading account - futures- copy_trading |
| start_time | Long | No | Start time(Timestamp in Seconds) |
| end_time | Long | No | End time(Timestamp in Seconds) |
| order_id | Long | No | Order ID |
| client_order_id | String | No | Client Order ID |
Note
- If the time range
start_timeandend_timeare not filled in, the default query is the data of the last 7 days - If the time range is filled in,
end_timemust be greater than the value ofstart_time, and the maximum query interval ofstart_timeandend_timeis 90 days - Each request returns a maximum of 200 records, and any records exceeding that will not be returned.
- Supported query order types:
limit,market,liquidate,bankruptcy,adl,trailing
Response Data
Response
| Field | Type | Description | |
|---|---|---|---|
| symbol | String | Symbol of the contract | |
| order_id | String | Order ID | |
| trade_id | String | Trade detail ID | |
| 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 | |
| price | String | Deal price | |
| vol | String | Deal vol | |
| profit | Boolean | Profitable or not | |
| exec_type | String | Liquidity type - Taker- Maker | |
| realised_profit | String | realised profit | |
| paid_fees | String | paid fees | |
| account | String | Trading account - futures- copy_trading | |
| create_time | Long | Transaction create timestamp (ms) |