Skip to content
Back to skills

Stk Ah Comparison

ASecurity

查询 A/H 股比价、涨跌幅和溢价率。用户询问港股与对应 A 股估值比较时使用。

  • 65 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 20, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add FTShare-Lab/FTShare-skill --skill stk-ah-comparison --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stk Ah Comparison?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stk Ah Comparison
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-stk-ah-comparison/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-stk-ah-comparison)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stk-ah-comparison
description: 查询 A/H 股比价、涨跌幅和溢价率。用户询问港股与对应 A 股估值比较时使用。
---

# AH 股对比

接口:`GET /api/v1/market/data/hk/stk-ah-comparison`。可按 `--hk-code`、`--ts-code`、`--trade-date` 或日期区间 `--start-date`/`--end-date` 过滤;日期区间最多 30 个自然日。分页参数为 `--page`(默认 1)和 `--page-size`(默认 50,最大 1000),支持 `--all` 自动翻页。

```bash
python <RUN_PY> stk-ah-comparison --hk-code 00038.HK --trade-date 20260918 --page 1 --page-size 20
```

响应为 `code/message/data` 分页信封,记录位于 `data.records`,包含双方代码、名称、收盘价、涨跌幅、A/H 比价和溢价率。

仅返回同时有 A 股和 H 股标的的公司;无 A 股对应的港股(如 `00700.HK` 腾讯控股)查不到记录。

Files in this skill

  • SKILL.md751 B
  • scripts/handler.py3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…