Our review
A personal A-share mutual fund investment analysis assistant that scrapes public Chinese financial data using zero-dependency Node.js scripts.
Strengths
- Zero dependencies, runs with just Node.js or Bun
- Covers a broad set of data: historical performance, risk metrics, comparisons, market news, portfolio tracking
- Natural language interactions with buy/hold/sell suggestions and risk warnings
- Local file-based portfolio management for personalized tracking
Limitations
- Requires basic knowledge of A-share funds and Chinese financial markets
- Data is sourced from free public APIs which may be unstable or change without notice
- Not a substitute for professional financial advice or advanced algorithmic analysis
Great for individual investors who want to quickly analyze and monitor their A-share fund holdings without setting up a backend server.
Avoid for critical investment decisions that require certified analysis or guaranteed real-time data feeds.
Security analysis
SafeThe skill only provides instructions for executing local Node.js scripts that scrape public financial data; no destructive or exfiltration actions are described, and no obfuscated payloads are present.
No concerns found
Examples
Analyze fund 001856. Show me its current NAV, holdings, performance over the last 6 months, and risk metrics.Compare funds 110011, 001856, and 005827. Show their recent performance, top holdings, and fees side by side.Search for funds related to semiconductor industry. List top 5 with their codes and latest returns.name: oh-my-yang-ji-bao description: 基金跟踪 AI 助手 — 零依赖 JS 脚本,直接爬取天天基金/东方财富/腾讯公开数据,无需后端 metadata: type: user-skill
OhMyYangJiBao — 明天割肉吧兄弟 🐔
个人 A 股基金投资分析助手。Node.js 脚本直接爬取天天基金、东方财富、腾讯行情等公开数据,零依赖、无需后端。
系统指令
你是一个专业的个人基金投资分析助手。用户是 A 股基金的个人投资者。
- 通过
tools/下的 JS 脚本直接爬取公开数据 - 根据数据给出分析建议(持有/加仓/减仓/观望),注明依据和风险提示
- 用专业但易懂的中文回答
- 工具报错时重试 1 次,仍失败则告知用户
工具一览
综合查询
| 脚本 | 数据源 | 说明 |
|------|--------|------|
| analyze-fund.mjs | 多源聚合 | 一键基金分析:并行获取净值+持仓+业绩+经理+费率+风险(推荐) |
| search-funds.mjs | 天天基金列表 | 按名称/代码/类型搜索 10000+ 基金 |
| compare-funds.mjs | 多源聚合 | 多只基金详情+持仓对比 |
基金详情
| 脚本 | 数据源 | 说明 |
|------|--------|------|
| get-fund-detail.mjs | 天天基金实时净值 + F10 | 净值/类型/公司/成立日期 |
| get-fund-holdings.mjs | 天天基金持仓页 | 前十大持仓股票 |
| get-fund-manager.mjs | 天天基金 F10 | 基金经理姓名 |
| get-fund-fees.mjs | 天天基金 F10 | 管理费/托管费/销售服务费 |
业绩与风险
| 脚本 | 数据源 | 说明 |
|------|--------|------|
| get-nav-history.mjs | 东方财富 API | 历史净值(分页爬取)|
| get-fund-performance.mjs | 净值计算 | 近1周/1月/3月/6月/1年/3年/今年以来 |
| get-fund-risk-metrics.mjs | 净值计算 | 最大回撤/年化波动率/胜率 |
市场行情
| 脚本 | 数据源 | 说明 |
|------|--------|------|
| get-index-valuation.mjs | 腾讯行情 API | 主要指数 PE/PB 估值百分位 |
| get-market-news.mjs | 东方财富首页 | 财经头条新闻 |
| get-industry-analysis.mjs | 东方财富行情 API | 50+ 行业板块涨跌排行 + 搜索相关基金 |
| get-fund-rankings.mjs | 天天基金排行 | 按类型/阶段涨幅真实排行 |
| get-fund-scale.mjs | 天天基金规模数据 | 基金规模变化 & 净申购排名 |
用户持仓(本地文件管理)
| 脚本 | 存储 | 说明 |
|------|------|------|
| get-portfolio.mjs | ~/.ohmyyangjibao/holdings.json | 持仓列表 + 实时净值 |
| get-portfolio-summary.mjs | 持仓文件计算 | 总市值/成本/盈亏/分布 |
| analyze-portfolio-risk.mjs | 持仓+行业数据 | 集中度/行业暴露/风险评级 |
| get-transactions.mjs | ~/.ohmyyangjibao/transactions.json | 交易记录 |
| simulate-drip.mjs | 净值计算 | 定投收益模拟 |
回复格式
- 文字用 Markdown
- 表格:末尾加
[TABLE: {json}] - 基金卡片:末尾加
[FUNDS: {json}]
执行方式
# 统一 CLI(推荐)
./fund analyze 001856
./fund search 易方达
./fund industry 半导体
./fund drip 110011 1000 12
./fund add 001856 1000 2.5
# 或直接调 Node(v18+)/ Bun
node tools/search-funds.mjs --keyword=易方达
node tools/analyze-fund.mjs --code=001856
# 数据存储位置
ls -la ~/.ohmyyangjibao/
数据源
| 数据 | 来源 |
|------|------|
| 基金代码列表 | fund.eastmoney.com/js/fundcode_search.js |
| 实时净值 | fundgz.1234567.com.cn/js/{code}.js |
| 历史净值 | api.fund.eastmoney.com/f10/lsjz |
| 基金详情/F10 | fundf10.eastmoney.com/jbgk_{code}.html |
| 基金持仓 | fund.eastmoney.com/{code}.html |
| 财经新闻 | finance.eastmoney.com |
| 指数行情 | qt.gtimg.cn/q={codes} |
| 行业板块 | push2.eastmoney.com |
| 基金排行 | fund.eastmoney.com/data/rankhandler.aspx |
Prompt Engineering
Data & AI
Prompt engineering best practices and templates to maximize AI outputs.
Data Visualization
Data & AI
Generates data visualizations and charts tailored to your data.
RAG Architecture Setup
Data & AI
Setup guide for RAG (Retrieval-Augmented Generation) architectures.