cputemp
bởi rhcit
Browser & AutomationTó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, percentage change, currency, and market state as normalized JSON.
Returns structured JSON directly from Yahoo Finance without requiring a paid API subscription or HTML scraping.
Khi nào nên dùng
- Check current price of a stock before placing a trade
- Monitor multiple portfolio positions in a single call
- Compare regular vs after-hours market status for a ticker
- Pull live quotes into an automated reporting pipeline
- Verify ticker data without opening a browser
Quy trình ví dụ
User asks: What's the current price of AAPL and MSFT?
- 1
Parse the input to extract symbols ['AAPL', 'MSFT']
- 2
Send a request to the Yahoo Finance quote endpoint for both symbols
- 3
Normalize the response into a consistent JSON schema
- 4
Return price, change, changePercent, currency, and marketState for each symbol
[{"symbol":"AAPL","price":189.12,"change":1.23,"changePercent":0.65,"currency":"USD","marketState":"REGULAR"},{"symbol":"MSFT","price":415.50,"change":-0.80,"changePercent":-0.19,"currency":"USD","marketState":"REGULAR"}]
Cài đặt
clawhub install rhcit/cputempChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.