get_index_candles
Retrieve OHLCV candlestick data for major stock indices like US30, SPX, and NASDAQ. Specify interval and date range to analyze historical price movements.
Instructions
Get OHLCV candles for a stock index.
Supported symbols: US30 (Dow Jones), SPX (S&P 500), NASDAQ
Args: symbol: Index symbol (e.g., US30, SPX, NASDAQ) interval: Candle interval - 1d, 1wk, 1mo range: Date range - 5d, 1mo, 3mo, 6mo, 1y
Returns: OHLCV candlestick data for the index
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": {
"symbol": "<symbol>"
},
"name": "get_index_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | 1mo | |
| symbol | Yes | ||
| interval | No | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |