Close early
Close the position by market and side. Closing is asynchronous: it returnsstatus: "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.GET /positions until the side is gone to confirm the close has drained.
Settle at maturity
If you hold a Hedge to itsmaturity_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.
