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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientRequestId": "<clientRequestId>",
"confirm": "<confirm>",
"symbol": "<symbol>",
"orderId": "<orderId>"
},
"name": "dzengi_update_order"
}
}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 |