Position Information V2
Type: USER-DATA
External endpoint:
GET /fapi/v2/positionRisk
Rocky impl:GET /fapi/v2/positionRisk✓
Per-symbol position state including entry price, live mark price (oracle), and locked margin.
Request
GET /fapi/v2/positionRisk?symbol=BTCUSDT
Query params
| Name | Type | Required | Notes |
|---|---|---|---|
symbol | string | no | standard pair. If omitted, returns all non-zero positions. |
Response — 200
[
{
"symbol": "BTCUSDT",
"positionAmt": "0.001",
"entryPrice": "76500.00",
"markPrice": "76538.12",
"unRealizedProfit": "0",
"leverage": "10",
"marginType": "cross",
"isolatedMargin": "7.65",
"positionSide": "BOTH",
"updateTime": 1748275200000
}
]
| Field | Notes |
|---|---|
unRealizedProfit | Always "0" today. Compute client-side as positionAmt * (markPrice − entryPrice). |
leverage | Always "10" (system-wide LEVERAGE_V1). |
marginType | Always "cross". |
positionSide | Always "BOTH" (Rocky uses one-way mode). |
liquidationPrice,maxNotionalValue,isolatedWallet,breakEvenPriceare not yet returned.