接口描述:
  • 获取合约交易最新行情
请求URL:
  • https://apiv2.bitz.com/Market/getContractTickers
请求方式:
  • GET
参数:
参数名 必选 类型 备注
contractId int 合约ID
请求示例:
  • https://apiv2.bitz.com/Market/getContractTickers?contractId=101
返回结果实例:
{
  "status": 200,
  "msg": "",
  "data": [{
      "contractId": "101", //合约ID
      "pair": "BTC_USD", //合约市场
      "min": "8550.0", //24H最低价
      "max": "8867.5", //24H最高价
      "latest": "8645.0", //最新价格
      "change24h": "-0.0248", //24H涨跌比例
      "amount": "286231.00", //成交量
      "volumn": "2502462.46", //成交额
      "baseAmount": "286.231 BTC", //成交量(BTC)
      "quoteVolumn": "2502462.46 USDT", //成交量(USDT)
      "openInterest": "10110336.00", //持仓量
      "baseOpenInterest": "10110.34 BTC",  //持仓量(BTC)
      "quoteOpenInterest": "89623073.47 USDT", //持仓量(USDT)
      "indexPrice": "8065.25", //指数价格
      "fairPrice": "8060.09", //公平价格
      "nextFundingRate": "-0.00075000" //预测资金费率
    },
    ...
  ],
  "time": 1573813113,
  "microtime": "0.23065700 1573813113",
  "source": "api"
}

results matching ""

    No results matching ""