Skip to main content
Glama

IG Trading MCP

by kea0811

ig_close_position

Close an open trading position by specifying the deal ID. Facilitates efficient position management within the IG Trading MCP server for forex, indices, and commodities.

Instructions

Close an open position

Input Schema

NameRequiredDescriptionDefault
dealIdYesDeal ID of the position to close

Input Schema (JSON Schema)

{ "properties": { "dealId": { "description": "Deal ID of the position to close", "type": "string" } }, "required": [ "dealId" ], "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