Yellow BoxTrading APIv1 · pre-release

WebSocket Market Streams

Book ticker stream

Stream Description

Best bid and ask, Binance-shaped. This is the same underlying quote as @tick — MT5 publishes one bid and one ask with no size attached, so B and A are always "0". The stream exists so a Binance-shaped client can subscribe to the name it expects.

If you want the real book, use @depth. If you want direction and tick volume, use @tick — it is strictly more informative than this stream.

Stream Name

<SYMBOL>@bookTicker

Response Example

JSON
{"e":"bookTicker","E":1789012345678,"s":"XAUUSD","b":"2331.15","B":"0","a":"2331.42","A":"0","T":1789012345678}
Field Type Description
e STRING "bookTicker"
E LONG Event time, Unix ms.
s STRING Symbol.
b DECIMAL Best bid price.
B DECIMAL Best bid quantity. Always "0".
a DECIMAL Best ask price.
A DECIMAL Best ask quantity. Always "0".
T LONG Quote time, Unix ms.

There is no update id (u) — there is no book to sequence.