Package quickfix.field

Examples of quickfix.field.ExecID


    public OrderID genOrderID() {
        return new OrderID(Integer.valueOf(++orderID).toString());
    }

    public ExecID genExecID() {
        return new ExecID(Integer.valueOf(++execID).toString());
    }
View Full Code Here


    public void onMessage( quickfix.fix42.DontKnowTrade message,
            SessionID sessionID )
      throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue {

        try {
            ExecID execID = new ExecID();
            message.get(execID);
            Execution execution =
                    executions.getExecution(execID.getValue().toString());
            execution.setDKd(true);
            executions.update();
        } catch (FieldNotFound ex) {}
    }
View Full Code Here

        // *** Required fields ***
        // OrderID (37)
        OrderID orderID = new OrderID(order.getID());
       
        // ExecID (17)
        ExecID execID = new ExecID(execution.getID());
       
        // ExecTransType (20)
        ExecTransType execTransType =
                new ExecTransType(execution.getFIXExecTranType());

View Full Code Here

        private static final Logger LOG = LoggerFactory.getLogger(MarketOrderStatusService.class);
       
        public ExecutionReport getOrderStatus(OrderStatusRequest request) throws FieldNotFound {
            LOG.info("Received order status request for orderId=" + request.getOrderID().getValue());
            return new ExecutionReport(request.getOrderID(),
                new ExecID(UUID.randomUUID().toString()),
                new ExecTransType(ExecTransType.STATUS),
                new ExecType(ExecType.REJECTED),
                new OrdStatus(OrdStatus.REJECTED),
                new Symbol("GOOG"),
                new Side(Side.BUY),
View Full Code Here

TOP

Related Classes of quickfix.field.ExecID

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.