Subscribe to live stream
ws_subscribeSubscribe to symbols on a market data channel via WebSocket. Incoming ticks are buffered for retrieval with ws_poll.
Instructions
Open (if needed) the live WebSocket and subscribe to symbols on a channel. Incoming ticks are buffered; read them with ws_poll. Returns current connection status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | Channel: cex (crypto), dex (DEX trades), fx (forex), us (US stocks), tvl (DEX pool TVL). | |
| symbols | Yes | Symbols to (un)subscribe, e.g. ['BTCUSD','ETHUSD']. |