Package org.archfirst.bfoms.domain.account

Examples of org.archfirst.bfoms.domain.account.InvalidSymbolException


        BrokerageAccount account =  checkAccountAuthorization(
                getUser(username), accountId, BrokerageAccountPermission.Trade);

        // Check if the symbol is valid
        if (this.referenceDataService.lookup(params.getSymbol()) == null) {
            throw new InvalidSymbolException();
        }
       
        // Place order
        Order order = account.placeOrder(params, marketDataService);
        exchangeTradingService.placeOrder(order);
View Full Code Here

TOP

Related Classes of org.archfirst.bfoms.domain.account.InvalidSymbolException

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.