360 Secure SkillHub
360 安全技能中心

Stock Quote

核心功能:无需API密钥,基于Yahoo Finance实时获取股票、ETF、加密货币的价格、涨跌幅、市值等数据,支持多标的对比及详情查看。典型场景:查询个股行情、对比多只标的表现、查看加密货币价格等。输入为命令行传入标的代码(加密货币加-USD后缀),可加--detail参数;输出为结构化文本表格,涨跌以红绿标识。

josephflu
josephflu
热度 48.24
最近更新 2026-05-11 17:35:11
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 数据处理 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add eagerbots-stock-quote
Metadata
name
eagerbots-stock-quote
description
Get real-time stock, ETF, and crypto prices. Compare tickers, check market cap and volume. Uses Yahoo Finance — no API key required.
version
1.0.0
metadata
{"openclaw":{"emoji":"📈"},"requires":{"bins":["python3"]},"homepage":"https://github.com/josephflu/clawhub-skills"}

stock-quote

Get real-time stock, ETF, and crypto prices via Yahoo Finance — no API key needed.

Trigger phrases

  • "What's Apple stock at?"
  • "What's the price of TSLA?"
  • "How is NVDA doing today?"
  • "Compare AAPL MSFT GOOG"
  • "What's BTC at?"
  • "Show me SPY and QQQ"
  • "Is the market up today?"
  • "How's the market doing?"
  • "Quote for [TICKER]"

Usage

Run uv run scripts/quote.py with one or more ticker symbols:

# Single ticker
uv run scripts/quote.py AAPL

# Crypto
uv run scripts/quote.py BTC-USD

# Multiple tickers (comparison table)
uv run scripts/quote.py AAPL MSFT GOOG NVDA

# Detailed view
uv run scripts/quote.py AAPL --detail

Output

Single ticker:

╭─────────────────────────────────────────╮
│ 🍎 Apple Inc. (AAPL) NASDAQ            │
│ $213.49 ▲ +2.31 (+1.09%) ● Market Open │
├─────────────────────────────────────────┤
│ 52W Range $164.08 ──────●──── $237.23  │
│ Volume 45.2M (avg 52.1M)               │
│ Market Cap $3.21T                       │
╰─────────────────────────────────────────╯

Multiple tickers: Rich comparison table with Ticker, Name, Price, Change, % Change, Market Cap — green for gains, red for losses.

Notes

  • Uses Yahoo Finance's unofficial API (free, no key required)
  • Crypto tickers use -USD suffix: BTC-USD, ETH-USD, SOL-USD
  • See references/common-tickers.md for popular symbols
  • Market status (open/closed) shown automatically