Skip to main content
Glama

IG Trading MCP

by kea0811

ig_create_position

Create a new trading position on IG Trading by specifying market epic, direction, size, currency, expiry, order type, and time in force. Set stop loss, take profit, and guaranteed stop options for risk management.

Instructions

Create a new trading position

Input Schema

NameRequiredDescriptionDefault
currencyCodeYesCurrency code (e.g., GBP, USD)
directionYesTrade direction
epicYesMarket epic code
expiryYesContract expiry (e.g., DFB for daily funded bet)
forceOpenNoForce open a new position
guaranteedStopNoUse guaranteed stop
levelNoPrice level (required for LIMIT orders)
limitLevelNoTake profit level
orderTypeYesOrder type
sizeYesPosition size
stopLevelNoStop loss level
timeInForceYesTime in force

Input Schema (JSON Schema)

{ "properties": { "currencyCode": { "description": "Currency code (e.g., GBP, USD)", "type": "string" }, "direction": { "description": "Trade direction", "enum": [ "BUY", "SELL" ], "type": "string" }, "epic": { "description": "Market epic code", "type": "string" }, "expiry": { "description": "Contract expiry (e.g., DFB for daily funded bet)", "type": "string" }, "forceOpen": { "default": true, "description": "Force open a new position", "type": "boolean" }, "guaranteedStop": { "default": false, "description": "Use guaranteed stop", "type": "boolean" }, "level": { "description": "Price level (required for LIMIT orders)", "type": "number" }, "limitLevel": { "description": "Take profit level", "type": "number" }, "orderType": { "description": "Order type", "enum": [ "MARKET", "LIMIT" ], "type": "string" }, "size": { "description": "Position size", "type": "number" }, "stopLevel": { "description": "Stop loss level", "type": "number" }, "timeInForce": { "description": "Time in force", "enum": [ "FILL_OR_KILL", "EXECUTE_AND_ELIMINATE" ], "type": "string" } }, "required": [ "epic", "direction", "size", "currencyCode", "expiry", "orderType", "timeInForce" ], "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