public static OrderType getOrderType()

in fix/core/src/main/java/deltix/connector/fix/FixUtil.java [54:74]


    public static OrderType getOrderType(byte orderType) {
        switch (orderType) {
            case OrdType.MARKET:
                return OrderType.MARKET;

            case OrdType.LIMIT:
                return OrderType.LIMIT;

            case OrdType.STOP:
                return OrderType.STOP;

            case OrdType.STOP_LIMIT:
                return OrderType.STOP_LIMIT;
        }

        if (orderType != TypeConstants.BYTE_NULL) {
            throw new IllegalArgumentException("Unsupported order type: " + orderType);
        }

        return null;
    }