Package com.activequant.domainmodel.trade.event

Examples of com.activequant.domainmodel.trade.event.OrderFillEvent


        IOrderTracker trck = getOrderTracker(order);
        if (trck == null)
            return;
        // can only handle our own virtual trackers.
        if (trck instanceof VirtualOrderTracker) {
            OrderFillEvent ofe = new OrderFillEvent();
            ofe.setCreationTimeStamp(currentExchangeTime());
            ofe.setFillAmount(quantity);
            ofe.setFillPrice(price);
            ((VirtualOrderTracker) trck).getEvent().fire(ofe);

            //
            if (order instanceof LimitOrder) {
                LimitOrder lo = (LimitOrder) order;
View Full Code Here

TOP

Related Classes of com.activequant.domainmodel.trade.event.OrderFillEvent

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.