跳到主要内容

查询当前跟单信息

限速规则: 5次/秒/UID

HTTP请求

  • GET /api/v2/copy/spot-follower/query-current-orders
请求示例

curl "https://api.bitget.com/api/v2/copy/spot-follower/query-current-orders" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

请求参数

参数名参数类型是否必须描述
symbolString交易对
traderIdString交易员id
idLessThanString请求此ID之前
idGreaterThanString请求此ID之后
startTimeString开始时间戳
Unix时间戳的毫秒数格式,如 1597026383085(时间跨度最大支持三个月,若不传结束时间,则默认结束时间为三个月。)
endTimeString结束时间戳
Unix时间戳的毫秒数格式,如 1597026383085(时间跨度最大支持三个月,若不传开始时间,则默认开始时间为三个月。)
limitString默认20条,最大支持50条。超过将返回20条
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1695809370190,
"data": {
"endId": "1",
"trackingList": [
{
"trackingNo": "1",
"traderId": "**********",
"buyFillSize": "0.0317",
"buyDelegateSize": "0.0317190800000000",
"buyPrice": "34870.7",
"unrealizedPL": "-0.77945295",
"buyTime": "1695729895491",
"buyFee": "-0.00001908",
"unrealizedPLR": "-0.07",
"symbol": "BTCUSDT",
"stopSurplusPrice": null,
"stopLossPrice": null
}
]
}
}

返回参数

返回字段参数类型字段说明
trackingListlist跟单集合
> trackingNoString跟踪订单号
> traderIdString交易员uid
> buyFillSizeString买入成交数量
> buyDelegateSizeString买入委托数量
> buyPriceString买入价格
> unrealizedPLString当前未实现盈亏收益
> buyTimeString买入时间
> buyFeeString买入手续费
> unrealizedPLRString当前未实现盈亏收益率,若值为11.11,则代表11.11%
> symbolString交易对
> stopSurplusPriceString止盈价格
> stopLossPriceString止损价格
endIdString最后的数据id。id值为跟踪单号,用于根据id查询