Package quickfix.field

Examples of quickfix.field.TransactTime


        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


        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

        logger.debug("Generating NewOrderSingle: {}", order);

        NewOrderSingle fixMessage = new NewOrderSingle(
                ClOrdIDConverter.toFix(getBrokerId(), order.getId()),
                OrderSideConverter.toFix(order.getSide()),
                new TransactTime(order.getCreationTime().toDate()),
                OrderTypeConverter.toFix(order.getType()));

        fixMessage.set(InstrumentConverter.toFix(order.getSymbol()));
        fixMessage.set(OrderQuantityConverter.toFix(order.getQuantity()));
        if (order.getLimitPrice() != null) {
View Full Code Here

        OrderCancelRequest fixMessage = new OrderCancelRequest(
                OrigClOrdIDConverter.toFix(getBrokerId(), order.getId()),
                ClOrdIDConverter.toFix(getBrokerId(), order.getId()),
                OrderSideConverter.toFix(order.getSide()),
                new TransactTime(new Date()));

        fixMessage.set(InstrumentConverter.toFix(order.getSymbol()));
        fixMessage.set(OrderQuantityConverter.toFix(order.getQuantity()));
       
        logger.debug("Sending message:\n{}", FixFormatter.format(fixMessage));
View Full Code Here

        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.TransactTime

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.