请求接口

/V1/Market/kline

参数 是否必传 类型 说明
symbol_id int 交易对ID
from int 开始时间戳
to int 截止时间戳
resolution string K线类型,不传则返回4小时线 1 1min线, 5 5min线, 15 15min线, 30 30min线, 60 60min线, 240 4小时线, D 日线, W 周线, M 月线
{
  "status": 200,
  "source": "API",
  "msg": "OK",
  "data": {
    "kline": [{
      "t": 1638835200, //起始时间
      "o": 50424.72,   //开盘价
      "h": 51533.1,    //最高价
      "l": 50322.3,    //最低价
      "c": 51380.96,   //收盘价
      "v": 90304.39    //成交量
    }],
    "symbolId": 1010
  },
  "seconds": 1638875830,
  "microtime": 1638875830637
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""

      results matching ""

        No results matching ""