- Customers trade on the TRDRS-held venue book. Their fills, balances and P&L stay there.
- The venue measures the net exposure of an account group.
- A hedge policy creates a target in a separate provider account owned by the venue.
- TRDRS sends and reconciles that hedge as its own order.
Before you activate a policy
- Connect and validate a provider under the venue.
- Discover an account with both read and trade permission.
- Bind it with
mode: "hedge". A hedge account cannot be invited or shown to a trader. - Activate the instruments you will hedge, including their mapping to the provider connection.
- Create the customer account group whose net exposure the policy will measure.
- Issue a Venue key with
hedge:read,hedge:manageandhedge:executeas needed.
Publish and activate
Calculate, dispatch and reconcile
POST /api/partner/venues/{venueId}/hedges/calculate reads the durable customer book and stores one
target. The target records customer exposure, desired hedge, confirmed provider position, already
pending amount and rounding residual separately. Repeating a calculation against the same source
checkpoint returns the same target and intent.
Set dryRun: true on that request to preview the same calculation without saving a target, creating
an order, writing an audit event or sending a webhook.
Dispatch the returned intent through
POST /api/partner/venues/{venueId}/hedges/intents/{intentId}/dispatch. A provider refusal removes the
pending amount. A lost or uncertain reply stays unknown; it still counts as pending so a retry
cannot double the hedge. Resolve it with the matching /reconcile call.
Read the full state with:
complete flag. Missing fee data, unresolved commands and open incidents make the
report incomplete instead of silently reading as zero.
Webhooks
The venue’s existing signed webhook endpoints may subscribe tohedge.target, hedge.intent,
hedge.fill, hedge.failure, hedge.drift and hedge.halt. They use the same signature and retry
log as account and risk events. A hedge event always names a venue-owned hedge action; it never
claims that a customer order was routed externally.
Emergency controls
Emergency stop pauses all policies, cancels additions that have not been dispatched and opens an incident. It deliberately does not flatten the provider account. Flattening is a separate explicit call:What can block a target
- the policy is not active
- provider state or its stream proof is stale
- the active instrument has no mapping for the destination connection
- the mark is older than the instrument’s configured maximum age
- the customer book is incomplete
- an incident is open
- a previous command still has an unknown outcome