Package org.archfirst.bfoms.domain.account.brokerage.order

Examples of org.archfirst.bfoms.domain.account.brokerage.order.OrderCompliance


        Order order = new Order(params);
        OrderEstimate orderEstimate = order.calculateOrderEstimate(marketDataService);

        // Determine account level compliance
        if (orderEstimate.getCompliance() == null) {
            OrderCompliance compliance = (order.getSide() == OrderSide.Buy) ?
                    calculateBuyOrderCompliance(order, orderEstimate, marketDataService) :
                    calculateSellOrderCompliance(order);
            orderEstimate.setCompliance(compliance);
        }
View Full Code Here

TOP

Related Classes of org.archfirst.bfoms.domain.account.brokerage.order.OrderCompliance

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.