positions.close
Close a copy trading position on Polymarket by placing a sell order (live mode) or marking it as closed (preview mode). Use the trade ID from get_positions to identify the position.
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 |