Skip to main content
WSS

Documentation Index

Fetch the complete documentation index at: https://docs.agg.market/llms.txt

Use this file to discover all available pages before exploring further.

Messages
appId
type:userPassword

App-level auth: pass appId as a query parameter on connect. Required for all connections. The appId must belong to an active app with matching allowed origins.

jwt
type:http

User-level auth: pass JWT as token query param on connect, or send { action: 'authenticate', token } mid-session. Required for user-specific events (orders, balances). Same JWT as the REST API.

Order submitted
type:object

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

Balance update
type:object

Balance update after execution (user-level auth required)

Order lifecycle event
type:object

Venue-agnostic DAG and order lifecycle stream. Discriminate on the event field. Emitted for every venue automatically.