get_historical_data
Retrieve historical stock price data for any ticker symbol over a specified period and interval. Use past prices to analyze trends, backtest strategies, and inform investment decisions.
Instructions
Get historical stock price data.
Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') period: Time period (1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max) interval: Data interval (1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo)
Returns: Dictionary containing historical price data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1mo | |
| symbol | Yes | ||
| interval | No | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||