mk_test_ key, then switch to a mk_live_ key when you’re ready.
Prerequisites
Create a key in Settings on the partner desk, then export it and the base URL. Use amk_test_ key to run this against the sandbox with test funds.
1. Check the market
Fetch the markets available to you. Each one shows its current rate, the capacity you can open per side, and the daily carry rate.2. Price the Hedge
Request an indicative quote for a market, side, size, and tenor. The quote returns the execution price, carry over the tenor, and the upfront cost (margin plus platform fee). Nothing is opened or persisted.3. Open the Hedge
Opening is asynchronous. The call returns immediately withstatus: "submitted", an order_tx_hash, and a hedge_id; the position fills shortly after. Pass a unique Idempotency-Key so the open is safe to retry, and an optional client_reference to tag the Hedge with your own deal id.
hedge_id. Save it - you’ll poll it next.
4. Poll until filled
Poll the Hedge untilstatus becomes filled (it also gains a fill_tx_hash and a struck_rate). This usually takes a few seconds.
5. Check your position
Once filled, your live position shows up with its mark price, P&L, and accrued carry.6. Close the Hedge
Close the position by market and side. Closing fills the same asynchronous way;GET /positions returns to flat once it drains.
Next steps
How Hedging Works
NDFs, tenor, carry, margin, and settlement.
Open a Hedge
The open flow in full, with every field.
Monitor Positions
Read P&L, carry, and margin on a live Hedge.
API Reference
Every endpoint, with request and response schemas.

