finance

Fetch stock, ETF, index, and FX quotes with caching and watchlist tracking.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill finance-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finance
Source: https://github.com/Tgoldi/claude-skills/tree/main/finance
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill finance-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yfinance, pandas, requests, and includes scripts (resource) components.

What problem does it solve? Getting quick market prices and historical data usually requires signing up for paid APIs or manually checking finance websites. This Skill fetches latest quotes and historical series for stocks, ETFs, indices, and FX pairs using no-key providers, with local caching to avoid rate limits. ## Core Features & Use Cases - Latest Quotes: Fetch current prices for stocks, ETFs, and indices via yfinance, and FX rates via the ExchangeRate-API open endpoint. - Historical Series: Export daily price history as CSV for any stock, ETF, or index over a configurable number of days. - Local Watchlist: Add, remove, and summarize a persistent watchlist of tickers with current quotes in one command. - Use Case: Ask for the latest price of AAPL and USD/ZAR, then add both to a watchlist and get a daily summary without hitting API rate limits thanks to built-in caching. ## Quick Start Ask the assistant to get the latest quote for AAPL and add it to your market watchlist.

Frequently Asked Questions about finance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get the latest stock price with Python?

Run the market_quote.py script with a ticker symbol, such as python scripts/market_quote.py AAPL. It uses yfinance to fetch the latest price from Yahoo Finance and returns JSON with price, currency, and source, cached for 60 seconds.

How do I track an FX pair like USD/ZAR without an API key?

Pass the pair to market_quote.py in formats like USD/ZAR, USDZAR, or GBP-JPY. The script calls the ExchangeRate-API open access endpoint, which requires no key but only updates once per day, so results are cached for 12 hours.

Can I get historical FX data with the free ExchangeRate-API endpoint?

No, the open access endpoint only provides the latest daily rates, not historical series. The market_series.py script exits with an error for FX pairs and recommends adding a paid historical FX provider such as Twelve Data or Alpha Vantage.

Why does yfinance sometimes fail or return no data?

Yahoo Finance access via yfinance is unofficial and can be rate-limited or blocked. The script falls back from fast_info to 1-day history, but if both fail you should increase cache TTL, reduce request frequency, or switch to a paid provider.

How do I maintain a stock watchlist from the command line?

Use market_watchlist.py with add, remove, list, or summary subcommands, for example python scripts/market_watchlist.py add AAPL MSFT USD/ZAR. The watchlist is stored as JSON under .cache/market-tracker and summary fetches quotes for every item.