微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📉

实时行情·智能简报·风险优先决策

Yahoo · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
专业技能 安全 B 级 作者 ivangdavila 公开目录收录
1.1k 下载 1 安装 2.2k 收藏 15 浏览

简介

通过 Yahoo Finance 获取实时行情、股票搜索和多标的简报,支持风险优先的投资决策框架,适合快速市场扫描与基本面验证。

原始描述

Use Yahoo Finance for quotes, symbol search, watchlists, market briefs, and catalyst-aware stock decisions.

通过你的 Agent 添加

安装目录:yahoo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/yahoo/
Codex CLI~/.codex/skills/yahoo/
DeepSeek Harness~/.agents/skills/yahoo/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Yahoo 技能围绕 Yahoo Finance 数据构建了一套完整的市场分析工作流,涵盖从符号搜索、实时报价到多标的对比简报。核心功能通过三个 Python 脚本实现:yahoo_search.py 用于解决公司名称模糊性并返回精确交易代码;yahoo_quote.py 拉取单只股票的完整报价面板、日涨跌和关键统计;yahoo_brief.py 则生成跨多标的对比简报,识别领涨/领跌品种并标记极端波动。

工作流设计强调"决策前准备"——用户可通过 market-playbook.md 获取催化剂时间框架,thesis-card.md 将市场评论转化为可证伪的交易假设,risk-playbook.md 则在任何机会评估前强制设定仓位规模、失效条件、流动性和波动率限制。

显著优点

  1. 数据源权威性:直接对接 Yahoo Finance 官方端点,非第三方聚合,数据延迟可控
  2. 风险优先架构:核心规则第5条强制"风险控制先于机会",内置 thesis-card 和 risk-playbook 模板防止情绪化交易
  3. 模糊输入处理:yahoo_search.py 解决"Apple"对应多 instruments(普通股、ADR、ETF)的常见问题
  4. 本地记忆可选:~/yahoo/ 目录仅存储自选观察列表、基准比较集和决策边界,不默认保存敏感持仓
  5. 时间状态显式:强制标注收盘/盘前/盘后/延迟状态,避免用户误读 stale 数据

潜在缺点与局限性

  • 非实时执行层:明确声明"不 pretend to place trades",无法直接下单,需配合券商系统
  • 单一信源依赖:所有数据来自 Yahoo Finance,无交叉验证机制;财报突变或数据错误时无备用源
  • 地域覆盖不均:Yahoo Finance 对非美市场(A股、港股部分股票)覆盖度和更新频率较低
  • 无历史数据回测:仅提供当前快照和简报,不提供历史价格序列下载或技术分析指标计算
  • 网络依赖强:每次查询均需外联 finance.yahoo.com,离线不可用

适合人群

  • 日内/波段交易者:需要快速盘前/盘后多标的对比扫描
  • 基本面研究者:在深入财报前用 Yahoo 数据验证当前估值水平和近期催化剂
  • 风险纪律型用户:重视 thesis-card 和 risk-playbook 提供的结构化决策框架
  • 隐私敏感投资者:不愿将完整持仓同步至云端,偏好本地 ~/yahoo/ 轻量记忆

常规风险

风险类型 具体表现 缓解措施
数据延迟风险 盘后市场状态可能显示为"延迟"而非实时 每次输出强制标注 market-state
符号误配风险 "Nvidia"可能映射到ADR而非正股 严格执行 Core Rule #1,先用 yahoo_search.py 确认
催化剂遗漏 简报未自动拉取 earnings date 等关键事件 主动使用 market-playbook.md 标注时间窗口
过度交易 频繁简报可能诱导无结构动量追逐 强制使用 thesis-card.md 分离 tape/thesis/trigger
隐私泄露 搜索查询发送至 Yahoo 服务器 最小化搜索词,避免输入持仓数量等敏感信息

技能正文


name: Yahoo slug: yahoo version: 1.0.0 homepage: https://clawic.com/skills/yahoo description: Use Yahoo Finance for quotes, symbol search, watchlists, market briefs, and catalyst-aware stock decisions. changelog: Initial release with Yahoo Finance quote scripts, watchlist briefings, and risk-first decision workflows. metadata: {"clawdbot":{"emoji":"📉","requires":{"bins":["python3"]},"os":["linux","darwin","win32"],"configPaths":["~/yahoo/"]}}

When to Use

User needs Yahoo Finance workflows, ticker discovery, quote checks, watchlist reviews, or fast market context before making a stock decision. Agent handles symbol search, single-name snapshots, multi-ticker briefings, and risk-aware thesis framing without pretending to place trades.

Architecture

Memory lives in ~/yahoo/. If ~/yahoo/ does not exist, run setup.md. See memory-template.md for structure.

~/yahoo/
├── memory.md        # Activation preferences, market scope, and answer style
├── watchlist.md     # Ranked tickers, benchmarks, and catalyst notes
├── briefing-log.md  # Saved pre-market, post-market, or event-driven briefs
└── decisions.md     # Thesis, invalidation, and review notes

Quick Reference

Load only the files that improve the current answer. Use the scripts when deterministic output is faster than manual browsing.

Topic File
Setup and activation setup.md
Local memory structure memory-template.md
Command recipes commands.md
Market briefing workflow market-playbook.md
Thesis framing template thesis-card.md
Risk guardrails risk-playbook.md
Single-symbol snapshot script yahoo_quote.py
Symbol and headline search script yahoo_search.py
Multi-ticker briefing script yahoo_brief.py

Requirements

  • python3
  • Outbound web access to finance.yahoo.com and Yahoo Finance search endpoints
  • User approval before creating or updating local watchlists or decision logs

Quick Start

python3 yahoo_search.py "apple"
python3 yahoo_quote.py AAPL
python3 yahoo_brief.py AAPL MSFT NVDA AMZN

Use the scripts for grounded snapshots, then layer judgment with market-playbook.md, thesis-card.md, and risk-playbook.md.

Operating Coverage

Fast quote check

  • Pull the current Yahoo Finance price panel, day move, and headline statistics for one symbol.
  • Use yahoo_quote.py when the user wants a quick tape read before deeper analysis.

Symbol resolution and headline scan

  • Resolve ambiguous company names, ETFs, ADRs, and similarly named tickers before analysis.
  • Use yahoo_search.py when the user says "Apple", "Nvidia", "QQQ", or anything that could map to multiple instruments.

Watchlist and market brief

  • Compare multiple names side by side, surface leaders and laggards, and flag extreme movers worth a second look.
  • Use yahoo_brief.py when the user wants a pre-market, post-market, or event-driven pass across a basket.

Core Rules

1. Resolve the exact symbol before making claims

  • Confirm the tradable instrument first: common stock, ADR, ETF, index, crypto pair, or forex pair.
  • Ambiguous names create fake analysis and wrong catalysts.
  • Use yahoo_search.py whenever the input is not already a clean ticker.

2. Match the workflow to the decision horizon

  • Separate quick quote checks, same-day tape reads, swing planning, and longer position reviews.
  • The same number means different things on an intraday trade than on a three-month thesis.
  • Start every answer with the user's time horizon if it changes the recommendation.

3. Separate tape, thesis, and trigger

  • Report what Yahoo shows now, what the thesis claims, and what evidence would validate or break it.
  • Price action alone is not a thesis.
  • Use thesis-card.md to convert commentary into a falsifiable setup.

4. Keep catalyst timing explicit

  • Mention the nearest catalyst window that could invalidate a calm-looking setup: earnings, macro releases, product events, or regulatory dates.
  • If there is no clear catalyst, say that the setup is mostly technical or mostly watchlist-only.
  • Use market-playbook.md to frame why the next time window matters.

5. Put risk controls ahead of opportunity

  • Position sizing, invalidation, liquidity, and volatility limits come before upside stories.
  • A good idea with undefined risk is still a bad trade.
  • Use risk-playbook.md before suggesting size, urgency, or conviction.

6. Treat local storage as opt-in continuity

  • Keep local memory limited to watchlists, recurring benchmarks, preferred answer style, and durable risk boundaries.
  • Do not create ~/yahoo/ silently for sensitive market context.
  • Save only what clearly improves the next Yahoo workflow.

7. Verify timestamp and market state every time

  • Read whether the number is at close, pre-market, post-market, or delayed.
  • Users misread stale prints as live confirmation all the time.
  • Quote answers must include the market-state context when Yahoo exposes it.

Common Traps

  • Analyzing the wrong ticker because the company name matched multiple instruments -> wrong catalyst map and wrong price history.
  • Treating a daily move as a thesis by itself -> momentum chasing without structure.
  • Ignoring whether Yahoo is showing close, pre-market, or after-hours data -> stale or misread entries.
  • Ranking a watchlist without catalyst timing -> busy output with no decision value.
  • Saving detailed holdings or account balances by default -> unnecessary privacy exposure.
  • Confusing a market brief with trade authorization -> the skill supports decisions but does not execute orders.

External Endpoints

Endpoint Data Sent Purpose
https://finance.yahoo.com/quote/{symbol} ticker symbol in URL path Current price panel and headline quote statistics
https://query1.finance.yahoo.com/v1/finance/search query text, quote/news count Symbol lookup and related headline search

No other data is sent externally.

Security & Privacy

Data that leaves your machine:

  • Ticker symbols or text search queries sent to Yahoo Finance pages and search endpoints

Data that stays local when the user opts in:

  • Watchlists, preferred benchmarks, briefing notes, and decision boundaries in ~/yahoo/

This skill does NOT:

  • Place broker orders or connect to brokerage accounts
  • Store credentials, account numbers, or tax documents
  • Create or update local files without user approval
  • Make undeclared network requests outside Yahoo Finance endpoints

Trust

By using this skill, ticker symbols and search queries are sent to Yahoo Finance. Only install if you trust Yahoo with that market lookup data.

Data Storage

All local state lives in ~/yahoo/ when the user wants continuity. Keep storage compact: watchlists, repeated benchmark sets, answer-style preferences, and thesis reviews. Avoid full holdings exports unless the user explicitly asks for local note-taking.

Related Skills

Install with clawhub install <slug> if user confirms:

  • analysis — turn raw market inputs into explicit conclusions and tradeoffs
  • economics — add macro context when rates, inflation, or policy events matter
  • news — expand beyond Yahoo headlines when the story needs cross-source verification
  • personal-finance-tracker — connect market decisions to cashflow and risk capacity
  • trading — structure execution checklists and post-trade reviews

Feedback

  • If useful: clawhub star yahoo
  • Stay updated: clawhub sync

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

financestocksmarket-datainvestingrisk-managementyahoo-financepython-automation

同类 Skill