Ticker Information

Ticker information on currency pair.

circle-info

When subscribing, the pair should be set in alphanumeric format only. Do not use separators between the base and quote asset. The correct format for NIZA/USDT to be set in a channel name is NIZAUSDT.

Subscribe with Pusher

var channel = pusher.subscribe("ticker-information.{pair}");

Subscribe Request Payload

{
   "event": "pusher:subscribe",
   "data": {
       "channel": "ticker-information.{pair}"
   }
}

Examples

chevron-rightPusherhashtag
var channel = pusher.subscribe("ticker-information.NIZAUSDT");
chevron-rightWebSocket API in Javascripthashtag
const message = {
        event: "pusher:subscribe",
        data: {
            channel: "ticker-information.NIZAUSDT"
        }
    };
socket.send(JSON.stringify(message));

Payload

Name
Type
Description

channel

string

Channel name of subscription

type

string

Type of event notification

data

array

The payload of the ticker information

data.ask

decimal

Best ask price

data.ask_qty

decimal

Best ask quantity

data.bid

decimal

Best bid price

data.bid_qty

decimal

Best bid quantity

data.change

decimal

24-hour price change (quote currency)

data.change_ptc

decimal

24-hour price change in percentage

data.high

decimal

24-hour highest trade price

data.last

decimal

Last trade price

data.low

decimal

24-hour lowest trade price

data.symbol

string

The symbol of the currency pair

data.volume

decimal

24-hour trade volume in base currency

data.vwap

decimal

24-hour volume weighted average price

Example of the ticker event payload received as JSON

Last updated