返回技能市场已安装?在 Tokeny 中打开
A股选股器
当用户需要查找股票、上市公司、行业成分股、指数成分股,或者根据市场、估值、财务、行业等方面的限制条件(如市盈率、净资产收益率、价格、增长情况、成交量、行业状况、董事会情况或特定概念等)来推荐股票时,可以使用此技能进行 Eastmoney MX 基于条件的股票筛选和宇宙搜索功能。但请勿用于单只股票的报价或财务数据查询(请使用 mx-data),新闻/事件研究(请使用 mx-search),观察清单中的操作(请使用 mx-zixuan),或模拟交易操作(请使用 mx-moni)。
在 Tokeny 中使用「A股选股器」
- 下载 Tokeny 客户端
- 一键安装此技能
- 直接在对话中使用
在电脑上打开此页面
Tokeny 是桌面客户端,请在 Windows、macOS 或 Linux 电脑上打开此页面下载。
SKILL.md
mx-xuangu
Use mx_xuangu.py to convert natural-language screening conditions into Eastmoney MX stock-screening queries and CSV outputs.
Trigger Boundaries
- Use for "筛选/找出/选出/有哪些股票/成分股/板块内/行业内/满足条件" requests.
- Use for compound filters such as price, PE/PB, ROE, revenue/profit growth, market cap, industry, board, concept, region, dividend, and recent performance.
- Use for constituent lookup of sectors, themes, and indexes.
- Do not use for exact data of one entity; use
mx-data. - Do not present screening output as personalized investment advice unless the user explicitly asks for analysis.
Inputs
- Required: universe or condition. If the universe is missing, default to A-shares only when the user's wording implies China/A-share context; otherwise ask.
- Clarify ambiguous constraints that change the result, such as "低估值", "近期", or "龙头".
- Require
MX_APIKEY. Optional: setMX_OUTPUT_DIR; otherwise output goes to~/.codex/skills-output/mx_data/output.
Workflow
- Convert the request into one concise natural-language screening query.
- Keep the query specific: universe + filters + ordering/limit if requested.
- Run:
python /Users/lu/.codex/skills/mx-xuangu/mx_xuangu.py --query "市盈率小于20且ROE大于15%的银行股"
- Inspect row count, CSV path, and description file.
- If raw field interpretation matters, read
references/result-fields.md. - Report the matching count, key filters, top rows, and generated file paths.
Output Contract
- Show the parsed screening condition and final match count.
- Include a compact table of representative results when the list is long.
- State that results are data-screening candidates, not buy/sell advice.
- Mention if a condition appears too strict or returned zero rows.
Failure Handling
- Zero rows: suggest relaxing one or two specific constraints.
- Parser failure: rewrite the query with explicit operators and units.
- Too many rows: add ranking, top N, sector, market, or date constraints.
- API/auth/rate-limit errors: report the code and stop.
Validation
- Use
evals/evals.jsonto check that screening prompts trigger this skill and single-security data/news prompts route elsewhere.
Tokeny 是什么
- 免费的桌面 AI 助手,支持 Windows、macOS 和 Linux。
- 说一句话就能处理文件、生成文档与表格、执行多步骤任务。
- 通过技能和 MCP 扩展能力,一键安装市场里的资源。
评论与讨论
0/2000
还没有评论,分享你的体验吧。