Queries Chinese and Hong Kong securities, fund, macro, research report, announcement and risk data via a financial MCP server.
- What it does
- This skill guides an agent in calling the Bailian CLI to reach a financial MCP server, routing user questions to tools for stock screening, fund and fund-manager screening, financial and valuation queries, macro and industry time series, broker research, announcements, financial news and enterprise risk data. It specifies authentication checks, tool routing, time and reporting-period conventions, and output formats such as Markdown tables with sources and query timestamps. It returns data and neutral analysis only, with no order placement, stock recommendations or price predictions.
- When to use it
- Use it when a user asks about China or Hong Kong securities, funds, fund managers, company financials, valuation, global macro or industry time series, broker research, announcements, financial news, or enterprise registration and litigation risk. It is not intended for US equities, cryptocurrencies, trade execution, or investment conclusions without data support.
- Requirements
- Requires the Bailian CLI (bl) and a DashScope API key supplied through the DASHSCOPE_API_KEY environment variable or CLI login, plus network access to the financial MCP server market-cmapi00073529. Console login is only needed to discover server codes. The skill ships no scripts; it is instructions only.
金融数据分析
通过百炼 CLI bl mcp 调用金融 MCP market-cmapi00073529。只返回数据与中立分析,不下单、不荐股、不预测涨跌。
能力边界
- 适用:A 股筛选;A 股、港股、基金、债券、指数等结构化查询;基金和基金经理筛选;中国及全球主要经济体宏观/行业时序;券商研报;A 股、港股公司及公募基金公告;财经新闻;企业工商、合规与司法风险。
- 不适用:美股个股、加密货币等未被实时 schema 证实的证券或资产;交易下单;无数据依据的投资结论。全球宏观指标不受此限制。
- 工具能力可能更新。执行前以
bl mcp tools --server market-cmapi00073529 --output json 返回的实时 schema 为准。
前置检查与鉴权
未安装时按 百炼 CLI 安装文档 安装。API Key 可通过环境变量或 CLI 配置:
鉴权边界:
bl mcp list 查询账号控制面,使用 Console 登录态。只有需要发现 Server Code 时才调用;国内站登录使用 bl auth login --console --console-site domestic。
bl mcp tools 与 bl mcp call 使用 API Key。已知 Server Code 时,即使 Console 会话过期,也应直接查询 tools 或调用工具。
工具路由
复杂问题应分别调用相关工具,再对齐实体、日期、单位和口径;不要让一个宽泛 query 替代多工具核验。涉及“前 N / Top N”时必须先确定排序指标;排序指标不明确时先追问,再通过 query 和 topk 固化口径。
调用格式
所有工具使用 --target <server.tool>:
结构化参数必须先查看实时 schema:
时间与数据口径
- 用户说“最新”“最近一个完整财年”时,先运行
TZ=Asia/Shanghai date '+%F %T %Z' 获取实际查询时间;不要自行写死年份。
- 让工具按相对时间查询,并检查返回的报告期是否真是最新已披露期间。若只返回更早期间,明确说明,不得静默替代。
- 区分实际查询时间、行情交易时间、财报报告期和研报/公告发布时间。
输出规范
- 筛选与结构化数据:Markdown 表格,包含名称、代码、期间、数值、单位和来源。
- 宏观/行业时序:时序表格 + 一句话趋势,区分同比和环比。
- 研报:标题、日期、机构,每篇最多 3 条观点;机构评级只能作为来源事实转述。
- 公告:标题、日期、主体、披露事项;新闻和企业信息注明对应工具。
- 结尾注明:实际查询时间、调用的工具、
market-cmapi00073529,以及“仅供数据参考,不构成投资建议”。
- 空结果、冲突数据或缺失指标必须如实说明;保留工具返回的单位和有效精度,不编造、不擅自换口径。
常见错误
端到端示例
用户问:“筛选 ROE > 15% 且近三年净利润复合增速 > 20% 的消费股,按 ROE 从高到低取前三家公司,再看它们近一个月研报。”
汇总候选指标和研报事实,注明来源与时间,不输出买卖建议。