Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

outcomeBbos

Streams the best bid and best ask for a batch of Outcome instruments over the node /ws connection. A subscription contains 1–50 unique instrumentIds and an exchangeId.

ChanneloutcomeBbosserver → client · type outcomeBbos

Keep prices live in an Outcome discovery grid or watchlist (up to 50 instruments per subscription).

Subscribe
{
  "method": "subscribe",
  "type": "outcomeBbos",
  "subscription": {
    "type": "outcomeBbos",
    "instrumentIds": [
      20165500,
      20165501
    ],
    "exchangeId": 1
  }
}
Try it
WS wss://rpc.txflow-testnet.xyz/ws
Subscription parameters
exchangeIdinteger · uint32required
instrumentIdsinteger · uint64[]required
typestringrequired
"outcomeBbos"
Server message
channelstring
"outcomeBbos"
dataobject
bbosobject[]
timeinteger · int64
Message example
{
  "channel": "outcomeBbos",
  "data": {
    "time": 1788935653280,
    "bbos": [
      {
        "instrumentId": 20165500,
        "bbo": [
          "0.40",
          "0.99"
        ]
      }
    ]
  }
}

Each bbo tuple is [bestBid, bestAsk]. Either side is null when the book has no order there. To watch more than 50 instruments, create multiple subscriptions on the same connection; one connection accepts up to 20 active Outcome BBO groups.

This channel is intended for discovery grids and watchlists. For full depth, subscribe to l2Book with one numeric instrument id.