The ticker channel provides real-time price updates every time a match happens.
// subscribe request
{
"command": "subscribe",
"identifier": "{\"channel\":\"TickerChannel\",\"market\":\"IOT-BTC\"}"
}
// confirmation
{
"type": "confirm_subscription",
"identifier": "{\"channel\":\"TickerChannel\",\"market\":\"IOT-BTC\"}"
}
// response structure
{
"identifier": "{\"channel\":\"TickerChannel\",\"market\":\"IOT-BTC\"}",
"message": {
"market_info": {
"id": 72,
"percent_change_24h": "0.0",
"latest_trade_price": "0.00022168",
"d1_volume": "294.00451",
"d1_price_volume": "0.0230943697768",
"price_precision": 8,
"size_precision": 0,
"right_currency_sign": "\u20BF"
}
}
}