接口描述:
  • 获取合约交易最新行情
請求URL:
  • https://apiv2.bitz.com/Market/getContractTickers
請求方式:
  • GET
參數:
參數名 必選 類型 備註
contractId int 合約ID
請求示例:
  • https://apiv2.bitz.com/Market/getContractTickers?contractId=1
返回結果實例:
{
    "status":200,
    "msg":"",
    "data":[
        {
            "contractId":"1",//合約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 ""