put
https://api.connex.trade/api/v1/trading/order
Replace order, support orderQty and limitPrice. Please note that currently replace spot order and a small part of situation with perp order are achieved through a rapid cancel and place a new order process.
Permission
- Applies to both primary user and trading portfolio's API Key.
- Permission: TRADE.
Rate Limit
- main portfolio 1200 requests per 60 seconds, sub-portfolio 20 requests per 10 seconds
Request
| Field name | Type | Necessary | Remarks |
|---|---|---|---|
| orderId | String | Y | Order ID |
| replaceQty | String | N | Replace order qty |
| replacePrice | String | N | Replace order price |
| syncMode | String | N | API synchronous validation or asynchronous validation(required "true" or "false"); default "false" |
Response
| Field name | Type | Remarks |
|---|---|---|
| orderId | String | Same order ID |
| orderState | String | order State |
