For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/institutional/depth.md.

Depth

Receive
/v1/cefi/market
Server

Message sent from server containing the latest market data change for a subscribed instrument.

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*"DEPTH"
Value in"DEPTH"
update*string
Value in"SNAPSHOT""UPDATE"
data*
Example
{  "seqnum": "string",  "channel": "DEPTH",  "update": "SNAPSHOT",  "data": {    "symbol": "string",    "bids": [      {        "price": "string",        "qty": "string",        "depth": "string"      }    ],    "asks": [      {        "price": "string",        "qty": "string",        "depth": "string"      }    ]  }}