Appearance
Are you an LLM? You can read better optimized documentation at /api/reference/get-stream.md for this page in Markdown format
GET /stream
Server-Sent Events feed. Delivers real-time events as your trading engine produces them.
For the full event catalog with example payloads, see Streaming.
Key behaviors:
- One concurrent connection per API key. A second connect returns
409. - Auth is re-checked every 30 seconds. Revocation cuts the stream within 30 seconds.
- Explicit 5-minute recycle: the server emits
{type:'recycle', reason:'max_lifetime'}and closes. Reconnect withLast-Event-IDto replay missed events. 503means your trading container is not running — REST endpoints remain available.- Optional
?account_id=filters account-scoped events to one account.
SSE live feed (text/event-stream)
GET
/stream
Events carry a signal sub-object (SignalSummary) on position_update, position_closed, tp_hit, trade_executed, trade_finalized, breakeven_failed, and order_fill. For breakeven_set, signal is always null (event carries only a DB position UUID, not the MetaAPI ID required for watchdog lookup).
Authorizations
bearerAuth
TypeHTTP (bearer)
Parameters
Query Parameters
account_id
Typestring
format
uuidResponses
event stream
text/event-stream

