get_historical_stock_prices
Get historical stock prices for any ticker, with open, high, low, close, volume, and adjusted close. Choose period and interval for daily or intraday data.
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 |
|---|---|---|---|
| period | No | 1mo | |
| ticker | Yes | str The ticker symbol of the stock to get historical prices for, e.g. "AAPL" | |
| interval | No | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |