Skip to main content
WSS
/
ws
Messages
Market Statistics Query
type:object

Get market statistics for a specified period

Subscribe to Market Statistics
type:object

Subscribe to market statistics updates

Unsubscribe from Market Statistics
type:object

Stop receiving market statistics updates

Market Statistics Response
type:object

Market statistics including OHLCV data

Subscribe Response
type:object

Subscription confirmation

Market Statistics Update
type:object

Periodic market statistics update (every 1 second)

Field Descriptions

Understanding the market statistics fields:
  • period: The time window in seconds for the statistics
  • last: Current last trade price
  • open: The price at the beginning of the period (at ‘now - period’ time)
  • close: The price that closes/ends the period (typically same as last for current period)
  • high: Highest price reached during the period
  • low: Lowest price reached during the period
  • volume: Total trading volume in stock currency (base currency)
  • deal: Total trading volume in money currency (quote currency)

Subscription Limitation

You can only subscribe for a 24-hour period (86400 seconds). Custom period subscriptions are not supported.
For queries (market_request), you can specify any valid period. For subscriptions (market_subscribe), the period is fixed at 24 hours from the current time.