WebSocketFinance & Macro

Trading Economics Economic Calendar Streaming (WebSocket)

Trading Economics Economic Calendar Streaming (WebSocket) is a websocket from Trading Economics providing finance & macro data. A persistent WebSocket feed that pushes economic-calendar releases (CPI, NFP/jobs, GDP, FOMC rate decisions, etc.) the instant a figure prints, including the actual value alongside consensus forecast and prior. A Polymarket bot can subscribe to the calendar channel and react to macro surprises before markets fully reprice FOMC/CPI/recession markets.

At a glance

ProviderTrading Economics
TypeWebSocket
CategoryFinance & Macro
Real-timeYes — streaming
AuthAPI key
PricingQuote-based (custom); free trial limited to 100,000 data points / 100 requests — Free trial: capped at 100,000 data points and 100 data requests, for evaluation, Paid: custom pricing scaled to features used, request volume, and redistribution rights (contact sales), Calendar/streaming and indicators/markets/forecasts are add-on features billed within the same custom plan

What data it provides

  • actual released value vs forecast (consensus among economists) and teforecast (Trading Economics' own projection)
  • previous and revised values for each release
  • event/category/ticker, country, date, referenceDate, and source metadata
  • importance ranking 1 (low) to 3 (high) to filter for market-moving prints like CPI/NFP/FOMC
  • unit and currency for the indicator
  • coverage of the economic calendar across 196 countries / 20M+ indicators

Features

  • Persistent WebSocket at wss://stream.tradingeconomics.com; subscribe to the 'calendar' topic for continuous JSON release events
  • Push delivery on release (no polling) so actual-vs-consensus arrives the moment a figure prints
  • Broad macro coverage: 196 countries, central-bank rates, CPI, jobs, GDP, treasury/bond yields
  • Official SDKs/code examples: Python, Node.js, R, C#, Excel (github.com/tradingeconomics)
  • Companion REST API (developer.tradingeconomics.com) for historical calendar and indicator backfill
  • Documentation does not publish explicit latency SLAs or rate limits for the stream

Links

Use it in a bot

Other finance & macro data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord