Available when the Hedging module is turned on for your workspace. Ask your workspace admin. The WhatsApp connection itself is managed separately, see WhatsApp.
How a hedge flows
1
A trader confirms the physical
A trader posts the confirmation in a WhatsApp group set up for hedge requests. Or your own system sends a hedge request through the API.
2
Mercora prepares a hedge plan
Mercora reads the message, finds the matching hedge rule, and works out the lots, the futures contract and the broker order. The plan lands in the Inbox.
3
An operator approves and sends the order
You check the plan and the order text, then send it to the broker’s WhatsApp group.
4
The broker replies with the fill
The broker’s reply in their group is matched to the hedge, automatically or by you.
5
The hedge closes
The fill completes the hedge sheet row and, if connected, is booked in your CTRM.
Set up hedging
A workspace admin sets this up once, under Settings → Integrations → WhatsApp. Before you start, Mercora’s WhatsApp number must be connected and added to the trader and broker groups (see WhatsApp), and, to log hedges in a sheet, Google Sheets connected (see Google Sheets).Route the WhatsApp groups
Under WhatsApp Group Routings, map each WhatsApp group that Mercora’s number is in to a role:
Mercora reads only the groups you route. It posts in them only what you approve: the broker order and the thumbs-up.
Add hedge rules
Under Commodity Hedge Rules, add one rule per origin keyword and book. A book here is a commodity on an exchange, such as white sugar in London. WhatsApp confirmations and API hedge requests are both planned from these rules.
Each active rule also has Attach broker fills automatically, off by default:
- Off: fills wait on the hedge for you to record.
- On: a fill that answers this rule’s order and passes every check is attached without review, and the sheet row and booking follow. If more than one hedge could take it, it waits for you. Turn it on only if nobody else orders that contract in the broker group.
Review a hedge plan
Open the hedge in the Inbox. The card shows the trader’s message, what the hedge is built from, and the broker order. The broker message is the order. Edit its text in the box if needed; the line under it explains how the lots were worked out. Under Also on approve, choose what happens alongside the order:- Row appended to the hedge sheet tab, with lots and price blank until the fill.
- Thumbs-up on the trader’s message, so the trader sees it was handled.
Some messages can’t become a hedge: no hedge rule matches, no broker group is set up, or the contract is already on another hedge. The card says which, and links the covering hedge.
Record the fill
After the order goes out, the hedge waits for the broker. When a reply arrives in the broker group:- With Attach broker fills automatically on and every check passed, the fill is attached on its own.
- Otherwise the hedge shows Fill captured · waiting on you. Click Attach to record it, or Dismiss — not this hedge’s fill.
- A fill Mercora couldn’t pair, for example because it arrived late, can be recorded with Enter this fill.
- The hedge sheet row is completed with lots and price.
- If the Derivatives module is on, the fill is added to the futures ledger. See Derivatives.
- If your workspace pushes hedges to Agiblocks, the future is booked there and allocated to the rule’s position.
Hedges in Agiblocks
Booking fills in Agiblocks needs External systems sync and its Hedging sync switch turned on for your workspace, and the External sync permission under Hedging on your role.
- Retry booking or Retry allocation. Mercora first checks Agiblocks for its own reference and won’t book or allocate twice. It only retries when you ask.
- Mark as handled, once you’ve dealt with it in Agiblocks yourself. Add an optional note. The failed attempt stays on record.
Request a hedge from your own systems
Your own systems can ask for a hedge through the Mercora API:GET /hedge-bookslists what your workspace can hedge: its active hedge rules.POST /hedge-requestsasks for a hedge on a physical contract. It becomes a hedge in the Inbox for an operator to send. Nothing is sent to a broker from the API.GET /hedge-requests/{id}says where a request stands.
Who can do what
If the Hedging module is turned off, the workflow stops and active hedges are hidden from the Inbox. See Roles and permissions.
Next steps
Derivatives
See recorded fills in the futures ledger.
Google Sheets
Connect the hedge sheet each rule logs to.
External systems
Book fills as futures in Agiblocks.