← 返回 Skills 市场
newaiguy

Earnings Tracker

作者 Newaiguy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
124
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-earnings-alert
功能描述
追踪科技/AI公司财报,自动获取财报日历、预警提醒、生成摘要报告。使用场景:(1) 用户想了解某公司财报时间 (2) 用户需要财报摘要分析 (3) 用户想追踪多家公司的财报动态
使用说明 (SKILL.md)

AI Earnings Tracker 🦞

追踪科技和AI公司的财报动态,提供:

  • 📅 财报日历查询
  • 📰 财报新闻获取
  • 📊 财报摘要生成
  • 🔔 财报预警提醒(Cron定时任务)
  • 📈 多公司批量追踪
  • 🌐 自动中文翻译

快速开始

环境配置

需要配置以下环境变量:

# Tavily API Key(必需)- 用于搜索财报新闻
export TAVILY_API_KEY="tvly-xxxxx"

# GLM API Key(可选)- 用于中文翻译
export ZAI_API_KEY="your-glm-api-key"

或配置到 ~/.openclaw/.env 文件:

TAVILY_API_KEY=tvly-xxxxx
ZAI_API_KEY=your-glm-api-key

基本命令

# 显示帮助
node fetch-earnings.js help

# 查看追踪公司列表
node fetch-earnings.js list

# 获取财报日历
node fetch-earnings.js calendar

# 获取单个公司财报新闻
node fetch-earnings.js news NVDA

# 生成财报摘要
node fetch-earnings.js summary NVDA

# 追踪新公司(支持多个)
node fetch-earnings.js track NVDA,AAPL,MSFT

# 检查所有追踪公司财报动态
node fetch-earnings.js check

# 不翻译(保持英文)
node fetch-earnings.js check --no-translate

功能详解

1. 📋 公司追踪列表

默认追踪 10 家科技/AI 公司:

序号 股票代码 公司名称 行业
1 NVDA NVIDIA AI/GPU
2 AAPL Apple Consumer Tech
3 MSFT Microsoft Cloud/AI
4 GOOGL Google AI/Search
5 AMZN Amazon Cloud/E-commerce
6 META Meta Social/AI
7 TSLA Tesla EV/AI
8 AMD AMD AI/GPU
9 PLTR Palantir AI/Data
10 CRM Salesforce Enterprise AI

2. 📰 财报新闻获取

node fetch-earnings.js news NVDA

输出示例:

📋 NVDA 财报新闻:

🤖 AI 摘要:
英伟达将于 2026 年 2 月 25 日发布 Q1 和 Q2 财季财报。分析师预计调整后每股收益为 1.52 美元...

1. 英伟达股票投资者迎来 Palantir 和 Teradyne 的好消息 (相关度: 86%)
   英伟达将于 2 月 25 日发布季度财报,目前所有迹象都指向一个出色的季度...

3. 📊 财报摘要生成

node fetch-earnings.js summary NVDA

输出示例:

# NVDA 财报摘要

## 🤖 AI 摘要
英伟达预计将于 2026 年 2 月 25 日发布财报...

## 📈 核心数据
- 营收: $39.3B
- 净利润: $22.1B
- EPS: $0.89
- 同比增长: 78%

## 📰 相关新闻
1. 英伟达Q4财报超预期,营收$39.3B
   英伟达公布2026财年Q4财报,营收同比增长78%...

4. 🔔 财报预警(Cron定时任务)

在 OpenClaw 中配置定时提醒:

{
  "jobs": [
    {
      "name": "earnings-morning-check",
      "schedule": { "kind": "cron", "expr": "0 9 * * 1-5" },
      "payload": {
        "kind": "agentTurn",
        "message": "运行 earnings-tracker check 命令,检查追踪公司的财报动态,如有重要新闻请提醒用户"
      },
      "sessionTarget": "isolated"
    }
  ]
}

5. 📈 批量检查

node fetch-earnings.js check

自动检查所有追踪公司的财报动态,显示进度:

🔍 检查 10 家追踪公司的财报动态...
进度: [10/10] 检查 CRM...

📊 追踪公司财报动态:

【NVDA - NVIDIA】
  1. 英伟达股票投资者迎来利好消息 (相关度: 86%)
     英伟达将于 2 月 25 日发布季度财报...

【TSLA - Tesla】
  1. 特斯拉 Q4 2025 财报预览 (相关度: 61%)
     特斯拉将迎来又一个销量下滑的年份...

数据来源

  1. 财报搜索: Tavily AI Search API
  2. 中文翻译: GLM-4-flash API

使用场景

场景1: 日常检查

用户: 帮我检查一下追踪的公司有什么财报新闻
Agent: 运行 node fetch-earnings.js check

场景2: 单独查询

用户: NVIDIA最新财报怎么样?
Agent: 运行 node fetch-earnings.js summary NVDA

场景3: 添加新公司

用户: 帮我追踪 Snowflake 的财报
Agent: 运行 node fetch-earnings.js track SNOW

注意事项

  1. API 限制: Tavily 免费额度每月 1000 次
  2. 时区: 所有时间为北京时间 (GMT+8)
  3. 翻译: 需要配置 GLM API Key,否则输出英文
  4. 合规: 不提供投资建议,仅供参考

配置文件

  • .tracked-companies.json - 追踪公司列表(自动生成)

更新日志

v2.3 (2026-02-22)

  • ✅ 新增自动中文翻译功能
  • ✅ 使用 GLM-4-flash 进行翻译
  • ✅ 翻译缓存优化
  • --no-translate 选项

v2.2 (2026-02-22)

  • ✅ 数据源切换为 Tavily AI Search
  • ✅ 移除 Playwright 依赖,纯 API 调用
  • ✅ 速度大幅提升
  • ✅ AI 摘要功能

v2.0 (2026-02-19)

  • ✅ 优化超时处理
  • ✅ 添加进度条显示
  • ✅ 支持批量检查

v1.0 (2026-02-18)

  • 🎉 初始版本

Built for OpenClaw | 数据来源: Tavily AI Search | 翻译: GLM-4

安全使用建议
What to consider before installing: - The code requires a TAVILY_API_KEY; SKILL.md also suggests a ZAI_API_KEY (or OPENAI_API_KEY fallback) for translation — but the skill metadata declared no env vars. Don't supply credentials until you confirm the source and trust the endpoints (https://api.tavily.com and https://open.bigmodel.cn). - package.json lists 'playwright' even though the README says Playwright was removed. If you run npm install, Playwright may download large browser binaries. Ask the author why Playwright is present or remove that dependency before installing. - The script sends requests to two external services. Verify those endpoints are what you expect and that you’re comfortable with those third parties handling the query/news data. - The script will create a local .tracked-companies.json in the skill directory — this is expected but note it stores tracked symbols locally. - If you lack trust in the publisher (source unknown), run the code in a sandbox/container, or ask the author to: 1) update registry metadata to declare required env vars, 2) remove/justify the Playwright dependency, 3) clarify why OPENAI_API_KEY is accepted as a fallback for GLM credentials. If you want help: I can (a) point out the exact lines in package.json and fetch-earnings.js that cause these concerns, (b) suggest a minimal safe package.json to replace the current one, or (c) produce a checklist to safely run the script in a sandbox.
功能分析
Package: ai-earnings-alert (xpi) Version: 1.0.0 Description: 追踪科技/AI公司财报,自动获取财报日历、预警提醒、生成摘要报告 The package is a financial tracking tool designed to fetch, summarize, and translate earnings reports for various companies. It uses the Tavily AI Search API for data retrieval and the GLM-4 API for translation. The code logic is transparent, managing a local JSON file for tracked stocks and making standard HTTPS requests to legitimate API endpoints. There is no evidence of malicious behavior such as unauthorized shell execution, exfiltration of sensitive developer credentials (e.g., SSH keys), or dynamic payload execution.
能力评估
Purpose & Capability
The code (fetch-earnings.js) implements earnings search, news, summaries, tracking and translation which aligns with the description. However the registry metadata claims no required environment variables while SKILL.md and the code require a TAVILY_API_KEY (mandatory) and optionally a ZAI_API_KEY/OPENAI_API_KEY. package.json lists a heavy 'playwright' dependency even though SKILL.md explicitly says Playwright was removed — this mismatch is disproportionate and unexplained.
Instruction Scope
SKILL.md gives concrete runtime commands and only asks the agent to run the included script and (optionally) set a cron job. The instructions do not request broad system file reads beyond a local .tracked-companies.json. The inconsistency is that SKILL.md expects env vars and an ~/.openclaw/.env entry while the published metadata lists none.
Install Mechanism
There is no explicit install spec (instruction-only), which is lower risk, but package.json contains a dependency on 'playwright'. If someone runs npm install in the package, Playwright will be installed (potentially downloading browser binaries), which is unnecessary for the code shown and increases the install footprint — this is suspicious and could surprise users who follow package.json.
Credentials
The code requires TAVILY_API_KEY (explicitly checked and required at runtime) and optionally ZAI_API_KEY or OPENAI_API_KEY for translation. These env vars are appropriate for the declared data sources, but the skill registry metadata does not declare them — a coherence gap. Also the code will accept OPENAI_API_KEY as a fallback for the GLM endpoint, which is a mixing of credentials that should be clarified.
Persistence & Privilege
always is false and the skill does not request system-wide privileges. It writes/reads a local .tracked-companies.json file (expected for tracking state) and suggests a Cron job payload for the agent; nothing indicates it modifies other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-earnings-alert
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-earnings-alert 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
AI Earnings Tracker 初始发布: - 提供科技/AI公司财报日历查询及新闻实时获取 - 支持生成公司财报摘要分析 - 可添加/批量追踪多家公司财报动态 - 财报预警提醒(可定时自动推送) - 内置自动中文翻译功能
元数据
Slug ai-earnings-alert
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Earnings Tracker 是什么?

追踪科技/AI公司财报,自动获取财报日历、预警提醒、生成摘要报告。使用场景:(1) 用户想了解某公司财报时间 (2) 用户需要财报摘要分析 (3) 用户想追踪多家公司的财报动态. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 124 次。

如何安装 Earnings Tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-earnings-alert」即可一键安装,无需额外配置。

Earnings Tracker 是免费的吗?

是的,Earnings Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Earnings Tracker 支持哪些平台?

Earnings Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Earnings Tracker?

由 Newaiguy(@newaiguy)开发并维护,当前版本 v1.0.0。

💬 留言讨论