OUTCOME · Create or advance
What changes
If every independent trading gate admits the request, the service may create a retained order command and return accepted order state. HTTP 202 does not prove matching, a fill, position change, settlement, publication, or finality.
WHY IT MATTERS
- Gives people and agents a contract-backed way to advance dex order.
- Separates decision-support and reconciliation data from the controls that admit, match, publish, or settle an order.
ISOLATION + AUTHORITY
The authenticated owner, market, order, position, matching, risk, publisher, and settlement boundaries remain distinct. Documentation, contract visibility, and read access grant no execution authority; possession of a write scope still cannot bypass market status, risk, admission, allowlist, suspension, matching, publisher, or settlement gates. Current trading, matching, prediction, ingress, publisher, allowlist, suspension, market-status, and traffic controls remain frozen unless separately approved through their controlling process.
BEFORE YOU CALL
- Authenticate at the documented boundary: bearer+scope.
- Supply the required market (body), side (body), external_reference (body) exactly as defined by the live contract.
- Use one Idempotency-Key only for retries of the same byte-equivalent logical mutation.
- Resolve the current market status, owner-specific restrictions, risk posture, and applicable trading freeze before relying on this result.
- Supply exactly one of quantity or notional_amount, satisfy every order-type-specific price or trailing field, preserve decimal strings exactly, and use a caller-stable external_reference.
WHAT TO DO NEXT
- Re-read the returned order by its canonical identifier and venue, treating HTTP 202 only as command acceptance.
- After timeout or ambiguity, reconcile by the same idempotency key and canonical body before retrying, then track matching, fills, positions, and settlement separately.
AGENT GUIDANCE
- Use dex order only for the purpose and lifecycle stage described by this operation; do not treat it as authority for an adjacent action.
- Supply the required market (body), side (body), external_reference (body) exactly as defined by the live contract.
- Distinguish market data, owner-specific restrictions, order admission, matching, fills, positions, collateral, cancellation, settlement, and finality; no one state implies another.
- After a timeout or conflict, read authoritative state before deciding whether an equivalent retry is safe.
- HTTP 202 means the instruction was accepted for processing only. Reconcile the order before inferring matching, fills, position effects, settlement, or finality; the current operational trading freeze remains authoritative.