dzengi_update_order
Update an existing order's leverage protection parameters such as stop loss, take profit, or trailing stop. This mutation is final and irreversible; verify account results before retrying.
Instructions
Update leverage-order protection with a financial side effect. This mutation is sent once; an unknown outcome requires account reconciliation before any retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| confirm | Yes | ||
| orderId | Yes | ||
| newPrice | No | ||
| stopLoss | No | ||
| takeProfit | No | ||
| stopDistance | No | ||
| profitDistance | No | ||
| clientRequestId | Yes | ||
| expireTimestamp | No | ||
| trailingStopLoss | No | ||
| guaranteedStopLoss | No |