360 Secure SkillHub
360 安全技能中心

Stock Price Checker Pro

通过 uv run 执行内置 Python 脚本,输入股票代码后从 Yahoo Finance 获取当前价格、涨跌幅、成交量与均量、市值、多周期高低区间、公司新闻标题及财报/除息/派息日期等行情信息,覆盖美股、欧股、日韩股、ETF、指数与加密货币代码,不含基本面指标与宏观新闻。

youpele52
youpele52
热度 80.09
最近更新 2026-05-27 18:25:55
分类:数据依赖:代码执行 / 读写文件 / 第三方 API应用场景:财务 / 市场分析 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add stock-price-checker-pro
Metadata
name
stock-price-checker-pro
description
Run a local script to fetch current stock prices. Use the read tool to load this SKILL.md, then exec the uv run command inside it. Do NOT use sessions_spawn or web search. Triggers: stock price, share price, how much is [company] stock, ticker price, market price of.
homepage
https://finance.yahoo.com
metadata
{"clawdbot":{"emoji":"📈","requires":{"bins":["uv"]}}}

Skill: Stock Price Checker Pro

When to use

  • User asks for the current stock price of a company or ETF.
  • User asks about daily price movement, change, or % change.
  • User asks about 52-week high/low, 2W, 1M, 3M, or 6M price ranges.
  • User asks about trading volume or market cap.
  • User wants recent company-specific news headlines.
  • User asks about upcoming earnings, ex-dividend, or dividend dates.

When NOT to use

  • User wants P/E ratio, margins, debt, ROE, or any fundamental metric → use stock-fundamentals
  • User wants broad market news or macro conditions → use market-news-brief
  • User wants a full research report combining all signals → use equity-research

Commands

Check a stock price

uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py <TICKER>

Examples

# US stocks
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py AAPL
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py TSLA
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py NVDA
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py MSFT

# European stocks
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py RHM.DE
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py SAP.DE
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py ASML.AS
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py SHEL.L

# ETFs and indices
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py SPY
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py QQQ

# Crypto
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py BTC-USD
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py ETH-USD

Ticker Format Reference

Market Format Example
US stocks Plain AAPL, NVDA
German stocks .DE suffix RHM.DE, SAP.DE
UK stocks .L suffix SHEL.L, BP.L
Dutch stocks .AS suffix ASML.AS
Japanese .T suffix 7203.T
Korean .KS suffix 005930.KS
Crypto -USD BTC-USD, ETH-USD
ETFs Plain SPY, QQQ, EWG

Output includes

  • Current price, daily change & % change vs previous close
  • Volume vs average volume and market cap
  • Today's high / low
  • 2W, 1M, 3M, 6M, 52W high / low ranges
  • Recent company-specific news headlines with links
  • Upcoming events: earnings date, ex-dividend date, dividend payment

Notes

  • uv run reads the inline # /// script dependency block in main.py and auto-installs yfinance in an isolated environment — no pip install or venv setup needed.
  • Do NOT use the stock-price.sh wrapper — call uv run src/main.py directly as shown above.
  • Do NOT use web search or curl to fetch prices — always use this script.