get_historical_stock_prices
Retrieve historical stock prices for a given ticker symbol, including Open, High, Low, Close, Volume, and Adjusted Close. Supports customizable periods and intervals from Yahoo Finance.
Instructions
Get historical stock prices for a given ticker symbol from yahoo finance. Include the following information: Date, Open, High, Low, Close, Volume, Adj Close. Args: ticker: str The ticker symbol of the stock to get historical prices for, e.g. "AAPL" period : str Valid periods: 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max Either Use period parameter or use start and end Default is "1mo" interval : str Valid intervals: 1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo Intraday data cannot extend last 60 days Default is "1d"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| period | No | 1mo | |
| interval | No | 1d | |
| page | No | ||
| export_path | No |