接口描述:
  • 获取合约交易最新行情
请求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":"7252.26",//24H最低价
            "max":"8316.42",//24H最高价
            "latest":"8061.40",//最新价格
            "change24h":"0.1072",//24H涨跌比例
            "amount":"3445152.00",//成交量
            "volumn":"437.18",//成交额
            "openInterest":"810.00",//持仓量
            "indexPrice":"8065.25",//指数价格
            "fairPrice":"8060.09",//公平价格
            "nextFundingRate":"-0.00075000"//预测资金费率
        },
        ...
    ],
    "time": 1532671288,
    "microtime": "0.23065700 1532671288",
    "source": "api"
}

results matching ""

    No results matching ""