Install
openclaw skills install @alondotsh/fund-trackerUSE WHEN user types /fund-tracker or wants to check fund purchase availability, daily purchase quota, fee, and changes versus the previous run. Uses local AKShare-based tracker presets under <skill-root>. Do not use for stock or ETF market-price analysis.
openclaw skills install @alondotsh/fund-trackerTrack purchase status and quota changes for any fund using AKShare.
When the user types /fund-tracker, follow these steps:
/fund-tracker → use default preset/fund-tracker <preset_name> → use specified preset/fund-tracker list → show available presets# Default preset
python3 <skill-root>/tools/check.py
# Specific preset
python3 <skill-root>/tools/check.py <preset_name>
# List presets
python3 <skill-root>/tools/check.py list
Show a table with the following columns:
| 基金代码 | 基金简称 | 申购状态 | 日限额 | 手续费 | 变化 |
The "变化" column highlights any change from the previous check:
After the table, add a one-line summary:
Presets are stored in <skill-root>/tools/presets.json.
When the user wants to add a new preset, update the file at <skill-root>/tools/presets.json:
{
"default": {
"label": "汇丰QDII",
"funds": ["006075", "050025", "016057", "016055", "016533", "016532"]
},
"dingtou": {
"label": "定投组合",
"funds": ["110011", "519736", "007721"]
}
}
Each preset has its own runtime history file (runtime/history_<name>.json) for independent change tracking.
| 代码 | 简称 |
|---|---|
| 006075 | 博时标普500ETF联接C |
| 050025 | 博时标普500ETF联接A |
| 016055 | 博时纳斯达克100联接A |
| 016057 | 博时纳斯达克100联接C |
| 016532 | 嘉实纳斯达克100联接A |
| 016533 | 嘉实纳斯达克100联接C |
Public skill from Alon's real daily workflows.