跳到主要内容

查询账户移仓历史 (适用主账户) (USER_DATA)

接口描述

查询账户移仓历史

HTTP请求

GET /sapi/v1/sub-account/futures/move-position

请求权重(IP)

150

请求参数

名称类型是否必需描述
symbolSTRINGYES
startTimeLONGNO
endTimeLONGNO
pageINTYES
rowINTYES
recvWindowLONGNO
timestampLONGYES
  • 如果 startTimeendTime都没有传,返回最近90天内最大1000条记录。
  • 如果传了 startTime 但没有传endTime,返回记录时间范围为[max(startTime, now-90d), now].
  • 如果传了startTime 但没有传 endTime, 返回记录时间范围为 [max(now,endTime-90d), endTime].

响应示例

{
"total": 3,
"futureMovePositionOrderVoList": [{
"fromUserEmail": "[email protected]",
"toUserEmail": "[email protected]",
"productType": "UM",
"symbol": "BTCUSDT",
"price": "105025.50981609",
"quantity": "0.00100000",
"positionSide": "BOTH",
"side": "SELL",
"timeStamp": 1737544712000
}, {
"fromUserEmail": "[email protected]",
"toUserEmail": "[email protected]",
"productType": "UM",
"symbol": "BTCUSDT",
"price": "97100.00000000",
"quantity": "0.00100000",
"positionSide": "BOTH",
"side": "SELL",
"timeStamp": 1740041627000
}, {
"fromUserEmail": "[email protected]",
"toUserEmail": "[email protected]",
"productType": "UM",
"symbol": "BTCUSDT",
"price": "97108.62068889",
"quantity": "0.00100000",
"positionSide": "BOTH",
"side": "SELL",
"timeStamp": 1740041959000
}]
}