Package quickfix.field

Examples of quickfix.field.CxlRejResponseTo


            new quickfix.fix44.OrderCancelReject(
                    new OrderID(order.getId().toString()),
                    new ClOrdID(order.getClientOrderId()),
                    new OrigClOrdID(order.getClientOrderId()),
                    OrderStatusConverter.toFix(order.getStatus()),
                    new CxlRejResponseTo(CxlRejResponseTo.ORDER_CANCEL_REQUEST));

        logger.debug("Sending message:\n{}", FixFormatter.format(fixMessage));
        return fixMessage.toString();
    }
View Full Code Here


        // OrdStatus (39) Status as a result of this report
        if ( order.getStatus().equals("<UNKNOWN>") )
            order.setStatus(OrdStatus.NEW);
        OrdStatus ordStatus = new OrdStatus(order.getFIXStatus());
       
        CxlRejResponseTo responseTo = new CxlRejResponseTo();
        if ( cancel ) {
            responseTo.setValue(CxlRejResponseTo.ORDER_CANCEL_REQUEST);
        } else {
            responseTo.setValue(CxlRejResponseTo.ORDER_CANCEL_REPLACE_REQUEST);
        }
       
        // Construct OrderCancelReject message from required fields
        quickfix.fix42.OrderCancelReject rejectMessage =
                 new quickfix.fix42.OrderCancelReject(
View Full Code Here

TOP

Related Classes of quickfix.field.CxlRejResponseTo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.