For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/institutional/index-message.md.
Index
Message sent from server with the exchange's own view of a subscribed price index after each one-second bar applies: the bar, the feed state, and the settlement value on the bar that closes a settlement window. An up/down outcome market opens at the settlement value of the window ending at its open time (its strike) and resolves YES when the settlement value of the window ending at its expiry is strictly above it, so a client can check a verdict from this stream rather than trust it. Items are observable ids as strings; an outcome instrument's terms.resolver_id names its observable.
const socket = new WebSocket("wss://api.truemarkets.co/v1/cefi/market");socket.addEventListener("message", (event) => { console.log(event.data);});- payload
seqnum*stringCurrent sequence number of the channel.
channel*"INDEX""INDEX"update*stringSNAPSHOT is sent upon subscription with the exchange's last view of the index. UPDATE is sent once per applied bar (about once a second) and once when the feed drops.
"SNAPSHOT""UPDATE"data*{ "seqnum": "string", "channel": "INDEX", "update": "SNAPSHOT", "data": { "observable_id": "string", "interval_start": "string", "interval_end": "string", "last": "string", "twap": "string", "low": "string", "high": "string", "settlement_value": "string", "state": "ACTIVE" }}Auction
Message sent from server containing the latest opening-auction indicative for a subscribed instrument. A status of INVALID indicates the instrument is not currently in an opening auction; updates are emitted while an auction is in progress, plus one final zeroed update (status INVALID) when the auction completes.
Dropcopy
Message sent from server containing order drop copy data for subscribed client IDs. Provides real-time order state updates including new orders, fills, cancellations, and modifications. Requires authentication - unauthenticated connections will be rejected. A DROPCOPY subscription placed while the exchange is still syncing its client catalog (shortly after a restart) receives a confirmation without that subscription and a message asking you to retry — resend the subscription in a few moments.