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

Receive
/v1/cefi/market
Server

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.

Code Sample
const socket = new WebSocket("wss://api.truemarkets.co/v1/cefi/market");socket.addEventListener("message", (event) => {  console.log(event.data);});

Messages

  1. payload
seqnum*string

Current sequence number of the channel.

channel*"INDEX"
Value in"INDEX"
update*string

SNAPSHOT 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.

Value in"SNAPSHOT""UPDATE"
data*
Example
{  "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"  }}