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 INLINECODE0
- User wants broad market news or macro conditions → use INLINECODE1
- User wants a full research report combining all signals → use INLINECODE2
Commands
Check a stock price
CODEBLOCK0
Examples
CODEBLOCK1
Ticker Format Reference
| Market | Format | Example |
|---|
| US stocks | Plain | INLINECODE3 , INLINECODE4 |
| 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.
技能:股票价格查询专业版
使用场景
- - 用户询问某公司或ETF的当前股价
- 用户询问每日价格变动、涨跌额或涨跌幅
- 用户询问52周最高/最低价、2周、1个月、3个月或6个月价格区间
- 用户询问交易量或市值
- 用户想要获取近期公司特定新闻头条
- 用户询问即将发布的财报、除息日或股息发放日
禁止使用场景
- - 用户想要市盈率、利润率、负债、净资产收益率或任何基本面指标 → 使用 stock-fundamentals
- 用户想要广泛的市场新闻或宏观状况 → 使用 market-news-brief
- 用户想要结合所有信号的完整研究报告 → 使用 equity-research
命令
查询股票价格
bash
uv run /root/.openclaw/workspace/skills/stock-price-checker-pro/src/main.py <股票代码>
示例
bash
美股
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
欧洲股票
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
ETF和指数
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
加密货币
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
股票代码格式参考
| 市场 | 格式 | 示例 |
|---|
| 美股 | 直接输入 | AAPL, NVDA |
| 德国股票 |
.DE 后缀 | RHM.DE, SAP.DE |
| 英国股票 | .L 后缀 | SHEL.L, BP.L |
| 荷兰股票 | .AS 后缀 | ASML.AS |
| 日本股票 | .T 后缀 | 7203.T |
| 韩国股票 | .KS 后缀 | 005930.KS |
| 加密货币 | -USD | BTC-USD, ETH-USD |
| ETF | 直接输入 | SPY, QQQ, EWG |
输出内容包含
- - 当前价格、每日涨跌额及与前收盘价相比的涨跌幅
- 成交量与平均成交量对比及市值
- 今日最高价/最低价
- 2周、1个月、3个月、6个月、52周最高/最低价区间
- 近期公司特定新闻头条及链接
- 即将发生的事件:财报发布日期、除息日、股息发放日
注意事项
- - uv run 会读取 main.py 中的内联 # /// script 依赖块,并在隔离环境中自动安装 yfinance — 无需 pip install 或 venv 设置。
- 不要使用 stock-price.sh 包装脚本 — 请直接按上述方式调用 uv run src/main.py。
- 不要使用网络搜索或 curl 获取价格 — 始终使用此脚本。