跳转到内容

A/H 溢价

获取 A+H 两地上市股票的 A/H 溢价比率,对比 A 股和 H 股价格。

Parameters ​

SDK 方法参数。

NameTypeRequiredDescription
symbolstring是A+H 两地上市股票的 H 股代码,例如 939.HK

Request Example ​

Response ​

Response Example ​

json
{
  "code": 0,
  "message": "success",
  "data": {
    "klines": [
      {
        "ahpremium_rate": "0.1523",
        "apreclose": "24.80",
        "aprice": "25.10",
        "currency_rate": "0.8920",
        "hpreclose": "19.20",
        "hprice": "19.50",
        "price_spread": "1.23",
        "timestamp": "1778198400"
      }
    ]
  }
}

Response Status ​

StatusDescriptionSchema
200成功AhPremiumResponse
400请求错误None

Schemas ​

AhPremiumResponse ​

NameTypeRequiredDescription
klinesobject[]trueA/H premium daily kline records
∟ timestampstringfalseUnix timestamp
∟ ahpremium_ratestringfalseA/H premium rate
∟ apricestringfalseA-share price (CNY)
∟ apreclosestringfalseA-share previous close (CNY)
∟ hpricestringfalseH-share price (HKD)
∟ hpreclosestringfalseH-share previous close (HKD)
∟ currency_ratestringfalseCNH/HKD exchange rate
∟ price_spreadstringfalsePrice spread