Leader Position
Leader Position
Get leader's positions
Request frequency limit: 1/1s
Request URL
GET /deepcoin/copytrading/leader-position
Request Parameters
Field Name | Required | Type | Description |
---|---|---|---|
pageNum | false | int | Page number Default: 1 Range: 1 - 100 |
pageSize | false | int | Items per page Default: 20 Range: 1 - 100 |
Response Parameters
Field Name | Type | Description |
---|---|---|
pageNum | int | Page number |
pageSize | int | Items per page |
totalPage | int | Total pages |
totalSize | int | Total size |
list | array | |
>tradeUnitID | string | |
>accountId | string | Account ID |
>instrumentId | string | Trading pair |
>leverage | float64 | Leverage |
>position | float64 | Position size |
>availablePosition | float64 | Available position |
>openPrice | float64 | Open price |
>useMargin | float64 | Margin |
>updateTime | int | Update time |
>isMergeMode | int | Split:0 Merged: 1 |
>isCrossMargin | int | Cross:0 Isolated: 1 |
>positionDirection | int | Position direction |
>forceClosePrice | float64 | Liquidation price |
>positionId | string | Position ID |
Response Example
No positions:
{
"code": "0",
"msg": "",
"data": {
"pageNum": 1,
"pageSize": 20,
"totalPage": 0,
"totalSize": 0,
"list": []
}
}
With positions:
{
"code": "0",
"msg": "",
"data": {
"pageNum": 1,
"pageSize": 20,
"totalPage": 1,
"totalSize": 1,
"list": [
{
"tradeUnitID": "1000180455844488",
"accountId": "36006295",
"instrumentId": "BTCUSDT",
"leverage": 125,
"position": 19,
"availablePosition": 19,
"openPrice": 27884.49999999999,
"useMargin": 4.45519986,
"updateTime": 1696748080,
"isMergeMode": 0,
"isCrossMargin": 0,
"positionDirection": 1,
"forceClosePrice": 27987,
"positionId": "1000180455844488"
}
]
}
}