scrape_stock
Fetch stock market data from Yahoo Finance. Get real-time quotes, historical data, or company profiles by ticker symbol.
Instructions
Fetch stock market data from Yahoo Finance.
Args: symbol: Ticker symbol, e.g. "AAPL", "GOOGL". mode: "quote", "history", or "profile". period: History window when mode="history", e.g. "1mo", "1y".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quote | |
| period | No | 1mo | |
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| errors | No | ||
| scraper | No | ||
| source_urls | No |