Skip to main content
GET
Stream Folio

Stream Folio

Opens a Server-Sent Events (SSE) stream that sends the sub-account’s full portfolio on connect, then streams incremental updates as positions change.

Request

Path parameters

Response

The response is a text/event-stream with two event types.

snapshot event

Sent immediately on connect. Contains the full folio as a JSON array of [key, value] pairs:

update event

Sent whenever folio data changes. Contains only the changed key/value pairs:

Keepalive

A comment line is sent every 30 seconds to keep the connection alive:

Examples

The stream sends all folio data as flat key/value pairs. See the Folio concepts page for the full key/value reference and value encoding details.

Errors