in common/src/main/java/deltix/connector/common/util/DefaultRequestValidator.java [42:57]
public void validateSubmit(final OrderNewRequest request) {
if (sides != null && !sides.isEmpty() && !sides.contains(request.getSide()))
throw new InvalidOrderException("Unsupported order side: " + request.getSide());
if (timeInForces != null && !timeInForces.isEmpty() && !timeInForces.contains(request.getTimeInForce()))
throw new InvalidOrderException("Unsupported Time In Force: " + request.getTimeInForce());
if (orderTypes != null && !orderTypes.isEmpty() && !orderTypes.contains(request.getOrderType()))
throw new InvalidOrderException("Unsupported order type: " + request.getOrderType());
if (!displayQtyAllowed && request.hasDisplayQuantity())
throw new InvalidOrderException("Display quantity is not allowed");
if (!minQtyAllowed && request.hasMinQuantity())
throw new InvalidOrderException("Minimum quantity is not allowed");
}