stock-announcement

每日股票投资组合公告工具,集成Gmail邮件报告和Sonos语音播报功能。

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 "stock-announcement" with this command: npx skills add terrycarter1985/stock-announcement

Stock Announcement Skill v1.1.0

功能说明

每日自动股票投资组合公告工具,包含市场分析、邮件报告和Sonos语音播报功能。

主要功能

  • 📊 投资组合实时绩效分析(基于yfinance)
  • 📧 通过Gmail API发送HTML格式邮件报告
  • 🔊 Sonos音箱语音播报当日收益
  • 📈 显示总市值、当日盈亏、最佳/最差表现股票

v1.1.0 更新日志

🔧 修复内容

  1. 邮件发送异常修复

    • 解决Gmail凭证路径解析问题
    • 添加多路径凭证自动扫描机制
    • 内置3次重试机制(指数退避算法)
  2. Sonos播报异常修复

    • 修复TTS命令行参数格式
    • 添加音箱发现预检查
    • 3次自动重试 + 超时保护(30秒)
    • 优化播报文本格式,去除多余空白
  3. 稳定性增强

    • 新增结构化日志系统
    • 所有外部调用添加超时保护
    • 改进工作区路径自动检测
    • 完善异常捕获和错误信息输出

使用方法

# 运行公告脚本
python3 daily_stock_announcement.py

配置说明

  1. 将Gmail OAuth token存放于 config/token.json
  2. 设置环境变量:
    • SONOS_SPEAKER: Sonos音箱名称 (默认: "Living Room")
    • RECIPIENT_EMAIL: 报告接收邮箱

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

Stock Price Alert

股价异动实时提醒技能,支持对接股票行情接口、邮件提醒和Sonos语音播报,实时监控持仓股票价格波动并触发告警

Registry SourceRecently Updated
1350Profile unavailable
Automation

Email Automation

Automate email triage, categorize, draft replies, and auto-archive in Gmail, Outlook, or IMAP to maintain an organized, efficient inbox.

Registry SourceRecently Updated
9220Profile unavailable
Automation

Inbox Triage Bot

AI-powered email triage via IMAP (himalaya) or Google API. Fetches inbox, classifies messages by urgency, recommends actions, and generates daily markdown di...

Registry SourceRecently Updated
3260Profile unavailable
Automation

Google Suite Skill

Provides unified access to Gmail, Google Calendar, and Drive APIs for managing emails, calendar events, and files with OAuth2 authentication.

Registry SourceRecently Updated
5180Profile unavailable