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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.