AmendOrderReq
Server-assigned order id of the order to amend. Required if clOrderId is not provided.
Client-assigned order id of the order to amend. Required if orderId is not provided.
Trading pair symbol of the order to amend.
Which field to amend: PRICE, SIZE, TRIGGER_PRICE, or ALL.
Possible values: [PRICE, SIZE, TRIGGER_PRICE, ALL]
New order size in number of contracts. Required when amendType is SIZE, or ALL when combined with orderPrice.
New limit price. Required when amendType is PRICE (unless slide is true) or ALL when combined with orderSize.
New trigger price. Required when amendType is TRIGGER_PRICE.
If true and amendType is PRICE, the price is slid to the best available price instead of being taken from orderPrice.
If true, orderSize is treated as the desired total original size rather than an incremental change.
{
"orderId": "string",
"clOrderId": "string",
"symbol": "string",
"amendType": "PRICE",
"orderSize": 0,
"orderPrice": 0,
"triggerPrice": 0,
"slide": true,
"totalAmountMode": true
}