Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-stock-screen
A股量化选股/股票筛选器。当用户说"选股"、"筛选"、"量化选股"、"stock screen"、"找机会"、"什么股票值得关注"、"帮我选几只股票"、"符合XX条件的股票"时触发。支持多因子筛选(PE/PB/ROE/净利润增速/北向资金等)、行业板块筛选、自定义条件组合。通过 cn-stock-data 获取全市场数据进行量化筛选,输出候选股票列表。支持投资建议书风格(formal)和个人备选池风格(brief)。不适用于个股深度分析(用 a-share-earnings-analysis)或可比公司估值对标(用 a-share-comps)。
Passed 10 of 16 test cases with the skill, and 5 of 16 without it.
and 6 more in the full report
9 fixed5 passed either way7 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to run the automated batch stock screening engine via bash command line with custom parameters: minimum ROE of 15%, maximum PE of 30, minimum profit growth of 20%, returning the top 20 candidates. Write out the exact terminal command.
| Checked | Without skill | With skill |
|---|---|---|
| Executes python calling screen_engine.py with `--min-roe 15 --max-pe 30 --min-profit-growth 20 --top 20`. | Missed | Passed |
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
# 全市场实时行情(含市值、PE、换手率等)
python "$SCRIPTS/cn_stock_data.py" quote --code [逗号分隔的代码列表]
# 个股财务指标
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
# 北向资金
python "$SCRIPTS/cn_stock_data.py" north_flow
# 资金流向
python "$SCRIPTS/cn_stock_data.py" fund_flow --code [CODE]
使用 scripts/screen_engine.py 进行批量筛选:
python $SKILLS_ROOT/a-share-stock-screen/scripts/screen_engine.py \
--min-roe 15 --max-pe 30 --min-profit-growth 20 --top 20
如果用户给出了明确条件(如"PE < 20 且 ROE > 15%"),直接使用。 如果用户给出模糊需求(如"帮我选几只好股票"),使用默认策略:
默认多因子策略(参见 references/default-factors.md):
test cases passed, vs 5 / 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.