positions.close
Close a copy trading position by providing its trade ID. In live mode, places a sell order on Polymarket. In preview mode, marks the position as closed in the database. Specify reason like 'manual', 'stop_loss', or 'take_profit'.
Instructions
Manually close a copy trading position by trade ID. In live mode, places a sell order on Polymarket. In preview mode, marks the position as closed in the database. Use get_positions to find the trade_id. Pro feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trade_id | Yes | ID of the trade/position to close (from get_positions) | |
| reason | No | Reason for closing (e.g. 'manual', 'stop_loss', 'take_profit') | manual |