详细分析 ▾
运行时依赖
版本
- Renamed skill from "stock-quote" to "yahoo-data-fetcher". - Replaced implementation file (`stock-quote.js` removed; `index.js` and `package.json` added). - Updated documentation for improved clarity and normalized JSON output. - Enhanced input flexibility with expanded examples. - Unified command and output details for easier use.
安装命令
点击复制本土化适配说明
yahoo fetch data of stonks — 技能工具 安装说明: 安装命令:npx clawhub@latest install yahoo-data-fetcher 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载
技能文档
Get current stock price data from Yahoo Finance.
This skill fetches the latest market quote for one or more stock symbols and returns normalized JSON output.
Command
/stock quote
Fetch the latest quote for one or more stock symbols.
Input
symbols(string or array of strings)
Examples:
"AAPL""AAPL MSFT TSLA""AAPL,MSFT,TSLA"["AAPL", "MSFT"]{ "symbols": ["AAPL", "MSFT"] }
Output
For each symbol:
symbol– stock tickerprice– latest market pricechange– absolute price changechangePercent– percentage changecurrency– trading currencymarketState– market status (e.g.REGULAR,CLOSED)
Example output:
```json [ { "symbol": "AAPL", "price": 189.12, "change": 1.23, "changePercent": 0.65, "currency": "USD", "marketState": "REGULAR" } ]