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

Trade

Receive
/v1/cefi/market
Server

Message sent from server containing the latest trade information 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*"TRADE"
Value in"TRADE"
update*string
Value in"SNAPSHOT""UPDATE"
data*
Example
{  "seqnum": "string",  "channel": "TRADE",  "update": "SNAPSHOT",  "data": {    "match_id": "string",    "taking_side": "BUY",    "info": {      "price": "string",      "qty": "string",      "timestamp": "string"    },    "symbol": "string"  }}