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 position 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 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.
