Skip to content
Get started

Websocket Handler

v1.websocket.websocket_handler()
GET/v1/ws

Upgrade the HTTP connection to a WebSocket and echo incoming messages.

Websocket Handler

from clear_street import ClearStreet

client = ClearStreet(
    api_key="My API Key",
)
client.v1.websocket.websocket_handler()
Returns Examples