Modify order
POST{BASE_URL}/orders/modify
Replaces an open order with a new quantity, limit price or time in
force. The replacement gets its own replacement_order_id; the
original order ends as replaced once the replacement is in place.
Side, instrument and position effect cannot change.
Send market so the original orig_order_id is looked up in the
right market.
Request
Responses
- 201
- 400
- 401
- 403
- 500
- 503
Replacement accepted.
The request could not be accepted, for example because a field is missing or invalid, the instrument is unknown or not tradable, buying power or position is insufficient, or the order is not allowed in the current session.
The Authorization header is missing, or the access token is invalid or expired.
The token is valid but not allowed to make this request: your client
does not have trading access (for a POST), or it cannot access the
account_number.
Unexpected server-side failure. For order requests, check the order's
status with Get order before retrying: retrying an order_id that was
already accepted is rejected as a duplicate.
The service is temporarily unavailable. Check the order's status before retrying.