Skip to main content
Glama

IG Trading MCP

by kea0811

ig_get_historical_prices

Retrieve historical market price data for specific instruments using the market epic code, time resolution, and date range. Analyze trends and make informed trading decisions with accurate historical insights.

Instructions

Get historical price data

Input Schema

NameRequiredDescriptionDefault
epicYesMarket epic code
fromNoStart date/time (YYYY-MM-DDTHH:MM:SS)
maxNoMaximum number of data points
resolutionYesTime resolution
toNoEnd date/time (YYYY-MM-DDTHH:MM:SS)

Input Schema (JSON Schema)

{ "properties": { "epic": { "description": "Market epic code", "type": "string" }, "from": { "description": "Start date/time (YYYY-MM-DDTHH:MM:SS)", "type": "string" }, "max": { "default": 10, "description": "Maximum number of data points", "type": "number" }, "resolution": { "description": "Time resolution", "enum": [ "SECOND", "MINUTE", "MINUTE_2", "MINUTE_3", "MINUTE_5", "MINUTE_10", "MINUTE_15", "MINUTE_30", "HOUR", "HOUR_2", "HOUR_3", "HOUR_4", "DAY", "WEEK", "MONTH" ], "type": "string" }, "to": { "description": "End date/time (YYYY-MM-DDTHH:MM:SS)", "type": "string" } }, "required": [ "epic", "resolution" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kea0811/ig-trading-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server