A/H 溢價盤中數據
獲取兩地上市證券的盤中 A/H 溢價時間序列數據。
SDK Links
Parameters
SDK 方法參數。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 兩地上市股票的港股代碼,例如 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
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | AhPremiumIntradayResponse |
| 400 | 請求錯誤 | None |
Schemas
AhPremiumIntradayResponse
| Name | Type | Required | Description |
|---|---|---|---|
| klines | object[] | true | Intraday A/H premium kline data, see AhPremiumKline |
| ∟ timestamp | string | false | Unix 時間戳 |
| ∟ ahpremium_rate | string | false | A/H premium rate |
| ∟ aprice | string | false | A-share price (CNY) |
| ∟ apreclose | string | false | A-share previous close (CNY) |
| ∟ hprice | string | false | H-share price (HKD) |
| ∟ hpreclose | string | false | H-share previous close (HKD) |
| ∟ currency_rate | string | false | CNH/HKD exchange rate |
| ∟ price_spread | string | false | Price spread |

