跳到正文
TakoAPI
返回技能列表

stock-price-checker

由 rupprath 提供

Shopping & E-commerce
3.6k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Check stock prices using yfinance library.

描述

该技能的功能

Fetches current stock prices and related data from Yahoo Finance using the yfinance Python library. No API key or account required. Returns price, change, market cap, volume, and 52-week range as JSON.

No API key or account signup is required, unlike most financial data APIs that impose rate limits or require registration.

何时使用

  • Check a stock price before placing a trade
  • Look up 52-week high and low for a position
  • Monitor ETF performance for VOO or QQQ
  • Compare current price to previous close
  • Pull volume and market cap data from the command line

示例工作流

输入

User asks: What is the current price of NVIDIA stock?

智能体
  1. 1

    Run python3 stock-price.py NVDA

  2. 2

    Capture JSON output from yfinance

  3. 3

    Extract price, change, and percent change fields

  4. 4

    Return formatted result to user

输出

{"symbol": "NVDA", "price": 189.52, "change": 3.05, "change_percent": 1.64, "previous_close": 186.47, "market_cap": 4614243483648, "volume": 112439494, "fifty_two_week_high": 212.19, "fifty_two_week_low": 86.62}

安装

clawhub install rupprath/stock-price-checker

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

链接