Quote Stream
WSProduction
wss://ws.btse.com/ws/otcTestnetwss://testws.btse.io/ws/otcSubscribe to continuous OTC price quotes. Prices are pushed as market conditions change. Requires WebSocket authentication.
To accept a quote, use the buyQuoteId or sellQuoteId from the stream
with the Accept Quote REST endpoint.
REST vs WebSocket β when to use which:
- REST
POST /public-api/otc/v1/quotesβ request a single quote with a 5-second TTL. This is the standard one-shot RFQ workflow. - WebSocket
quotestream (this channel) β subscribe to a continuous price feed for high-frequency consumers. Independent of the REST RFQ.
Subscribe payload differs from spot/futures. OTC uses op: quote with a top-level
symbol (and optional side, quantity); it does not use the spot/futures
{op: "subscribe", args: [...]} form. Sending a spot/futures-style payload is silently
acked with {event: "subscribe", channel: []} and produces no data.
// β
OTC subscribe
{ "op": "quote", "symbol": "BTC-USD", "quantity": { "quantity": 1, "currency": "BTC" } }
// β Spot/futures style β does NOT work for OTC
{ "op": "subscribe", "args": ["quote"] }
Operations:
quote: subscribe to quote streamunsubscribe-quote: unsubscribe from a specific quote streamunsubscribe-quote-all: unsubscribe from all quote streams
example