ig_get_historical_prices
Retrieve historical OHLC prices for a specified epic, resolution, and timezone over a date range, reusing cached periods to avoid redundant data fetching.
Instructions
Get historical OHLC prices for an offset-aware range, reusing cached periods.
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": {
"epic": "<epic>",
"resolution": "<resolution>",
"from_date": "<from_date>",
"to_date": "<to_date>",
"timezone": "<timezone>"
},
"name": "ig_get_historical_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epic | Yes | ||
| to_date | Yes | ||
| timezone | Yes | ||
| from_date | Yes | ||
| resolution | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||