yahoo-data-fetcher
由 noypearl 提供
Data & Analytics简介
Fetch real-time stock quotes from Yahoo Finance.
描述
该技能的功能
Fetches real-time stock quotes from Yahoo Finance for one or more ticker symbols. Returns price, absolute change, percent change, currency, and market state as normalized JSON.
Yahoo Finance's public quote endpoint requires no API key or account, so quotes are available immediately with no setup.
何时使用
- Check the current price of a stock before placing a trade
- Monitor multiple portfolio holdings in one request
- Verify whether a market is currently open or closed
- Compare intraday price changes across a watchlist
- Pull live quotes into a personal finance or budgeting script
示例工作流
User asks: /stock quote AAPL MSFT TSLA
- 1
Parse the input into individual ticker symbols: AAPL, MSFT, TSLA
- 2
Send a request to the Yahoo Finance quote API for all three symbols
- 3
Parse the response and normalize each result into the standard schema
- 4
Return a JSON array with price, change, changePercent, currency, and marketState for each symbol
[{"symbol":"AAPL","price":189.12,"change":1.23,"changePercent":0.65,"currency":"USD","marketState":"REGULAR"}, ...]
安装
clawhub install noypearl/yahoo-data-fetcher运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。