数据分析

A股选股器

试用

当用户需要查找股票、上市公司、行业成分股、指数成分股,或者根据市场、估值、财务、行业等方面的限制条件(如市盈率、净资产收益率、价格、增长情况、成交量、行业状况、董事会情况或特定概念等)来推荐股票时,可以使用此技能进行 Eastmoney MX 基于条件的股票筛选和宇宙搜索功能。但请勿用于单只股票的报价或财务数据查询(请使用 mx-data),新闻/事件研究(请使用 mx-search),观察清单中的操作(请使用 mx-zixuan),或模拟交易操作(请使用 mx-moni)。

它能做什么

Use this skill for Eastmoney MX condition-based stock screening and universe lookup when the user asks to find stocks, listed companies, sector constituents, index constituents, or recommendations based on market/valuation/financial/industry constraints such as PE, ROE, price, growth, volume, industry, board, or concept. Do not use for single-security quote or financial data (use mx-data), news/event research (use mx-search), watchlist actions (use mx-zixuan), or simulated trading operations (use mx-moni).

技能文档

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: set MX_OUTPUT_DIR; otherwise output goes to ~/.codex/skills-output/mx_data/output.

Workflow

  1. Convert the request into one concise natural-language screening query.
  2. Keep the query specific: universe + filters + ordering/limit if requested.
  3. Run:
python /Users/lu/.codex/skills/mx-xuangu/mx_xuangu.py --query "市盈率小于20且ROE大于15%的银行股"
  1. Inspect row count, CSV path, and description file.
  2. If raw field interpretation matters, read references/result-fields.md.
  3. 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.json to check that screening prompts trigger this skill and single-security data/news prompts route elsewhere.

相关技能

当用户明确请求查询、添加或删除个人观察清单/自选列表中的股票时,可以使用此技能来进行操作。例如,可以使用诸如“我的自选”、“查询自选”、“加入自选”、“添加到自选”、“删除自选”或“从自选移除”等指令来实现这些操作。请勿将此技能用于报价/金融数据查询(请使用 mx-data)、新闻研究(请使用 mx-search)、筛选候选股票(请使用 mx-xuangu)或模拟交易(请使用 mx-moni)等场景。

1 次安装

当用户明确请求查询模拟交易持仓、账户余额、订单信息、历史成交记录、模拟账户中的买卖操作、取消模拟订单,或者发布关于模拟交易经验的帖子时,可以使用此技能来处理 Eastmoney MX 模拟股票投资组合的相关操作。该技能仅适用于模拟的 A 股交易练习,不得用于实际资金交易、投资建议、监控名单操作、股票筛选、新闻研究,或仅包含报价数据的操作。

1 次安装

通过自然语言查询进行 A 股股票筛选,支持行情指标、技术形态、财务指标、行业概念等多条件组合筛选。返回符合条件的相关股票数据。当用户询问针对行情、财务数据、技术指标、行业概念等A股股票筛选相关问题时,必须使用此技能。

3 次安装

基于SQL条件筛选A股股票,支持自定义条件组合、排序和数量限制。支持等于、大于、小于、区间范围、IN枚举、字段间比较等多种条件写法,支持AND/OR逻辑组合和括号嵌套。返回股票代码、名称、涨跌幅、CS强度、RPS相对强度、SCTR技术排名、所属板块、概念等详细数据。触发词:SQL选股、选股、股票筛选、技术筛选、量...

3 次安装

Multi-market intelligent stock selection for A-share/HK/US stocks and ETFs. Use when user asks about stock analysis, market scanning, portfolio construction,...

当用户需要查询 A股和H股相关数据 可通过 FinXData 获取 金融数据 API 时使用本技能,包括股票行情、股票图谱、财务报表、市场新闻、龙虎榜、限售解禁、宏观经济、异动追踪。本技能调用与 FinXData MCP 工具相同的公开 HTTP 接口。下列数据Agent可直接获取:A股股票行情、重点指数行情、股票图谱摘要、股票财报、行情复盘、市场新闻