WEEX 跟单交易 REST API
stringintegerintegerintegerstringintegerintegerstringintegerstringstringstringstringstringstringstringstringstringstringstringintegerintegerinteger
stringintegerintegerintegerintegerintegerbooleanobject | null
查询当前带单 (USER_DATA)
查询当前带单 (USER_DATA)。
GET
/capi/v3/copy/trader/openOrders
https://api-contract.weex.com
查询参数
symbol按交易对过滤,例如 BTCUSDT。
limit分页大小,1-100,默认 100。
page页码,从 1 开始,默认 1。
查询当前带单 (USER_DATA) › 响应
200
成功响应
object[]
trackingNo跟踪订单号。
symbol交易对。
openOrderId交易系统生成的开仓订单 ID。
openLeverage开仓杠杆。
openPriceAvg平均开仓价格。
openTime开仓时间,毫秒时间戳。
openSize开仓委托数量。
openFee开仓手续费。
openMarginAmount开仓保证金。
openFillSize开仓成交数量。
positionSide持仓方向:LONG、SHORT 或 BOTH。
status跟踪订单状态。
tpTriggerPrice止盈触发价。
slTriggerPrice止损触发价。
realizedPnl已实现盈亏。
profitRate收益率。
netProfit净收益。
followCount跟单人数。
createdTime创建时间,毫秒时间戳。
updateTime更新时间,毫秒时间戳。
查询历史带单 (USER_DATA)
查询历史带单 (USER_DATA)。
GET
/capi/v3/copy/trader/historyOrders
https://api-contract.weex.com
查询参数
symbol按交易对过滤,例如 BTCUSDT。
limit分页大小,1-100,默认 100。
startTime起始时间(毫秒),最大查询跨度 90 天。
endTime结束时间(毫秒),最大查询跨度 90 天。
nextKeyId上一页返回的游标 ID。
nextKeyTime上一页返回的游标时间。
查询历史带单 (USER_DATA) › 响应
200
成功响应
object[]
历史 tracking order 列表,单项结构同当前带单查询。
nextFlag是否有下一页。
nextKey下一页游标。