Yellow BoxTrading APIv1 · pre-release

WebSocket Market Streams

Individual symbol ticker stream

Stream Description

Daily statistics, the same data as GET /v1/ticker/24hr, throttled to at most one message per second per symbol.

The same caveat applies: these are the trade server's trading-day statistics, not a rolling 24-hour window, and the activity counters are broker-wide.

Stream Name

<SYMBOL>@ticker

Response Example

JSON
{"e":"24hrTicker","E":1789012345678,"s":"XAUUSD","o":"2325.40","h":"2338.90","l":"2321.05","c":"2331.15","b":"2331.15","a":"2331.42","p":"5.75","P":"0.247","vt":"0.731","n":18422,"v":"9214.50","bo":9611,"so":8811}
Field Type Description
e STRING "24hrTicker"
E LONG Event time, Unix ms.
s STRING Symbol.
o DECIMAL Day open price.
h DECIMAL Day high (bid).
l DECIMAL Day low (bid).
c DECIMAL Last price.
b DECIMAL Current best bid.
a DECIMAL Current best ask.
p DECIMAL Price change, c - o.
P DECIMAL Price change percent, derived from o and c on this stream. (GET /v1/ticker/24hr may instead report the trade server's own statistic — expect the two to agree to rounding, not bit-for-bit.)
vt DECIMAL Volatility percent, as the trade server computes it.
n LONG Deals on the symbol today, broker-wide.
v DECIMAL Traded volume today as reported by the trade server, in its volume units (lots for most symbols), broker-wide.
bo LONG Buy orders today, broker-wide.
so LONG Sell orders today, broker-wide.