get_stock_prices
Retrieve historical end-of-day stock prices with open, high, low, close, and volume, adjusted and unadjusted. Specify ticker, date range, and optional resample frequency for daily, weekly, monthly, or annual data.
Instructions
Get historical end-of-day stock prices with adjusted and unadjusted OHLCV data.
Args: ticker: Stock ticker symbol (e.g. AAPL). start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. resample_freq: Resample frequency — daily, weekly, monthly, or annually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| end_date | No | ||
| start_date | No | ||
| resample_freq | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |