Get Positions
Get Positions
Get positions list
Request frequency limit: 1/1s
Request URL
GET /deepcoin/account/positions
Request Parameters
Field Name | Required | Type | Description |
---|---|---|---|
instType | true | string | Product type Contract: SWAP Spot: SPOT |
instId | false | string | Product ID |
Response Parameters
Field Name | Type | Description |
---|---|---|
instType | string | Product type Spot is displayed as: SPOT |
mgnMode | string | Margin mode: cross=Cross margin Spot is displayed as: cash |
instId | string | Product ID |
posId | string | Order ID |
posSide | string | Position side Long: long Short: short Spot is displayed as: "" |
pos | string | Position size (in contracts) |
avgPx | string | Average open price Spot is displayed as: average buy price |
lever | string | Leverage size (not applicable to spot/options) Spot is displayed as: "" |
liqPx | string | Liquidation price |
useMargin | string | Used margin Spot is displayed as: "" |
mrgPosition | string | Position type Merged: merge Split: split Spot is displayed as: "" |
ccy | string | Margin currency |
uTime | string | Position creation time, Unix timestamp in milliseconds |
cTime | string | Last position update time, Unix timestamp in milliseconds |
Response Example
{
"code": "0",
"msg": "",
"data": [
{
"instType": "SWAP",
"mgnMode": "cross",
"instId": "BTC-USDT-SWAP",
"posId": "1000587858872759",
"posSide": "long",
"pos": "200",
"avgPx": "97603",
"lever": "1",
"liqPx": "0.1",
"useMargin": "19520.6",
"mrgPosition": "split",
"ccy": "USDT",
"uTime": "1739243187000",
"cTime": "1739243187000"
}
]
}