Modify contract order parameters
Name | Type | Description | Notes |
---|---|---|---|
order_id | int | Order id, order_id and text must contain at least one | [optional] |
text | str | User-defined order text, at least one of order_id and text must be passed | [optional] |
size | int | The new order size, including the executed order size. - If it is less than or equal to the executed quantity, the order will be cancelled. - The new order direction must be consistent with the original one. - The size of the closing order cannot be modified. - For orders that only reduce positions, if the size is increased, other orders that only reduce positions may be kicked out. - If the price is not modified, reducing the size will not affect the depth of the queue, and increasing the size will place it at the end of the current price. | [optional] |
price | str | New order price. | [optional] |
amend_text | str | Custom info during amending order | [optional] |