Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-dividend-calendar
A股分红日历/除权除息追踪。当用户说"分红日历"、"除权除息"、"什么时候分红"、"登记日"、"除权日"、"dividend calendar"、"最近谁分红"、"XX什么时候除权"、"股权登记日"、"红利发放日"时触发。追踪A股上市公司分红方案公告、股权登记日、除权除息日、红利发放日,帮助投资者合理安排持仓和打新。支持研报风格(formal)和日历视图风格(brief)。
Passed 9 of 15 test cases with the skill, and 10 of 15 without it.
1 fixed14 passed either way7 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
请将A公司(已出董事会预案)、B公司(股东大会通过)、C公司(发布实施公告)的分红进展用相对应的状态符号进行标注。
| Checked | Without skill | With skill |
|---|---|---|
| Designates board proposals with ⚪. | Missed | Passed |
| Designates shareholder meeting approvals with 🟡 and implementation announcements with 🟢. | Missed | Passed |
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 分红配送方案(按年度查询)
python -c "import akshare as ak; df = ak.stock_fhps_em(date='YYYY'); print(df.to_string())"
# 个股行情(计算当前股息率)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
补充 web 搜索:
Step 1: 获取分红数据
根据用户意图确定查询范围:
ak.stock_fhps_em(date='当年') 获取当年全部分红方案,筛选近期有除权除息安排的stock_fhps_em 返回字段:
| 字段 | 说明 |
|---|---|
| 代码 | 股票代码 |
| 名称 | 股票简称 |
| 每股收益 | EPS |
| 每股派息(税前) | 每10股派息金额 |
| 送股 | 每10股送股数 |
| 转增 | 每10股转增数 |
| 股权登记日 | 登记日(当日收盘持有即可享有) |
| 除权除息日 | 除权日(当日买入不再享有) |
| 红利发放日 | 现金到账日 |
| 公告日期 | 实施公告日 |
| 方案进度 | 预案/股东大会/实施 |
Step 2: 日历视图构建
test cases passed, vs 10 / 15 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.