Channels

User events

User-specific events (requires user-level auth via authenticate action or token query param). Streams order confirmations, balance updates, and a venue-agnostic order lifecycle event (order_event) covering execution-plan steps and terminal fill / failure status across all venues.

Receive

Order confirmation after trade execution (user-level auth required)

OrderSubmitted · Order submitted

{  "type": "order_submitted",  "venue": "polymarket",  "orderId": "ord_abc123",  "side": "buy",  "price": 0.55,  "size": 100,  "outcomeId": "clv2abc123def456",  "marketId": "mkt_abc123",  "timestamp": 1710000000000,  "userId": "usr_xyz789",  "eventId": "string",  "stream": "user",  "replayed": true}

Balance update after trade execution (user-level auth required)

BalanceUpdate · Balance update

{  "type": "balance_update",  "venue": "polymarket",  "tradingBalanceCents": 94500,  "walletBalanceCents": 100000,  "timestamp": 1710000000000,  "userId": "usr_xyz789",  "eventId": "string",  "stream": "user",  "replayed": true}

Venue-agnostic order lifecycle event (user-level auth required)

Unified stream of DAG step transitions and terminal order status for every venue. Discriminate on the event field. Use step_* and dag_* events for progress UI, filled / partial_fill for terminal success, and failed / dag_failed for errors.

OrderEvent · Order lifecycle event

{  "type": "order_event",  "event": "cancelled",  "userId": "usr_xyz789",  "orderId": "ord_abc123",  "venue": "polymarket",  "filledAmountRaw": "string",  "remainingAmountRaw": "string",  "errorReason": "string",  "dagRunId": "string",  "stepId": "string",  "stepType": "string",  "waitingFor": {    "topic": "string",    "filterValue": "string"  },  "templateName": "string",  "attempt": 0,  "externalId": "string",  "timestamp": 1710000000000,  "eventId": "string",  "stream": "user",  "replayed": true}

On this page