专业的银行理财产品分析报告生成技能,基于恒生聚源数据,生成包含产品概览、业绩表现、风险特征、资产配置、市场舆情、投资建议的完整分析报告。
本技能支持以下功能:
必需要素:
查询写法:
中邮理财邮银财富·鸿锦一年定开83号人民币理财产品最新分析报告。
兴银理财稳利丰收封闭式2003号固收类理财产品A最新分析报告。
理财产品109361A的分析报告。
帮我分析一下2301JB0088这个理财产品的情况。
每次使用本技能前,必须先检查 mcporter 安装和 MCP 服务配置状态!
详细配置流程请参考:references/setup-guide.md
# 1. 检查 mcporter 是否安装
mcporter --version
# 2. 检查 MCP 服务配置
mcporter list
# 预期输出应包含:jy-financedata-tool、jy-financedata-api
# 注意:不使用 jy-financedata-general
```bash
mcporter config add jy-financedata-tool --url "https://api.gildata.com/mcp-servers/aidata-assistant-srv-tool?token=你的 JY_API_KEY"
mcporter config add jy-financedata-api --url "https://api.gildata.com/mcp-servers/aidata-assistant-srv-api?token=你的 JY_API_KEY"
# 注意:不需要配置 jy-financedata-general
```
mcporter list# 所有服务工具的入参均为 query
mcporter call jy-financedata-api.ProductBasicInfoList query="产品代码"
流程中的工具调用能够并发调用尽量并发调用提速。
检查 mcporter 是否安装、MCP 服务是否配置、JY_API_KEY 是否有效。
组 1(核心数据,必须全部成功):
组 2(扩展数据,允许部分失败):
组 3(宏观数据,允许部分失败):
对核心数据进行合理性校验:
按照六章节框架撰写报告(详见 references/report-template.md):
# 调用理财产品分析工具
mcporter call jy-financedata-api.ProductBasicInfoList query="PR202401001"
mcporter call jy-financedata-api.ProductPerformance query="PR202401001"
mcporter call jy-financedata-api.ProductReturnRiskIndicator query="PR202401001"
# 1. 并行获取核心数据
mcporter call jy-financedata-api.ProductBasicInfoList query="PR202401001" &
mcporter call jy-financedata-api.ProductPerformance query="PR202401001" &
mcporter call jy-financedata-api.ProductReturnRiskIndicator query="PR202401001" &
wait
# 2. 并行获取扩展数据
mcporter call jy-financedata-api.ProductPositionFeature query="PR202401001" &
mcporter call jy-financedata-api.WealthProdFilterStats query="PR202401001" &
wait
# 3. 生成报告
jy-financedata-api 和 jy-financedata-tool,不使用 jy-financedata-general原因:jy-financedata-general 返回的数据格式不结构化,难以解析和提取有效信息。应优先使用 jy-financedata-api.ProductBasicInfoList 等专用 API 获取结构化数据。
完整 API 参考:references/api-reference.md
~/Desktop/jy-wealth-investment-analysis/
├── SKILL.md # 技能主文件
├── references/ # 参考资料目录
│ ├── setup-guide.md # 环境配置详细指南
│ ├── report-template.md # 完整报告模板与示例
│ └── api-reference.md # API 参数说明和数据字段定义
└── cache/ # 数据缓存目录(运行时创建)
重要:
报告中的数据来源标注:
数据来源:恒生聚源数据来源:恒生聚源 MCP 服务、恒生聚源 API、恒生聚源 datamap 等明细描述原因:保持报告简洁专业,避免暴露技术实现细节。
| 问题 | 解决方案 |
|---|---|
| ------ | --------- |
| mcporter 命令未找到 | npm install -g mcporter |
| MCP 服务未配置 | 参考 references/setup-guide.md |
| JY_API_KEY 无效 | 检查 KEY 是否正确,联系恒生聚源 |
| 产品代码不存在 | 确认代码格式,尝试产品全称查询 |
| API 返回空数据 | 尝试使用产品代码(如 109361A)而非产品全称查询 |
❌ 避免使用:
jy-financedata-general — 返回非结构化文本,难以解析✅ 推荐使用:
jy-financedata-api.ProductBasicInfoList — 产品基本信息(结构化表格)jy-financedata-api.ProductPerformance — 产品业绩表现(结构化表格)jy-financedata-api.ProductReturnRiskIndicator — 风险指标(结构化表格)jy-financedata-api.FinancialProductFilter — 产品筛选(结构化表格)jy-financedata-api.MacroNewslist — 宏观新闻(结构化表格)共 1 个版本