get_historical_stock_prices
Retrieve historical stock prices by specifying a stock symbol, period, and interval. Analyze financial trends and performance over time using Yahoo Finance data.
Instructions
Get historical stock prices for a given stock symbol.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
interval | No | The interval beween data points. Defaults to "1d". Valid intervals: "1d", "5d", "1wk", "1mo", "3mo" | |
period | No | The period for historical data. Defaults to "1mo". Valid periods: "1d", "5d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max" | |
symbol | Yes | Stock symbol in Yahoo Finance format. |