Price Chart (OHLCV)
get_chartGet historical OHLCV candlestick chart data for one or more stock symbols (comma-separated). A single symbol supports start/end absolute timestamps and returns one chart; multiple symbols return a batch of charts plus per-symbol errors (interval/range only, no start/end).
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": {
"symbols": "<symbols>",
"interval": "<interval>",
"range": "<range>"
},
"name": "get_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date as Unix timestamp (seconds). Defaults to now when `start` is set. | |
| limit | No | Maximum candles per page; omitted = curated default (25) | |
| range | Yes | Time range: 1d|5d|1mo|3mo|6mo|1y|2y|5y|10y|ytd|max (default: 1mo). Ignored when `start` is set. | |
| start | No | Start date as Unix timestamp (seconds). When provided, overrides `range`. | |
| cursor | No | Opaque continuation token from a previous response's `pageInfo.endCursor`; omitted = first page | |
| fields | No | Comma-separated list of GraphQL field names to include; omitted = curated default set | |
| symbols | Yes | One or more comma-separated ticker symbols (e.g., "AAPL" or "AAPL,MSFT,GOOG") | |
| interval | Yes | Candle interval: 1m|5m|15m|30m|1h|1d|1wk|1mo|3mo (default: 1d) |