get_historical_data
Fetch historical stock price data for a ticker with configurable period and interval to support charting, trend analysis, and backtesting.
Instructions
Get historical price data for a stock. Period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max. Interval: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "get_historical_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1mo | |
| ticker | Yes | ||
| interval | No | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |