ashare-code-change
Solid查询 A 股代码变更历史。Use when user asks about 股票代码变更、改名换码、代码迁移或北交所升板代码历史。
AI & Automation 63 stars
13 forks Updated today MIT
Install
Quality Score: 83/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# A 股代码变更
接口:`GET /api/v1/market/data/stk-code-change`。`trade_code` 必填,支持逗号分隔多个带市场后缀的代码;不分页,返回全部变更记录。
```bash
python <RUN_PY> ashare-code-change --trade-code 001872.SZ
python <RUN_PY> ashare-code-change --trade-code 001872.SZ,920000.BJ --start-date 20180101 --end-date 20241231
```
- `--trade-code`:必填,如 `600848.SH`,可逗号分隔多个。
- `--start-date`、`--end-date`:可选,格式 `YYYYMMDD`;同时提供时起始日不得晚于截止日。
成功响应为 `code/message/data`,`data` 为记录数组或对象中的记录数据,记录包括最新 `trade_code`、实际使用的 `code`、`name`、`start_date` 和可为空的 `end_date`。
Details
- Author
- FTShare-Lab
- Repository
- FTShare-Lab/FTShare-skill
- Created
- 2 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
ashare-status-change
查询 A 股状态变更记录。Use when user asks about 上市、退市、暂停上市或股票状态变更。
63 Updated today
FTShare-Lab AI & Automation Solid
ashare-news-sentiment-factors
查询指定 A 股的新闻情绪因子。必填 --trade-code;可选 --start-date、--end-date、--page、--page-size。接口:GET /api/v3/market/data/ashare-news-sentiment-factors。
63 Updated today
FTShare-Lab Testing & QA Listed
ashare-rating-factor-snapshot
查询指定 A 股的 Top-K 相关公司。用户询问股票相关性、相关公司排名或相关性评分时使用。
63 Updated today
FTShare-Lab