Get Copy Follower History Orders (USER_DATA)
- GET
/capi/v3/copy/follower/historyOrders
Weight(IP): 10
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | String | No | Filter by symbol, for example BTCUSDT. |
| limit | Integer | No | Page size, 1-100. Default: 100. |
| startTime | Long | No | Start time in milliseconds. The maximum query range is 90 days. |
| endTime | Long | No | End time in milliseconds. The maximum query range is 90 days. |
| nextKeyId | Long | No | Cursor ID returned from the previous page. |
| nextKeyTime | Long | No | Cursor time returned from the previous page. |
Request Example
curl "https://api-contract.weex.com/capi/v3/copy/follower/historyOrders?symbol=BTCUSDT&limit=50" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000"
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| list | Array | History tracking order list. The item structure is the same as Get Copy Follower Open Orders. |
| nextFlag | Boolean | Whether there is a next page. |
| nextKey | Object | Cursor for the next page. |
| nextKey.nextKeyId | Long | Cursor ID. |
| nextKey.nextKeyTime | Long | Cursor time in milliseconds. |
Response Example
{
"list": [
{
"trackingNo": 9000000001,
"traderName": "Lead Trader",
"openOrderId": 702345678901234600,
"closeOrderId": 702345678901234700,
"traderID": 123456,
"symbol": "BTCUSDT",
"openLeverage": 10,
"openPriceAvg": "69000",
"openTime": 1764505800000,
"openSize": "0.01",
"openFee": "0.414",
"openMarginAmount": "69",
"openFillSize": "0.01",
"positionSide": "LONG",
"status": "CLOSED",
"tpTriggerPrice": "72000",
"slTriggerPrice": "67000",
"closeAvgPrice": "70000",
"closeSize": "0.01",
"closeTime": "1764505900000",
"realizedPnl": "10",
"profitRate": "0.12",
"netProfit": "9.5",
"createdTime": 1764505800000,
"updateTime": 1764505900000
}
],
"nextFlag": false,
"nextKey": null
}