Placing a new order
Fill Limits: The maximum number of fills on a single order is 2000 fills for single-leg instruments and 400 fills for combo instruments.
NewOrderRequest (100)
Request to place a new order sent by the client. The order will belong to the portfolio with which the connection was authenticated. Will be followed by aNewOrderResponse in case the order placement is successful or by a NewOrderReject in case the order placement is unsuccessful. Any immediate fills will be added to the NewOrderResponse and will NOT be sent in an OrderFilled. Any consecutive unsolicited change to the order (including fills) will be sent in an OrderFilled.
If the order aggresses and is subject to a speed bump, the NewOrderResponse is sent immediately with orderState = 4 (queued). Once the speed bump period expires and the order is entered into the book, an unsolicited OrderPlaced message is sent. See Speed Bumps for details.
Null values: Some optional fields use
NULL_LONG / NULL_QUANTITY (0x8000000000000000L) as a sentinel to indicate “not set”. For example, set displayAmount = NULL_QUANTITY to place a non-iceberg order, or limitPrice = NULL_LONG for a market order.
The table below outlines the content of field 10 (flags) of
NewOrderRequest.
NewOrderResponse (200)
Response to confirm aNewOrderRequest was successful, sent from the exchange to the client. Any immediate fills generated by the NewOrderRequest will be included in the NewOrderResponse and will NOT be sent additionally in an OrderFilled.
NewOrderReject (202)
Reject generated in case aNewOrderRequest is unsuccessful.