PandaFX Docs

User Channel

Stream private order and trade updates for an authenticated account

Use the User channel to track order placement, fills, cancellations, and trade settlement for the account associated with your L2 credentials.

Endpoint

wss://ws-subscriptions-clob.kuest.com/ws/user

Authenticate and subscribe

Auth fieldRequiredDescription
apikeyYesUUID returned by the L1 credential flow
secretYesBase64 secret paired with the API key
passphraseYesPassphrase paired with the API key

The markets array limits updates to selected condition IDs. Reuse the same L2 credentials used by private CLOB REST routes.

The subscription includes secrets. Open it only from a protected runtime and never log the full payload.

Message types

TypeLifecycle values
orderPLACEMENT, UPDATE, CANCELLATION
tradeMATCHED, MINED, CONFIRMED, FAILED

Numeric fields are strings. owner, trade_owner, and order_owner are normalized to the caller API key.

Reconnect safely

Messages include sequence, stream_id, and server_ts_ms. If the connection drops, the stream changes, or a sequence is missing:

  1. fetch current open orders and relevant account state through REST;
  2. rebuild local state;
  3. reconnect and resume processing new messages.

Treat WebSocket messages as change notifications, not as the only durable record of an order or trade.

Try it

Entorno de pruebas de WebSocket

Los sockets del navegador no pueden establecer encabezados de autorización personalizados. Este widget añade el token como parámetro de consulta.

Desconectado
wss://ws-subscriptions-clob.kuest.com/ws/user

Registro de conexión

Aún no hay eventos.