A Fund Monitor logo

A Fund Monitor

Community
aAAaqwq
a-fund-monitor

A股基金净值监控:盘中实时估值 + 盘后实际净值,定时推送到 Telegram。

Overview

PublisheraAAaqwq
RepositoryAGI-Super-Team
Skill namea-fund-monitor
Stars
98
Forks
23
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aAAaqwq on GitHub. Read the source before you install it.

Installation

Install the A Fund Monitor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git /tmp/AGI-Super-Team
mkdir -p .claude/skills
cp -r /tmp/AGI-Super-Team/skills/a-fund-monitor .claude/skills/a-fund-monitor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable A Fund Monitor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads A Fund Monitor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so A Fund Monitor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

A股基金监控

A股基金净值监控,支持盘中实时估值和盘后实际净值,通过 OpenClaw cron 推送到 Telegram 私聊。

架构

fund_monitor.py (纯 Python,无外部依赖)
  ├── estimate 模式 → fundgz.1234567.com.cn (盘中实时估值)
  └── nav 模式      → api.fund.eastmoney.com/f10/lsjz (收盘净值)

OpenClaw cron (isolated agentTurn)
  ├── 09:30-19:00 → estimate 模式(收盘后先推估值,净值当晚才公布)
  └── 19:00 之后  → nav 模式(收盘实际净值)
  └── stdout → delivery announce → Telegram 私聊

关键路径: skills/a-fund-monitor/scripts/(本仓库)

手动执行

bash
# 盘中估值(控制台输出)
python3 scripts/fund_monitor.py estimate

# 收盘净值(控制台输出)
python3 scripts/fund_monitor.py nav

Cron 定时任务

OpenClaw cron,使用 Asia/Shanghai 时区。

北京时间模式数据源
10:30盘中估值fundgz 接口
12:30盘中估值同上
14:30盘中估值同上
22:00收盘净值lsjz 接口(避开 20:30 数据未发布,QDII 滞后 1 天)

合并为 1 个 cron job: 04a185b2-f8ae-454e-b454-bc1944ca5c00

Cron:     30 10,12,14,22 * * 1-5 (Asia/Shanghai)
Runtime:  isolated agentTurn (changqing)
Model:    minimax/MiniMax-M3 (fallback: deepseek/deepseek-v4-pro)
Timeout:  300s
Delivery: announce → telegram:8518085684 (Daniel 私聊)

v2.1.1 (2026-06-22) 调整:20:30 → 22:00。多数基金 21:00-22:30 才陆续发布 NAV,旧时间会拿到 4-5 天前的旧数据。同时叠加「今日过滤 + QDII 标记 + HTTP 重试」三重防护。

模式判断逻辑

北京时间 ∈ [09:30, 19:00) → estimate
北京时间 ∈ [19:00, 次日)  → nav

投递目标: telegram:8518085684(Daniel Li 私聊),accountId changqing

添加/删除基金

编辑 fund_monitor.py 中的 FUNDS 列表:

python
FUNDS = [
    ("003304", "前海开源核心资源A"),
    # ... 添加 ("代码", "简称")
]

API 参考

详见 references/eastmoney-api.md

变更记录

日期版本变更
2026-06-22v2.1.120:30 → 22:00 避免旧数据;脚本升级为「今日过滤 + QDII 标记 🌏 + HTTP 重试」;cron model 改为 minimax primary(避开 glm-5.1 限流);timeout 提到 300s
2026-05-25v2.1.04 个 cron 合并为 1 个(逗号分隔小时);从 Hermes 迁移到 OpenClaw cron;推送目标改为 Daniel 私聊(8518085684);超时提至 180s;19:00 前走估值避免陈旧数据
2026-05-22v2.0.0初始 Hermes cron 版本

Pitfalls

  • 超时:14 只基金顺序请求,API 偶发慢速,cron timeout 设为 180s。
  • NAV 涨跌幅字段:东方财富 lsjz API 的涨跌幅字段是 JZZZL(净值增长率),不是 NAVCHGRT
  • 估值 API 返回 JSONPfundgz.1234567.com.cn 返回 jsonpgz({...}); 格式,需正则提取 JSON。
  • HTTP 请求头:两个 API 都需要 Referer: https://fund.eastmoney.com/User-Agent,否则可能 403。
  • NAV 发布时间不均:多数基金 21:00-22:30 才陆续发布 NAV(QDII 滞后 1 天),脚本已升级为「今日过滤 + QDII 标记 🌏 + HTTP 重试 2 次」。未发布基金显示「⏳ 待发布 (上次: 日期)」,不混进平均。
  • 早期 20:30 触发坑:v2.1.0 之前用 20:30 跑 nav 会拿到 4-5 天前的旧数据(脚本只取 items[0] 不过滤日期),已升级为今日过滤。
  • QDII 基金估值时间:广发纳斯达克100联接的估值时间显示为 04:00(美股收盘时间),非 A 股 15:00。
  • 周末/节假日:cron 1-5 仅排除周末,中国法定节假日仍会触发(产出的是上一交易日数据)。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the A Fund Monitor AI skill do?

A股基金净值监控:盘中实时估值 + 盘后实际净值,定时推送到 Telegram。

Why use A Fund Monitor on TypingMind?

Because you install it once and use it with any model. A Fund Monitor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install A Fund Monitor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aAAaqwq/AGI-Super-Team/tree/main/skills/a-fund-monitor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use A Fund Monitor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with A Fund Monitor?

As many as you like. As long as a model supports skills, you can use A Fund Monitor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the A Fund Monitor AI skill free?

Yes. It is published on GitHub by aAAaqwq under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇