portfolio-monitor

投资组合监控系统。管理股票、加密货币持仓,跟踪成本、盈亏,设置价格提醒,生成组合报告。支持港股、美股、加密货币。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "portfolio-monitor" with this command: npx skills add sanduan003/portfolio-monitor

投资组合监控

管理投资持仓,跟踪盈亏,生成分析报告。

快速开始

pip3 install yfinance --break-system-packages
python3 scripts/portfolio.py

配置持仓

编辑 memory/portfolio.json

{
  "holdings": [
    {"symbol": "0700.HK", "name": "腾讯", "shares": 100, "cost": 500, "currency": "HKD"},
    {"symbol": "AAPL", "name": "苹果", "shares": 10, "cost": 180, "currency": "USD"},
    {"symbol": "BTC-USD", "name": "比特币", "shares": 0.5, "cost": 45000, "currency": "USD"}
  ]
}

功能

  • ✅ 实时市价
  • ✅ 持仓盈亏金额/比例
  • ✅ 总组合盈亏
  • ✅ 涨跌幅提醒(默认5%)
  • ✅ 多币种支持

输出示例

💰 总资产: $92,475
💵 总成本: $79,300
📈 总盈亏: +$13,175 (+16.62%)

📈 苹果: +43.03% 🔔涨幅超5%
📉 以太坊: -20.69% 🔔跌幅超5%

提醒阈值

修改 memory/portfolio.json 中的 alert_threshold:

"settings": {"alert_threshold": 0.05}

风险提示

⚠️ 仅供记录参考,不构成投资建议。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Speech Writer

演讲稿(TED风格)、婚礼致辞、商务演讲、励志演讲、祝酒词、演讲大纲。Speech writing for TED-style talks, wedding speeches, business presentations, motivational speeches, toasts, and outlines....

Registry SourceRecently Updated
General

Study Plan

学习计划生成器。考研计划、考证规划、每日学习、番茄钟。Study plan generator for exams, certifications, daily schedules. 学习计划、考研计划、备考规划。Use when creating study schedules.

Registry SourceRecently Updated
General

Quicknote

Lightning-fast note-taking tool. Capture thoughts instantly, pin important notes, search across all entries, and export to markdown. Zero config, local stora...

Registry SourceRecently Updated
General

feishu-emoji

在飞书聊天中发送内联表情包图片,需将图片下载到指定媒体目录并通过 message 工具调用发送。

Registry SourceRecently Updated