Skip to main content

Position by User+Symbol

Rocky impl: GET /v1/positions/{user_id}/{symbol}

Read a single position row by user + symbol.

Request

GET /v1/positions/{user_id}/{symbol}

Response — 200

{
"user_id": "5cfb031b59364467953",
"symbol": "BTC-PERP",
"qty": "0.001",
"avg_price": "76500.00",
"realized_pnl": "0.5234"
}

If the user has no position, all numeric fields are "0".