close_symbol
Close all trading positions for a specified symbol using the XBTFX MCP Trading Server. This action requires user confirmation before execution.
Instructions
Close all positions for a specific symbol. Destructive — confirm with user first. Costs 10 weight.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol to close all positions for, e.g. EURUSD | |
| comment | No | Applied to all close operations | |
| idempotency_key | No | Unique key to prevent duplicate. Auto-generated if omitted. |