市場行情快照

{
    "type":"message",
    "topic":"/market/snapshot:BTC",
    "subject":"trade.snapshot",
    "data":{
        "sequence":"1545896669291",
        "data":[
            {
                "trading":true,
                "symbol":"KCS-BTC",
                "buy":0.00011,
                "sell":0.00012,
                "sort":100,		//排序條數
                "volValue":3.13851792584,
                "baseCurrency":"KCS",
                "market":"BTC",
                "quoteCurrency":"BTC",
                "symbolCode":"KCS-BTC",
                "datetime":1548388122031,
                "high":0.00013,
                "vol":27514.34842,
                "low":0.0001,
                "changePrice":-0.00001,
                "changeRate":-0.0769,
                "lastTradedPrice":0.00012,
                "board":0,	//交易對分區 0.主分区 1.KuCoin Plus", example = "1"
                "mark":0	//交易對標記 0.default 1.ST. 2.NEW", example = "1"
            }
        ]
    }
}

Topic: /market/snapshot:{market}

  • 推送頻率: 2s一次

訂閱此topic可獲取指定交易市場的所有交易對的行情快照。