get_index_chart_data
Retrieve spot or index OHLC candle data for a currency across a specified time range and candle period to build charts and analyze market trends.
Instructions
Get spot/index OHLC candle data for a currency.
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": {
"currency": "<currency>",
"start_timestamp": "<start_timestamp>",
"end_timestamp": "<end_timestamp>",
"period": "<period>"
},
"name": "get_index_chart_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | Candle period in seconds (60, 300, 900, 3600, 14400, 86400, 604800) | |
| currency | Yes | Currency (ETH, BTC) | |
| end_timestamp | Yes | End time (seconds) | |
| start_timestamp | Yes | Start time (seconds) |