Kuest Docs

Market Channel

Stream public order-book, price, and market lifecycle updates

Use the Market channel to keep one or more outcome-token books current without polling. The channel is public and does not require CLOB credentials.

Endpoint

wss://ws-subscriptions-clob.kuest.com/ws/market

Subscribe

FieldTypeDescription
typestringMust be market
assets_idsstring[]Outcome token IDs to stream
custom_feature_enabledbooleanEnables best_bid_ask and new_market events

Use one connection for multiple token IDs when possible.

Message types

TypeMeaning
bookFull level-2 order-book snapshot
price_changeIncremental change caused by an order placement or cancellation
tick_size_changeMinimum price-increment update
last_trade_priceLatest matched trade
best_bid_askTop-of-book update; requires custom features
new_marketNewly ingested market metadata; requires custom features

Keep local state consistent

Numeric values are serialized as strings. Live messages include sequence, stream_id, and server_ts_ms; book.hash summarizes a book payload.

  1. Build local state from a full book snapshot.
  2. Apply incremental messages in sequence.
  3. On reconnect, stream change, or sequence gap, discard the local book and request a fresh snapshot.

Do not continue applying deltas after a missed sequence. A visually plausible but stale book can produce incorrect prices and unsafe orders.

Try it

WebSocket ํ”Œ๋ ˆ์ด๊ทธ๋ผ์šด๋“œ

๋ธŒ๋ผ์šฐ์ € ์†Œ์ผ“์—์„œ๋Š” ์‚ฌ์šฉ์ž ์ง€์ • Authorization ํ—ค๋”๋ฅผ ์„ค์ •ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ด ์œ„์ ฏ์€ ํ† ํฐ์„ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

์—ฐ๊ฒฐ ๋Š๊น€
wss://ws-subscriptions-clob.kuest.com/ws/market

์—ฐ๊ฒฐ ๋กœ๊ทธ

์•„์ง ์ด๋ฒคํŠธ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.