360 Secure SkillHub
360 安全技能中心

EarningsFinancialsAgent

该 Skill 通过本地 Python 脚本提供两个工具:get_earnings 按股票代码获取最新季度财报并与分析师预期对比,get_financials 获取资产负债、利润与现金流等关键财务指标。用户以自然语言或命令行方式提问,代理返回财务分析与摘要,依赖 Python 环境与 yfinance 库联网取数。

assix
assix
热度 53.72
最近更新 2026-05-11 17:34:32
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 市场分析 / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add earnings-financials-agent
Metadata
name
earnings-financials-agent
description
An autonomous agent for monitoring corporate earnings and analyzing financial statements using yfinance.
version
1.0.3
author
assix
keywords
["earnings","financials","stocks","investment-assistant","alpha","finance-agent"]
metadata
{"openclaw":{"requires":{"bins":["python3","pip"]}}}

EarningsFinancialsAgent

This agent provides deep-dive analysis into quarterly earnings and corporate financial health. It is designed to run locally and uses the yfinance library for reliable, real-time data retrieval.

Setup

Before using this skill, ensure the dependencies are installed in your environment:

pip install yfinance

User Instructions

The agent can handle a variety of financial inquiries. Use these as templates for your requests:

  • Earnings Performance: "Summarize the latest earnings for NVDA and check if they beat revenue estimates."
  • Direct Comparison: "Compare the net income of Google vs Meta for the last 4 quarters."
  • Financial Ratios: "What is the debt-to-equity ratio and quick ratio for TSLA?"
  • Cash Flow Analysis: "Give me a summary of Amazon's cash flow from the most recent report."
  • Growth Trends: "Show me the revenue growth trend for Netflix over the last year."
  • Calendar Checks: "Is Broadcom reporting earnings this week? If so, when?"
  • Profitability: "Analyze the profit margins for AMD based on their latest financials."
  • Dividend Health: "Check the dividend payout ratio for Coca-Cola to see if it's sustainable."

Tools

get_earnings

Fetches the most recent earnings results and compares them to analyst estimates.

  • Inputs: ticker (string)
  • Call: python3 logic.py --tool get_earnings --ticker {{ticker}}

get_financials

Retrieves key balance sheet, income statement, and cash flow metrics.

  • Inputs: ticker (string)
  • Call: python3 logic.py --tool get_financials --ticker {{ticker}}