Skip to main content

My Positions

Rocky impl: GET /v1/positions/me

All non-zero positions for the caller. Returns [] if the user holds no positions.

Request

GET /v1/positions/me?user_id={user_id}

Response — 200

[
{
"user_id": "5cfb031b-5936-4467-9533-cd2df576dbb8",
"symbol": "BTC-PERP",
"qty": "0.001",
"entry_price": "76500.00",
"locked_margin": "7.65",
"realized_pnl": "0.5234"
}
]