跳到正文
TakoAPI
返回技能列表

cputemp

由 rhcit 提供

Browser & Automation
—暂无评分
你的评分

简介

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, percentage change, currency, and market state as normalized JSON.

Returns structured JSON directly from Yahoo Finance without requiring a paid API subscription or HTML scraping.

何时使用

  • Check current price of a stock before placing a trade
  • Monitor multiple portfolio positions in a single call
  • Compare regular vs after-hours market status for a ticker
  • Pull live quotes into an automated reporting pipeline
  • Verify ticker data without opening a browser

示例工作流

输入

User asks: What's the current price of AAPL and MSFT?

智能体
  1. 1

    Parse the input to extract symbols ['AAPL', 'MSFT']

  2. 2

    Send a request to the Yahoo Finance quote endpoint for both symbols

  3. 3

    Normalize the response into a consistent JSON schema

  4. 4

    Return price, change, changePercent, currency, and marketState for each symbol

输出

[{"symbol":"AAPL","price":189.12,"change":1.23,"changePercent":0.65,"currency":"USD","marketState":"REGULAR"},{"symbol":"MSFT","price":415.50,"change":-0.80,"changePercent":-0.19,"currency":"USD","marketState":"REGULAR"}]

安装

clawhub install rhcit/cputemp

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接