Skip to content

每日賣空成交

GET /v1/quote/{symbol}/short-selling/daily-short-volume

獲取港股 / 美股標的的每日賣空交易數據,按數據時間從新到舊排序。港股為成交維度,美股為持倉維度。

請求參數

參數類型位置必填說明
symbolstring路徑標的代碼,如 HK.00700US.AAPL
countint查詢返回條數。預設 30,最大 90

請求示例

bash
curl "$ip/v1/quote/HK.00700/short-selling/daily-short-volume?count=2" | jq

響應字段

港股 items 字段:

字段類型說明
timestampint數據時間(毫秒時間戳)。
timestamp_strstring數據日期(yyyy-MM-dd)。
shares_tradedint當日總成交股數。
turnoverfloat當日成交額(港幣)。
short_sell_shares_tradedint當日賣空股數。
short_sell_turnoverfloat當日賣空成交額(港幣)。
open_pricefloat開盤價。
close_pricefloat收盤價。
last_close_pricefloat上一交易日收盤價。
daily_trade_avg_ratiofloat當日成交均比(%)。

港股 data 級附加字段:

字段類型說明
marketstring市場標識,固定 HK
aggregated_shortint累計空頭持倉股數。
aggregated_short_ratiofloat累計空頭佔流通股比例(%)。
new_timestring數據更新時間(dd/MM/yyyy)。

美股 items 字段:

字段類型說明
timestampint數據時間(毫秒時間戳)。
timestamp_strstring數據日期(yyyy-MM-dd)。
total_shares_shortint當日總賣空股數。
nasdaq_shares_shortint納斯達克賣空股數。
nyse_shares_shortint紐交所賣空股數。
short_percentfloat賣空佔比(%)。
volumeint成交量。
close_pricefloat收盤價。
last_close_pricefloat上一交易日收盤價。
daily_trade_avg_ratiofloat當日成交均比(%)。

限制範圍

  • 市場:僅港股(HK)、美股(US)。其它市場不支持。
  • 品類:僅可賣空證券(正股、ETF、REIT 等)。期權、期貨、窩輪、指數等不支持。
  • 非指定可賣空證券返回 no_data。

錯誤碼

ret_codeerror.code觸發條件處理建議
0成功
-3invalid_parametercount 越界 / symbol 格式非法校正參數後重試
-7invalid_symbolsymbol 無法解析為證券檢查標的代碼
-8unsupported市場或品類不支持僅對港美可賣空證券調用
-10no_data標的無賣空數據視為該標的當前無賣空數據

響應示例

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "market": "HK",
    "aggregated_short": 46242547,
    "aggregated_short_ratio": 0.5,
    "new_time": "29/05/2026",
    "items": [
      {
        "timestamp": 1780588800000,
        "timestamp_str": "2026-06-05",
        "shares_traded": 31649780,
        "turnover": 14465428854.749,
        "short_sell_shares_traded": 4660100,
        "short_sell_turnover": 2135963680,
        "open_price": 461.6,
        "close_price": 453.2,
        "last_close_price": 459,
        "daily_trade_avg_ratio": 10.51
      }
    ]
  }
}