Position Information(USER_DATA)
API Description
Get current position information.
Method
account.position
Request
{
"id": "233b8741-a96d-48e8-8ce1-160f43548aeb",
"method": "account.position",
"params": {
"apiKey": "",
"pair": "BTCUSD",
"timestamp": 1727825241779,
"signature": "0f04368b2d22aafd0ggc8809ea34297eff602272917b5f01267db4efbc1c9422"
}
}
Request Weight
5
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
marginAsset | STRING | NO | |
pair | STRING | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Note
- Please use with user data stream
ACCOUNT_UPDATE
to meet your timeliness and accuracy needs.
Response Example
{
"id": "233b8741-a96d-48e8-8ce1-160f43548aeb",
"status": 200,
"result": [
{
"symbol": "BTCUSD_PERP",
"positionAmt": "0",
"entryPrice": "0.00000000",
"markPrice": "62297.60417296",
"unRealizedProfit": "0.00000000",
"liquidationPrice": "0",
"leverage": "7",
"maxQty": "100",
"marginType": "cross",
"isolatedMargin": "0.00000000",
"isAutoAddMargin": "false",
"positionSide": "BOTH",
"notionalValue": "0",
"isolatedWallet": "0",
"updateTime": 1726731195634,
"breakEvenPrice": "0.00000000"
},
// ... ...
],
"rateLimits": [
{
"rateLimitType": "REQUEST_WEIGHT",
"interval": "MINUTE",
"intervalNum": 1,
"limit": 2400,
"count": 10
}
]
}