Skip to content

Stream Quotes (Ticks)

Subscription required

Real-time price updates for subscribed symbols.

Subscribe / Unsubscribe examples

{ "command": "Subscribe",    "extId": "1", "data": { "chanels": ["EURUSD","BTCUSD"] } }
{ "command": "Unsubscribe",  "extId": "2", "data": { "chanels": ["EURUSD"] } }
{ "command": "UnsubscribeAll", "extId": "3", "data": {} }

Outgoing Message Format

Compact JSON array (5 elements):

Index Field Type Description
0 "t" string Event marker
1 symbol string Trading symbol (e.g. "EURUSD")
2 bid number Current bid price
3 ask number Current ask price
4 ctm int Server timestamp (ms)

Example

["t","EURUSD",1.08850,1.08870,1734312345678]

Client notes

  • Extremely high frequency possible (hundreds per second on volatile symbols)
  • Always expect an array and verify that arr[0] === "t".
  • bid/ask values are floating point numbers.
  • The format is stable: no additional fields are added.