Skip to main content
A Hedge 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 Hedges 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 Hedge 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 Hedge moves to closed. To carry the exposure further, open a new Hedge at a fresh tenor.

Review history

GET /hedges/history lists closed Hedges with their realized economics.
net_pnl_usd is the bottom line for a closed Hedge: what the position earned or cost you after everything.