Connection
Connect to the ForecastEx WebSocket endpoint:Subscribing to markets
Once connected, send a JSON message to subscribe usingmarket_id:
Unsubscribing
Message types
Price messages
Trade messages
Full example
Important notes
- Authentication required via
api_keyquery parameter - No orderbook data available — ForecastEx uses CSV-based data feeds
- ForecastEx data is sourced via CSV polling (10-minute intervals)
- Use
market_id(ForecastEx market identifier) to subscribe - Messages are only sent for markets you have explicitly subscribed to

