Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-valuation-band
A股估值分位/历史估值区间分析。当用户说"估值分位"、"历史估值"、"估值贵不贵"、"XX现在贵吗"、"估值百分位"、"PE分位"、"PB分位"、"估值区间"、"历史PE"、"valuation band"时触发。基于 cn-stock-data 历史行情和财务数据,计算个股或指数当前估值在历史区间中的分位数位置,判断估值高低。支持研报风格(formal)和快速判断风格(brief)。不适用于 DCF 估值(用 a-share-dcf)或可比公司(用 a-share-comps)。
Passed 7 of 12 test cases with the skill, and 7 of 12 without it.
and 2 more in the full report
5 fixed7 passed either way5 still failing5 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
某 A 股成分股当前 PB 处于过去 3 年历史 50% 分位。请按标准估值区间判定规则给出其对应的具体四字判定分类。
| Checked | Without skill | With skill |
|---|---|---|
| Classifies 50% percentile as '合理区间'. | Missed | Passed |
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 近3-5年K线(计算历史估值区间)
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [3年前日期]
# 当前行情(最新PE/PB)
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
# 财务数据(历史ROE/利润等)
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
补充:通过 web 搜索获取指数 PE/PB 历史数据(如沪深300 PE历史中位数)。
| 百分位区间 | 判断 | 含义 |
|---|---|---|
| 0-20% | 极度低估 | 历史底部区域,长期配置价值高 |
test cases passed, vs 7 / 12 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.