fund-analysis — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited fund-analysis (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
本Skill用于分析用户基金持仓数据,生成详细的分析报告和可视化图表。
当用户需要分析基金持仓时使用,例如:
基金E账户App投资者公募基金持有信息-日期.xlsx文件.md):包含详细分析解读的文本报告.pdf):包含嵌入式图表的完整报告.png):fund_distribution_charts.png - 区域和策略分布饼图+条形图fund_correlation_heatmap.png - 相关性热力图fund_radar_chart.png - 资产配置雷达图fund_top_holdings.png - 前15大持仓| 关键词 | 区域分类 |
|---|---|
| QDII(不含港股通) | 海外股票(QDII) |
| 港股通、港股 | 港股通 |
| 黄金、金ETF、商品 | 黄金/商品 |
| 债券、短债、纯债 | 债券基金 |
| 货币 | 货币基金 |
| 其他 | A股/国内 |
| 关键词 | 策略分类 |
|---|---|
| 货币 | 货币策略 |
| 债券、短债、纯债 | 债券策略 |
| ETF联接、指数、ETF | 指数型 |
| 红利、高股息、股息 | 红利/高股息 |
| 量化 | 量化策略 |
| 科技、成长、创新、信息 | 科技/成长 |
| 主动股票、股票 | 主动股票 |
根据基金名称中的关键词,自动进行:
生成以下图表:
生成包含以下内容的Markdown报告:
使用reportlab将Markdown报告和图表整合生成PDF文件。
详细实现代码见 references/fund_analysis.py。
pandas
matplotlib
seaborn
numpy
reportlab
jiebaload_fund_data(excel_path) - 读取Excel数据classify_fund(fund_name) - 分类基金analyze_holdings(df) - 分析持仓generate_charts(region_data, strategy_data, output_dir) - 生成图表generate_markdown_report(data, output_path) - 生成Markdown报告generate_pdf_report(markdown_path, charts_dir, output_path) - 生成PDF报告# 分析基金持仓
请分析 /path/to/your/fund_data.xlsx~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.