get_candle_data
Fetch historical OHLCV candle data for a symbol using exchange, symbol token, interval, and date range. Supports intervals from one minute to one day.
Instructions
Get historical OHLCV candle data for a symbol. Intervals: ONE_MINUTE, FIVE_MINUTE, FIFTEEN_MINUTE, THIRTY_MINUTE, ONE_HOUR, ONE_DAY.
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": {
"exchange": "<exchange>",
"symboltoken": "<symboltoken>",
"interval": "<interval>",
"fromdate": "<fromdate>",
"todate": "<todate>"
},
"name": "get_candle_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| todate | Yes | End date-time (YYYY-MM-DD HH:mm) | |
| exchange | Yes | Exchange | |
| fromdate | Yes | Start date-time (YYYY-MM-DD HH:mm) | |
| interval | Yes | Candle interval | |
| symboltoken | Yes | Symbol token |