返回顶部
s

stock-fundamentals股票基本面分析

Run local script to analyze stock fundamentals (P/E, EPS, margins, debt, ROE, analyst targets) using yfinance. Use exec tool to run: uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py . No API key required.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
520
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

stock-fundamentals

技能:股票基本面分析

使用场景

  • - 用户希望快速了解某只股票除当前价格之外的基本面信息
  • 用户需要了解公司的估值、盈利能力、成长性、资产负债表、现金流、股息或分析师预期
  • 用户询问市盈率、每股收益、营收、利润率、负债、净资产收益率、总资产收益率、自由现金流或分析师目标价
  • 用户提问“[公司]值得买入吗?”或“[公司]的基本面如何?”

禁止使用场景

  • - 用户仅需当前价格或日内走势 → 使用 stock-price-checker-pro
  • 用户需要广泛的市场/宏观新闻 → 使用 market-news-brief
  • 用户需要综合所有信号的完整股票研究报告 → 使用 equity-research

命令

分析股票基本面

bash
uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py <股票代码>

uv run 会读取 main.py 顶部的内联依赖块,并在隔离环境中自动安装 yfinance,无需手动执行 pip install 或配置虚拟环境。

示例

bash

美股


uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py AAPL
uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py TSLA
uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py MSFT
uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py NVDA
uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py AMZN

欧洲股票

uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py RHM.DE uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py SAP.DE uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py ASML.AS

英国股票

uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py SHEL.L

ETF(基本面数据有限)

uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py SPY

股票代码格式参考

市场格式示例
美股直接输入AAPL、NVDA
德国股票
后缀 .DE | RHM.DE、SAP.DE | | 英国股票 | 后缀 .L | SHEL.L、BP.L | | 荷兰股票 | 后缀 .AS | ASML.AS | | 日本股票 | 后缀 .T | 7203.T | | 韩国股票 | 后缀 .KS | 005930.KS | | 加密货币 | 后缀 -USD | BTC-USD、ETH-USD |

输出内容

该命令将返回结构化的基本面报告,包含以下内容:

  • - 基本信息 — 公司名称、行业、产业、市值
  • 估值指标 — 滚动市盈率、远期市盈率、PEG比率、市销率、市净率、企业价值/EBITDA
  • 盈利能力 — 毛利率、营业利润率、净利润率、净资产收益率、总资产收益率
  • 成长性 — 营收增长率(同比)、盈利增长率(同比)
  • 财务健康 — 总现金、总负债、负债权益比、流动比率
  • 股东回报 — 股息率、派息率
  • 前瞻展望 — 分析师目标价、评级、下次财报日期
  • 基本面亮点 — 自动生成的叙述性总结
  • 潜在关注事项 — 自动生成的风险提示

注意事项

  • - 请勿使用网络搜索或curl命令查询基本面信息——始终使用此脚本。
  • 请勿使用 stock-fundamentals.sh 的bash封装脚本——直接按上述方式调用 uv run src/main.py。
  • uv run 会自动处理所有依赖项——无需手动配置环境。
  • 数据来源于雅虎财经(通过 yfinance 获取),结果反映最新可用数据。
  • 对于无股息分红的公司,股息相关字段将显示为“N/A”——此为正常现象。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 stock-fundamentals-1776197822 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 stock-fundamentals-1776197822 技能

通过命令行安装

skillhub install stock-fundamentals-1776197822

下载

⬇ 下载 stock-fundamentals v0.1.1(免费)

文件大小: 7.9 KB | 发布时间: 2026-4-15 13:40

v0.1.1 最新 2026-4-15 13:40
- Updated skill name to "stock-fundamentals" and clarified the description for broader clarity.
- Improved usage instructions: added explicit command examples, including exchange suffixes for international stocks and ETFs.
- Added "When NOT to use" section to guide expected use cases and avoid overlap with other skills.
- Included a "Ticker Format Reference" table for quick lookup of international ticker conventions.
- Clarified direct command usage (`uv run .../src/main.py `) and advised against using web search, curl, or auxiliary scripts.
- Expanded output details and notes to set clear expectations on data sourcing, coverage, and output fields.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部