跳到正文
TakoAPI
返回技能列表

yahoo-data-fetcher

由 noypearl 提供

Data & Analytics
3.4k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Parse the input into individual ticker symbols: AAPL, MSFT, TSLA

  2. 2

    Send a request to the Yahoo Finance quote API for all three symbols

  3. 3

    Parse the response and normalize each result into the standard schema

  4. 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 或你在用的任意编程智能体里。

链接