Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| developers:apiv2 [2026/09/07 13:35] – chad | developers:apiv2 [2026/09/07 13:43] (current) – chad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| A single, streaming WebSocket connection for real-time market data, account/ | A single, streaming WebSocket connection for real-time market data, account/ | ||
| **Proto Files:** the '' | **Proto Files:** the '' | ||
| - | |||
| - | ===== Message Model ===== | ||
| - | |||
| - | All messages travel inside a transport envelope, one Protobuf message per WebSocket **binary** frame: | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | Each envelope is a '' | ||
| - | |||
| - | < | ||
| - | message ClientMessage { | ||
| - | oneof payload { | ||
| - | Heartbeat | ||
| - | auth.LoginRequest | ||
| - | market.MarketSubscribe | ||
| - | account.AccountSubscribe | ||
| - | orderrouting.OrderSubmit | ||
| - | // ... | ||
| - | } | ||
| - | } | ||
| - | |||
| - | message ServerMessage { | ||
| - | oneof payload { | ||
| - | Heartbeat | ||
| - | auth.LoginResponse | ||
| - | market.MarketSnapshot | ||
| - | account.AccountSnapshot | ||
| - | orderrouting.OrderUpdate | ||
| - | // ... | ||
| - | } | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | The full envelope is in '' | ||
| ===== Key Capabilities ===== | ===== Key Capabilities ===== | ||