{
"id": "clientID6",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
{
"topic":"PERP_NEAR_USDC@kline_1m",
"ts":1618822432146,
"data":{
"symbol":"PERP_NEAR_USDC",
"type":"1m",
"open":15.97,
"close":14.76,
"high":16.97,
"low":14.06,
"volume":44.00947568,
"amount":2504584.9,
"startTime":1618822380000,
"endTime":1618822440000
}
}
{
"id": "clientID6",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
{
"topic":"PERP_NEAR_USDC@kline_1m",
"ts":1618822432146,
"data":{
"symbol":"PERP_NEAR_USDC",
"type":"1m",
"open":15.97,
"close":14.76,
"high":16.97,
"low":14.06,
"volume":44.00947568,
"amount":2504584.9,
"startTime":1618822380000,
"endTime":1618822440000
}
}
{time}
: 1m
/5m
/15m
/30m
/1h
/1d
/1w
/1M
Push interval: 1s
{
"id": "clientID6",
"topic": "PERP_NEAR_USDC@kline_1m",
"event": "subscribe"
}
Name | Type | Required | Description |
---|---|---|---|
id | string | Y | id generate by client |
event | string | Y | subscribe /unsubscribe |
topic | string | N | {symbol}@kline_{time} |
{
"id": "clientID6",
"event": "subscribe",
"success": true,
"ts": 1609924478533
}
{
"topic":"PERP_NEAR_USDC@kline_1m",
"ts":1618822432146,
"data":{
"symbol":"PERP_NEAR_USDC",
"type":"1m",
"open":15.97,
"close":14.76,
"high":16.97,
"low":14.06,
"volume":44.00947568,
"amount":2504584.9,
"startTime":1618822380000,
"endTime":1618822440000
}
}