#
Reference: Order Response Types
The tables below provide detailed reference for specific validation scenarios and their responses.
#
New Orders
#
Stateless validation
Order requests with below errors are validated and rejected by the gateway. They do not send any request to the engine, and do not create an order or execution. They result in either 400 (invalid input) or 401 (unauthorized)
#
Stateful validation
Order requests with below errors are validated causing a command to be sent to the engine. They are then rejected by the engine. The engine sends an immediate rejection and does not create an order, nor does it create an execution.
#
Market validation
Order requests below are valid and result in a new order being created and subsequently canceled
#
Amends
#
Stateless validation
Amend requests with below errors are validated and rejected by the gateway. They do not send any command to the engine. They result in either 400 (invalid input) or 401 (unauthorized)
#
Stateful validation
Amend requests with below errors are validated and rejected by the engine. The engine sends an immediate rejection and does not amend the order.
#
Market validation
Amend requests below are valid and result in an order being amended and subsequently cancelled
#
Cancels
#
Stateless validation
Cancel requests with below errors are validated and rejected by the gateway. They do not send any request to the engine. They result in either 400 (invalid input) or 401 (unauthorized)
#
Stateful validation
Cancel requests with below errors are validated and rejected by the engine. The engine sends an error for the impacted order ids but could still proceed to cancel other valid order ids in the same cancel request