A/H Premium
ah_premiumRetrieve historical A/H share premium K-line data with open, high, low, close values as premium percentages. Analyze the price gap between A-shares and H-shares over any period.
Instructions
Get A/H share premium historical K-line data. Returns items[]{timestamp, open, high, low, close} representing the premium percentage over the given period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| count | No | Number of K-lines to return (default: 100) | |
| period | No | K-line period: "1m", "5m", "15m", "30m", "60m", "day" (default), "week", "month", "year" | |
| symbol | Yes | Security symbol, e.g. "700.HK". Use the canonical form — a padded code like "00700.HK" returns an empty record, not an error. |