Modify Order via WebSocket
To modify orders on Rails platform, use the WebSocket API and subscribe to the Order Creation Stream. The specifications and behavior remain the same.Order Modification Workflow
Order modification is done by submitting a Modify Order request via the Order Creation Stream. You will receive two responses in sequence:- Acknowledgment: Confirms the request was received and validates basic parameters. The
orderis the original, nowmodifying. - Confirmation: The original order has been cancelled and its replacement, with the updated parameters and a new
orderId, is on the book. Theorderis the replacement.
An error response in place of the confirmation means nothing changed: the original order stays on the book as it was. Use the
clientRequestId to correlate the acknowledgment, the confirmation, and any error response for a single request.