historical_prices
Retrieve past price data for any EPIC. Configure the time resolution and number of points to get the exact market history you need.
Instructions
Get historical prices for an EPIC. IG supports resolutions such as MINUTE, HOUR, DAY, and WEEK.
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>"
},
"name": "historical_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epic | Yes | ||
| num_points | No | ||
| resolution | No | MINUTE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||