Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-market-breadth
A股市场宽度/涨跌家数分析。当用户说"市场宽度"、"涨跌家数"、"上涨家数"、"赚钱效应"、"亏钱效应"、"breadth"、"今天多少家涨"、"二八分化"、"一九行情"、"普涨"、"普跌"、"市场广度"时触发。分析全市场涨跌分布、强弱股比例、新高新低数量、腾落线(AD Line)等市场宽度指标,判断行情的健康度和可持续性。支持研报风格(formal)和快速判断风格(brief)。
Passed 9 of 16 test cases with the skill, and 10 of 16 without it.
2 fixed12 passed either way8 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
我需要用命令行脚本获取上证指数近期日K线数据,用于分析腾落线的历史对比,请给出对应的数据调取命令语法。
| Checked | Without skill | With skill |
|---|---|---|
| Specifies code SH000001 in the script command | Passed | Passed |
| Specifies daily frequency using --freq daily flag | Missed | Passed |
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 大盘指数行情(上证/深证/创业板)
python "$SCRIPTS/cn_stock_data.py" quote --code SH000001,SZ399001,SZ399006
# 大盘K线(近期趋势,用于腾落线历史对比)
python "$SCRIPTS/cn_stock_data.py" kline --code SH000001 --freq daily --start
全市场实时行情(核心数据,用于涨跌家数统计):
import akshare as ak
# 全A实时行情快照,含涨跌幅/涨速/量比等
df = ak.stock_zh_a_spot_em()
# 关键字段:代码/名称/最新价/涨跌幅/涨跌额/成交量/成交额/振幅/换手率/量比
补充数据(通过 akshare 或 web 搜索获取):
调用 ak.stock_zh_a_spot_em() 获取全A实时行情,剔除ST股/北交所(可选),得到有效个股池。同时获取大盘指数行情作为对照基准。
test cases passed, vs 10 / 16 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.