in fix/core/src/main/java/deltix/connector/fix/FixUtil.java [76:92]
public static byte getOrderType(OrderType orderType) {
switch (orderType) {
case MARKET:
return OrdType.MARKET;
case LIMIT:
return OrdType.LIMIT;
case STOP:
return OrdType.STOP;
case STOP_LIMIT:
return OrdType.STOP_LIMIT;
}
throw new IllegalArgumentException("Unsupported order type: " + orderType);
}