close_position
Execute a market order to close an open trading position. Requires trade ID, exchange ID, and symbol.
Instructions
Close an open trading position. WARNING: This executes a market order to close your position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Trading pair (e.g. BTC/USDT) | |
| tradeId | Yes | Trade/position ID to close | |
| exchangeId | Yes | Exchange account ID where the position is open | |
| percentage | No | Percentage of position to close (100 = full close) |