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