yahoo-data-fetcher
bởi noypearl
Data & AnalyticsTóm tắt
Fetch real-time stock quotes from Yahoo Finance.
Mô tả
Kỹ năng này làm gì
Fetches real-time stock quotes from Yahoo Finance for one or more ticker symbols. Returns price, absolute change, percent change, currency, and market state as normalized JSON.
Yahoo Finance's public quote endpoint requires no API key or account, so quotes are available immediately with no setup.
Khi nào nên dùng
- Check the current price of a stock before placing a trade
- Monitor multiple portfolio holdings in one request
- Verify whether a market is currently open or closed
- Compare intraday price changes across a watchlist
- Pull live quotes into a personal finance or budgeting script
Quy trình ví dụ
User asks: /stock quote AAPL MSFT TSLA
- 1
Parse the input into individual ticker symbols: AAPL, MSFT, TSLA
- 2
Send a request to the Yahoo Finance quote API for all three symbols
- 3
Parse the response and normalize each result into the standard schema
- 4
Return a JSON array with price, change, changePercent, currency, and marketState for each symbol
[{"symbol":"AAPL","price":189.12,"change":1.23,"changePercent":0.65,"currency":"USD","marketState":"REGULAR"}, ...]
Cài đặt
clawhub install noypearl/yahoo-data-fetcherChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.