get_price_history
Retrieve historical stock price data for a specified symbol, period, and interval to analyze market trends and performance over time.
Instructions
Fetch historical price data for a given stock symbol over a specified period and interval.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
interval | No | Data interval frequency (e.g. '1d', '1h', '1m') | 1d |
period | No | Time period to retrieve data for (e.g. '1d', '1mo', '1y') | 1mo |
symbol | Yes | The stock symbol |
Input Schema (JSON Schema)
{
"properties": {
"interval": {
"default": "1d",
"description": "Data interval frequency (e.g. '1d', '1h', '1m')",
"enum": [
"1m",
"2m",
"5m",
"15m",
"30m",
"60m",
"90m",
"1h",
"1d",
"5d",
"1wk",
"1mo",
"3mo"
],
"title": "Interval",
"type": "string"
},
"period": {
"default": "1mo",
"description": "Time period to retrieve data for (e.g. '1d', '1mo', '1y')",
"enum": [
"1d",
"5d",
"1mo",
"3mo",
"6mo",
"1y",
"2y",
"5y",
"10y",
"ytd",
"max"
],
"title": "Period",
"type": "string"
},
"symbol": {
"description": "The stock symbol",
"title": "Symbol",
"type": "string"
}
},
"required": [
"symbol"
],
"title": "get_price_historyArguments",
"type": "object"
}