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.
查询交易记录 (KEYED)
适用于API代理商查询一定时间范围内的邀请用户合约交易记录
请求URL
GET https://cloud-api.wooxpro.com/contract/private/affiliate/trade-list
请求限制
参见 速率限制详细请求参数
请求
| 字段 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| user_id | Long | 是 | 查询用户ID |
| type | Int | 是 | 查询类型 - 1=U本位 - 2=币本位 |
| page | Int | 是 | 第几页 |
| size | Int | 是 | 每页条数 |
| start_time | Long | 否 | 查询开始时间戳(精确到秒) |
| end_time | Long | 否 | 查询结束时间戳(精确到秒) |
响应详情
响应
| 字段 | 类型 | 描述 |
|---|---|---|
| user_id | Long | 用户ID |
| user_type | Int | 用户类型: - 1=直客 - 2=间接 |
| create_time | Long | 创建时间 |
| symbol | string | 交易对 |
| leverage | Int | 杠杠倍率 |
| select_copy_trade | Int | 类型: - 1=跟单和 - 2=非跟单 |
| open_type | Int | 仓位类型: - 1=逐仓 - 2=全仓 |
| way | Int | 开仓方向: - 1=开多 - 2=平空 - 3=平多 - 4=开空 |
| category | Int | 委托类型: - 1=限价委托 - 2=市价委托 |
| deal_price | Decimal | 成交均价 |
| deal_vol | Decimal | 成交量 |
| fee | Decimal | 手续费 |
| realised_profit | Decimal | 已实现盈亏 |