Real-time settlement payouts stream with resume capability. NOTE: This stream is deprecated. Please migrate to /accounting.
Query Parameters:
- since=<uint64> Last applied seq for resume (optional; must be >0; absent or 0 → start from live tail)
- market=<id> Repeatable; filter by market_id
- account_id=<id> Repeatable; filter by account_id
Resume Semantics:
- Client connects with since=S (last applied seq)
- Server replays frames with seq >= S in order
- Sends backlog_end (last_seq = current max)
- Continues live streaming If S > current max → immediate live (no backlog) If S too old (retention gap) → error frame (code=resume_too_old) then close (4009)
Idempotency / Ordering:
- seq strictly monotonic per broker (shared or separate sequence depending on implementation details, typically separate per stream type); no gaps
- Client drops any frame with seq <= last_applied_seq
- Expected next seq = last_applied_seq + 1
Heartbeats:
- Sent when no payout within configured interval
- Heartbeat does NOT advance seq
- Heartbeat and backlog_end both repeat the last data seq
Close Codes: Same as /orders