Loading...
Loading...
A/H premium ratio for Mainland-Chinese companies dual-listed in Hong Kong and A-shares (e.g. 939.HK / 601398.SH, 1810.HK / 600519.SH-pair) via Longbridge Securities — historical premium time series (kline) or today's intraday premium curve. Only HK-side symbols of dual-listed pairs return data. Triggers: "AH 溢价", "A H 溢价率", "AH 折价", "AH 价差", "工行 AH", "建行 AH", "比价", "A 股贵还是港股贵", "AH premium", "A/H premium", "AH ratio", "AH 溢價", "A H 溢價率", "AH 折價", "AH 價差", "比價", "A 股貴還是港股貴", "dual listed premium", "Hong Kong A-share premium", "premium ratio", "939.HK", "1398.HK", "600519.SH 对应港股".
npx skill4agent add longbridge/skills longbridge-ah-premiumResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
1398.HK939.HK2318.HK1398.HK --kline-type day --count 250intraday 939.HKlongbridge-quotelongbridge-peer-comparison<CODE>.HK| Company | HK | A-share |
|---|---|---|
| 工商银行 / ICBC | | |
| 建设银行 / CCB | | |
| 中国平安 / Ping An | | |
| 招商银行 / CMB | | |
| 中国人寿 / China Life | | |
700.HKRun(andlongbridge ah-premium --help) if unsure of current flags.longbridge ah-premium intraday --help
| CLI command | Returns |
|---|---|
| Historical premium ratio kline |
| Today's intraday premium time series |
--kline-type1m5m15m30m60mdayweekmonthyear--count--kline-type day --count 250--kline-type day --count 22intraday# Default daily kline (100 days)
longbridge ah-premium 939.HK --format json
# Last year of daily premium
longbridge ah-premium 1398.HK --kline-type day --count 250 --format json
# Last 12 weeks
longbridge ah-premium 2318.HK --kline-type week --count 12 --format json
# Today's intraday premium curve
longbridge ah-premium intraday 939.HK --format json(H_price * fx) / A_price - 1| Situation | LLM response |
|---|---|
Shell | Fall back to MCP if configured; otherwise tell the user to install longbridge-terminal. |
| Empty array | "No A/H premium data — |
stderr | Verify the symbol is an HK ticker of a dual-listed pair. |
| Other stderr | Surface verbatim. |
| CLI subcommand | MCP tool |
|---|---|
| |
| |
| User asks | Route to |
|---|---|
| Single-symbol price / change | |
| HK or A-share candlestick history | |
| Cross-symbol comparison (>2 tickers) | |
| Why the premium changed (news / catalysts) | |
longbridge-ah-premium/
└── SKILL.md # prompt-only, no scripts/