cancel_order
Cancel a pending Pear Protocol limit, take-profit, or stop-loss order by order ID. Does not affect already-filled portions.
Instructions
Cancel a pending Pear Protocol limit, take-profit, or stop-loss order by orderId. Does not affect already-filled portions. For TWAP orders, use cancel_twap_order. WRITE: cancels a live order. Requires PEAR_TRADE_ENABLED=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes |