查询账户移仓历史(适用主账户)
接口描述
查询账户移仓历史
HTTP请求
GET /sapi/v1/sub-account/futures/move-position
请求权重(IP)
150
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
symbol | STRING | YES | |
startTime | LONG | NO | |
endTime | LONG | NO | |
page | INT | YES | |
row | INT | YES | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- 如果
startTime
和endTime
都没有传,返回最近90天内最大1000条记录。- 如果传了
startTime
但没有传endTime
,返回记录时间范围为[max(startTime, now-90d), now].- 如果传了
startTime
但没有传endTime
, 返回记录时间范围为 [max(now,endTime-90d), endTime].
响应示例
{
"total": 3,
"futureMovePositionOrderVoList": [{
"fromUserEmail": "testFrom@google.com",
"toUserEmail": "testTo@google.com",
"productType": "UM",
"symbol": "BTCUSDT",
"price": "105025.50981609",
"quantity": "0.00100000",
"positionSide": "BOTH",
"side": "SELL",
"timeStamp": 1737544712000
}, {
"fromUserEmail": "testFrom1@google.com",
"toUserEmail": "testTo1@google.com",
"productType": "UM",
"symbol": "BTCUSDT",
"price": "97100.00000000",
"quantity": "0.00100000",
"positionSide": "BOTH",
"side": "SELL",
"timeStamp": 1740041627000
}, {
"fromUserEmail": "testFrom2@google.com",
"toUserEmail": "testTo2@google.com",
"productType": "UM",
"symbol": "BTCUSDT",
"price": "97108.62068889",
"quantity": "0.00100000",
"positionSide": "BOTH",
"side": "SELL",
"timeStamp": 1740041959000
}]
}