Skip to main content
Room ID: trader_pnl
Endpoint: wss://staging-api.struct.to/ws
Live realized PnL for a trader across all of their tokens, per timeframe (1d, 3d, 7d, 14d, 30d, lifetime). Each message is the full PnL summary: realized PnL, volumes, win/loss counts, and first/last trade times.

Subscribe

No traders or subscribe_all: true receives every trader PnL update. Extra traders beyond 500 are returned in rejected.

Filters

Provide either chain or chain_id. Do not send both.

Example

Events

The room emits trader_pnl_update. Pick Response (Long) or Response (Short) in the right-hand panel. WebSocket defaults to short. See long and short field names.
Last modified on October 15, 2026