finance
由 anton-roos 提供
Coding Agents & IDEs简介
Track stocks, ETFs, indices, crypto (where available), and FX pairs with caching + provider fallbacks.
描述
该技能的功能
Fetches latest quotes and historical price series for stocks, ETFs, indices, FX pairs, and crypto tickers. Uses Yahoo Finance and ExchangeRate-API by default with no API keys required. Caches responses locally to stay within rate limits.
Works without any API keys by default using Yahoo Finance and ExchangeRate-API, with optional paid provider support for higher-frequency or higher-volume needs.
何时使用
- Check the current price of AAPL, ^GSPC, or VOO
- Track USD/ZAR or EURUSD exchange rates
- Pull a 30-day historical series for a stock or ETF
- Maintain a watchlist and review daily performance changes
- Monitor multiple tickers and get a combined summary
示例工作流
User asks: What is AAPL trading at today, and can you show me the last 30 days?
- 1
Run market_quote.py AAPL to fetch the latest price and change %
- 2
Check local cache to skip redundant API calls
- 3
Run market_series.py AAPL --days 30 to retrieve the historical series
- 4
Return the current quote with source and timestamp, plus a preview of the first and last rows of the series
AAPL current price with % change and data source, plus a 30-day CSV preview confirming date range and row count
前置要求
- TWELVEDATA_API_KEY (optional, required only if adding Twelve Data as a paid provider)
- ALPHAVANTAGE_API_KEY (optional, required only if adding Alpha Vantage as a paid provider)
安装
clawhub install anton-roos/finance运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。