force_exit_trade
Manually exit any open trade instantly, bypassing strategy exit signals. Supports full and partial sell orders.
Instructions
Manually exit (force-sell) an open trade, bypassing the strategy exit signals. Supports full and partial exits. Examples: • Close trade 42 immediately: trade_id=42 • Partial exit 50% of trade 7: trade_id=7, amount=
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trade_id | Yes | Numeric ID of the open trade to exit. Use get_open_trades to find trade IDs. | |
| order_type | No | Exit order type. Defaults to "market" for immediate execution. | |
| amount | No | Amount of the asset to sell (partial exit). Omit to close the entire position. |