Skip to main content
A position ends in one of two ways: you close it early, or it settles automatically at maturity. Both return your margin plus net P&L, net of carry and fees, to your USDC balance. Closed positions are then available in your history with realized figures.

Close early

Close the position by market and side. Closing is asynchronous: it returns status: "submitted" with an order_tx_hash and fills shortly after. GET /positions returns to flat once it drains.
Pass an Idempotency-Key so the close is safe to retry. See API conventions.
Poll GET /positions until the side is gone to confirm the close has drained.

Settle at maturity

If you hold a position to its maturity_at, it settles automatically against the Marks reference rate - you don’t need to call close. The outcome lands in your USDC balance and the trade record moves to closed. To carry the exposure further, open a new position at a fresh tenor.

Review history

GET /hedges/history lists closed positions with their realized economics.
net_pnl_usd shows what a closed position earned or cost you after carry and fees.