Trading
Stream Quotes
Server-Sent Events stream of live best-quote pricing for an open quote request. The preferred transport for live pricing in the trading UI.
GET
Subscribe to a Server-Sent Events stream of live best-quote pricing while the user builds their slip. This is the preferred transport for live pricing — it pushes an update only when the best quote changes, replacing the old ~1s polling of
GET /quote-requests/:id/quotes (which remains available as a fallback).
The response has Content-Type: text/event-stream. Use the browser EventSource API or any SSE-capable client. No API key is required — trading endpoints are open.
Path Parameters
The
requestId returned by POST /quote-requests.Events
Emitted whenever the best-quote payload changes. Data:
Emitted when the request ends (committed, expired, or cancelled). Data:
{ "requestId": "..." }.Errors
Returns HTTP404 (JSON) if the quote request does not exist.
