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

Examples of org.archfirst.bfoms.domain.account.brokerage.Trade


                            executionReport.getLastPrice()));
        }
       
        // If order is closed and all executions received and something was traded,
        // then return a trade
        Trade trade = null;
        if (isClosed() &&
            (this.cumQty.eq(getCumQtyOfExecutions())) &&
            (this.cumQty.gt(DecimalQuantity.ZERO))) {
           
            trade = new Trade(
                    new DateTime(),
                    this.side,
                    this.symbol,
                    this.getCumQty(),
                    this.getTotalPriceOfExecutions(),
View Full Code Here

TOP

Related Classes of org.archfirst.bfoms.domain.account.brokerage.Trade

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.