Skip to main content
This page documents WebSocket channels, how to subscribe/unsubscribe, and the message formats for each channel.

Supported Channels


ticker Channel

Subscribe

type is optional. Not required when the symbol is unambiguous; if the server returns an AMBIGUOUS_SYMBOL error, pass the value as indicated. Values: stock, indices, crypto, forex, futures

Unsubscribe

Server Response

The ticker message returns different fields based on market type.

Index

Metals

Forex

Stocks

US Stocks:
HK Stocks:
A-Shares:

Crypto

China Futures

Fields


depth Channel

Subscribe

type is optional. Not required when the symbol is unambiguous; if the server returns an AMBIGUOUS_SYMBOL error, pass the value as indicated. Values: stock, indices, crypto, forex, futures

Unsubscribe

Server Response

Fields

Ordering
  • bids: price descending
  • asks: price ascending

trade Channel

Subscribe

type is optional. Not required when the symbol is unambiguous; if the server returns an AMBIGUOUS_SYMBOL error, pass the value as indicated. Values: stock, indices, crypto, forex, futures

Unsubscribe

China futures trade pushes contain one trade per message and include optional position metadata:

Server Response

Fields