Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0613· OpenAIAi2 WildChat-4.8M (AI2)

币安接口说明:/api/v3/ticker/24hr

  1. User

    币安接口说明:/api/v3/ticker/24hr

  2. Assistant

    币安接口/api/v3/ticker/24hr用于获取24小时价格变动数据。

    请求参数:
    • symbol(可选): 交易对符号,例如 "btcusdt". 如果不指定,将返回所有交易对的数据。
    返回结果:
    • symbol : 交易对符号
    • priceChange : 价格变动。
    • priceChangePercent : 价格变动百分比。
    • weightedAvgPrice : 加权平均价格。
    • prevClosePrice : 前一天的收盘价格。
    • lastPrice : 最新成交价。
    • lastQty : 最新成交量。
    • bidPrice : 当前最高买价。
    • bidQty : 当前最高买量。
    • askPrice : 当前最低卖价。
    • askQty : 当前最低卖量。
    • openPrice : 当天开盘价。
    • highPrice : 当天最高价。
    • lowPrice : 当天最低价。
    • volume : 交易量。
    • quoteVolume : 交易额。
    • openTime : 开盘时间。
    • closeTime : 收盘时间。
    • firstId : 第一笔交易ID。
    • lastId : 最后一笔交易ID。
    • count : 交易次数。
    请求示例:
    GET /api/v3/ticker/24hr?symbol=btcusdt
    
    返回示例:
    {
      "symbol": "btcusdt",
      "priceChange": "5.00000000",
      "priceChangePercent": "10.00000000",
      "weightedAvgPrice": "60.00000000",
      "prevClosePrice": "50.00000000",
      "lastPrice": "55.00000000",
      "lastQty": "0.50000000",
      "bidPrice": "55.00000000",
      "bidQty": "0.50000000",
      "askPrice": "60.00000000",
      "askQty": "0.50000000",
      "openPrice": "50.00000000",
      "highPrice": "60.00000000",
      "lowPrice": "50.00000000",
      "volume": "10000.00000000",
      "quoteVolume": "1000000.00000000",
      "openTime": 1499789100000,
      "closeTime": 1499865400000,
      "firstId": 28385,
      "lastId": 28460,
      "count": 76
    }
    

    以上示例给出了交易对btcusdt的数据。

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.