WebSocketStreaming
GET /v2/owner/{owner}/ws
GET /v2/owner/{owner}/wsParameter
In
Type
Required
Description
wss://$FLASH_API_URL/v2/owner/bRXn4PPnUCLKP3kdHbX6FFQFpw2AhFzBVMgo4ZaWvtfb/ws?updateIntervalMs=1000Message Protocol
basket — full snapshot
basket — full snapshot{
"type": "basket",
"data": {
"owner": "bRXn4PPnUCLKP3kdHbX6FFQFpw2AhFzBVMgo4ZaWvtfb",
"basketPubkey": "…",
"basketData": "base64-encoded-raw-basket-bytes…",
"positionMetrics": { "<marketPubkey>": { /* MbPositionMetricsDto */ } },
"orderMetrics": { "<marketPubkey>": { /* MbOrderMetricsDto */ } }
}
}metrics — metrics-only tick
metrics — metrics-only tickSnapshot Payload (MbBasketSnapshotDto)
MbBasketSnapshotDto)Field
Type
Description
MbPositionMetricsDto (per position)
MbPositionMetricsDto (per position)Field
Type
Description
MbOrderMetricsDto (per market)
MbOrderMetricsDto (per market)Field
Type
Description
Connection Behavior
Connection Limits
Limit
Value
Status
Condition
Client Example (TypeScript)
Last updated
Was this helpful?

