Connection
Connect to the Opinion WebSocket endpoint:Subscribing to markets
Once connected, send a JSON message to subscribe usingmarket_id:
Unsubscribing
Message types
Price messages
Orderbook messages
Trade messages
Full example
Important notes
- Authentication required via
api_keyquery parameter - Use
market_id(Opinion market identifier) to subscribe - Messages are only sent for markets you have explicitly subscribed to
- Multiple markets can be subscribed in a single message
- Trades must be explicitly requested (not included in the default subscription)

