GET /v1/positions
Your current exposure per market.quantityis base units, always positive;directioncarries the sign.notional_usd= quantity × mark_price (current value, not what you paid).unrealized_pnl_usdis before fees, after funding accrual.funding_usdis cumulative funding for the open position; negative means paid.- There is no
opened_at: the venue does not report one, and inventing one from order history would be wrong after adds and partial closes.
GET /v1/positions/
Returns the bare position, or404 not_found.position if you are flat.
POST /v1/positions//close
201 with an Order whose action is "close".
- Closing a market with no position →
404 not_found.position. usdabove the current notional closes fully (clamped, not rejected).- “Full close” always means the entire position as it stands at execution time, including on an idempotent resubmission after a crash.