返回顶部
f

finance

Track stocks, ETFs, indices, crypto (where available), and FX pairs with caching + provider fallbacks.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.2
安全检测
已通过
9,744
下载量
14
收藏
概述
安装方式
版本历史

finance

# Market Tracker Skill This skill helps you fetch **latest quotes** and **historical series** for: - Stocks / ETFs / Indices (e.g., AAPL, MSFT, ^GSPC, VOO) - FX pairs (e.g., USD/ZAR, EURUSD, GBP-JPY) - Crypto tickers supported by the chosen provider (best-effort) It is optimized for: - fast “what’s the price now?” queries - lightweight tracking with a local watchlist - caching to avoid rate-limits ## When to use Use this skill when the user asks: - “What’s the latest price of ___?” - “Track ___ and ___ and show me daily changes.” - “Give me a 30-day series for ___.” - “Convert USD to ZAR (or track USD/ZAR).” - “Maintain a watchlist and summarize performance.” ## Provider strategy (important) - **Stocks/ETFs/indices** default: Yahoo Finance via `yfinance` (no key, broad coverage), but it is unofficial and can rate-limit. - **FX** default: ExchangeRate-API Open Access endpoint (no key, daily update). - If the user needs high-frequency or many symbols, recommend adding a paid provider later. See `providers.md` for details and symbol formats. --- # Quick start (how you run it) These scripts are intended to be run from a terminal. The agent should: 1) ensure dependencies installed 2) run the scripts 3) summarize results cleanly Install: - `python -m venv .venv && source .venv/bin/activate` (or Windows equivalent) - `pip install -r requirements.txt` ## Commands ### 1) Latest quote (stock/ETF/index) Examples: - `python scripts/market_quote.py AAPL` - `python scripts/market_quote.py ^GSPC` - `python scripts/market_quote.py VOO` ### 2) Latest FX rate Examples: - `python scripts/market_quote.py USD/ZAR` - `python scripts/market_quote.py EURUSD` - `python scripts/market_quote.py GBP-JPY` ### 3) Historical series (CSV to stdout) Examples: - `python scripts/market_series.py AAPL --days 30` - `python scripts/market_series.py USD/ZAR --days 30` ### 4) Watchlist summary (local file) - Add tickers: `python scripts/market_watchlist.py add AAPL MSFT USD/ZAR` - Remove: `python scripts/market_watchlist.py remove MSFT` - Show summary: `python scripts/market_watchlist.py summary` --- # Output expectations (what you should return to the user) - For quotes: price, change %, timestamp/source, and any caveats (like “FX updates daily”). - For series: confirm date range, number of points, and show a small preview (first/last few rows). - If rate-limited: explain what happened and retry with backoff OR advise to reduce frequency. --- # Safety / correctness - Never claim “real-time” unless the provider is truly real-time. FX open access updates daily. - Always cache responses and throttle repeated calls. - If Yahoo blocks requests, propose a paid provider or increase cache TTL.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 finance-1776420034 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 finance-1776420034 技能

通过命令行安装

skillhub install finance-1776420034

下载 Zip 包

⬇ 下载 finance v1.1.2

文件大小: 7.97 KB | 发布时间: 2026-4-17 19:47

v1.1.2 最新 2026-4-17 19:47
- fixed the series call to look at a series of a stock

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部