跳轉到內容

成交統計

獲取指定證券的成交統計數據,展示成交量的價格分布。

Parameters ​

SDK 方法參數。

NameTypeRequiredDescription
symbolstring是證券代碼,例如 700.HK

Request Example ​

Response ​

Response Example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "statistics": {
      "avgprice": "210.50",
      "buy": "45000000",
      "sell": "38000000",
      "neutral": "12000000",
      "total_amount": "95000000",
      "trades_count": "125000",
      "preclose": "208.20",
      "timestamp": "1778198400",
      "trade_date": [
        "2026-05-13"
      ]
    },
    "trades": [
      {
        "price": "210.00",
        "buy_amount": "5000000",
        "sell_amount": "4000000",
        "neutral_amount": "1000000"
      }
    ]
  }
}

Response Status ​

StatusDescriptionSchema
200成功TradeStatsResponse
400請求錯誤None

Schemas ​

TradeStatsResponse ​

NameTypeRequiredDescription
statisticsobject是成交統計匯總
statistics.avgpricestring否平均成交價
statistics.buystring否總買入成交量
statistics.sellstring否總賣出成交量
statistics.neutralstring否總中性成交量
statistics.total_amountstring否總成交額
statistics.trades_countstring否總成交筆數
statistics.preclosestring否前收盤價
statistics.timestampstring否統計時間戳
statistics.trade_datestring[]否涵蓋的交易日期
tradesobject[]否按價位的成交分布,
∟ pricestring是價位
∟ buy_amountstring否該價位買入成交額
∟ sell_amountstring否該價位賣出成交額
∟ neutral_amountstring否該價位中性成交額