Package quickfix.field

Examples of quickfix.field.Side


            this.setClientID(clOrdID.getValue().toString());
        } catch (FieldNotFound ex) {}
       
        // Side
        try {
            Side msgSide = new Side();
            message.get(msgSide);
            setSide(msgSide.getValue());
        } catch (FieldNotFound ex) {}
       
        // Symbol
        try {
            Symbol msgSymbol = new Symbol();
View Full Code Here


            status = oldOrder.getFIXStatus();
        }
       
        // Side
        try {
            Side msgSide = new Side();
            message.get(msgSide);
            setSide(msgSide.getValue());
        } catch (FieldNotFound ex) {}
       
        // Symbol
        try {
            Symbol msgSymbol = new Symbol();
View Full Code Here

            status = oldOrder.getFIXStatus();
        }
       
        // Side
        try {
            Side msgSide = new Side();
            message.get(msgSide);
            setSide(msgSide.getValue());
        } catch (FieldNotFound ex) {}
       
        // Symbol
        try {
            Symbol msgSymbol = new Symbol();
View Full Code Here

            String replySessionID = "FIX.4.2:MARKET->TRADER";
            LOG.info("Given the requestSessionID '{}' calculated the replySessionID as '{}'", requestSessionID, replySessionID);

            String orderID = exchange.getIn().getHeader("orderID", String.class);

            OrderStatusRequest request = new OrderStatusRequest(new ClOrdID("XYZ"), new Symbol("GOOG"), new Side(Side.BUY));
            request.set(new OrderID(orderID));
            
            // Look for a reply execution report back to the requester session
            // and having the requested OrderID. This is a loose correlation but the best
            // we can do with FIX 4.2. Newer versions of FIX have an optional explicit correlation field.
View Full Code Here

                new ExecID(UUID.randomUUID().toString()),
                new ExecTransType(ExecTransType.STATUS),
                new ExecType(ExecType.REJECTED),
                new OrdStatus(OrdStatus.REJECTED),
                new Symbol("GOOG"),
                new Side(Side.BUY),
                new LeavesQty(100),
                new CumQty(0),
                new AvgPx(0));
        }
View Full Code Here

    private NewOrderSingle createNewOrderMessage() {
        NewOrderSingle order = new NewOrderSingle(
            new ClOrdID("CLIENT_ORDER_ID"),
            new HandlInst('1'),
            new Symbol("GOOG"),
            new Side(Side.BUY),
            new TransactTime(new Date()),
            new OrdType(OrdType.LIMIT));
       
        order.set(new OrderQty(10));
        order.set(new Price(300.00));
View Full Code Here

TOP

Related Classes of quickfix.field.Side

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.