yahoo-finance
Financial data from Yahoo Finance: stock/bond prices, credit analysis, macro dashboard, FX rates, ETF flows, fundamentals, and news. Use when the user asks about stock prices, bond yields, credit metrics, leverage ratios, debt/ebitda, interest coverage, macro indicators (VIX, DXY, treasury yields, oil, gold, BTC), LatAm FX (ARS, BRL, CLP, MXN, COP), ETF holdings, income statements, balance sheets, cash flow, financial news, options chains, dividend history, or analyst ratings/upgrades. Commands: yf price, yf quote, yf compare, yf credit, yf macro, yf fx, yf flows, yf history, yf fundamentals, yf news, yf search, yf options, yf dividends, yf ratings.
What this skill does
# Yahoo Finance CLI
Financial data terminal powered by Yahoo Finance. All commands via the `yf` script.
## Setup
The script is at `{baseDir}/scripts/yf`. It uses `uv run --script` with inline PEP 723 metadata — dependencies install automatically on first run.
```bash
chmod +x {baseDir}/scripts/yf
```
## Commands
| Command | Purpose | Example |
|---------|---------|---------|
| `yf price TICKER` | Quick price + change + volume | `yf price YPF` |
| `yf quote TICKER` | Detailed quote (52w, PE, yield) | `yf quote AAPL` |
| `yf compare T1,T2,T3` | Side-by-side comparison table | `yf compare YPF,PAM,GGAL` |
| `yf credit TICKER` | Credit analysis: leverage, coverage, debt maturity | `yf credit YPF` |
| `yf macro` | Morning macro dashboard (UST, DXY, VIX, oil, gold, BTC, ARS) | `yf macro` |
| `yf fx [BASE]` | LatAm FX rates (ARS, BRL, CLP, MXN, COP) | `yf fx USD` |
| `yf flows ETF` | ETF top holdings + fund data | `yf flows EMB` |
| `yf history TICKER [PERIOD]` | Price history (1d/5d/1mo/3mo/6mo/1y/ytd/max) | `yf history YPF 3mo` |
| `yf fundamentals TICKER` | Full financials (IS, BS, CF) | `yf fundamentals YPF` |
| `yf news TICKER` | Recent news headlines | `yf news YPF` |
| `yf search QUERY` | Find tickers | `yf search "argentina bond"` |
All commands support `--json` for machine-readable output.
## When to Use Which Command
- **Morning check**: `yf macro` → get UST yields, DXY, VIX, commodities, BTC, ARS in one shot
- **Quick look**: `yf price TICKER` → fast price/change/volume
- **Deep dive equity**: `yf quote` → `yf fundamentals` → `yf history`
- **Credit analysis**: `yf credit TICKER` → leverage ratios, interest coverage, debt breakdown
- **EM/LatAm FX**: `yf fx` → all major LatAm pairs vs USD
- **ETF research**: `yf flows ETF` → top holdings, AUM, expense ratio
- **Comparison**: `yf compare` → side-by-side for relative value
## Error Handling
The script handles bad tickers, missing data, and rate limits gracefully with clear error messages. If Yahoo Finance rate-limits, wait a moment and retry.
## Output
By default, output uses Rich tables for clean terminal display. Add `--json` to any command for structured JSON output suitable for piping or further processing.
Related in Data & Analytics
clawarr-suite
IncludedComprehensive management for self-hosted media stacks (Sonarr, Radarr, Lidarr, Readarr, Prowlarr, Bazarr, Overseerr, Plex, Tautulli, SABnzbd, Recyclarr, Unpackerr, Notifiarr, Maintainerr, Kometa, FlareSolverr). Deep library exploration, analytics, dashboard generation, content management, request handling, subtitle management, indexer control, download monitoring, quality profile sync, library cleanup automation, notification routing, collection/overlay management, and media tracker integration (Trakt, Letterboxd, Simkl).
querying-soql
IncludedSOQL query generation, optimization, and analysis with 100-point scoring. Use this skill when the user needs SOQL/SOSL authoring or optimization: natural-language-to-query generation, relationship queries, aggregates, query-plan analysis, and performance or safety improvements for Salesforce queries. TRIGGER when: user writes, optimizes, or debugs SOQL/SOSL queries, touches .soql files, or asks about relationship queries, aggregates, or query performance. DO NOT TRIGGER when: bulk data operations (use handling-sf-data), Apex DML logic (use generating-apex), or report/dashboard queries.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
habit-flow
IncludedAI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching. Use for creating habits, logging completions naturally ("I meditated today"), viewing progress, and getting personalized coaching.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
visualizing-data
IncludedBuilds dashboards, reports, and data-driven interfaces requiring charts, graphs, or visual analytics. Provides systematic framework for selecting appropriate visualizations based on data characteristics and analytical purpose. Includes 24+ visualization types organized by purpose (trends, comparisons, distributions, relationships, flows, hierarchies, geospatial), accessibility patterns (WCAG 2.1 AA compliance), colorblind-safe palettes, and performance optimization strategies. Use when creating visualizations, choosing chart types, displaying data graphically, or designing data interfaces.