Package com.opengamma.financial.filtering

Examples of com.opengamma.financial.filtering.PortfolioFilter


   * @param portfolio a portfolio containing a sample of asset class instances
   */
  public void processAvailablePortfolioOutputs(final Portfolio portfolio) {
    final Portfolio filtered;
    synchronized (_securityTypePortfolioFilter) {
      filtered = new PortfolioFilter(_securityTypePortfolioFilter).filter(portfolio);
    }
    if (filtered.getRootNode().getChildNodes().isEmpty() && filtered.getRootNode().getPositions().isEmpty()) {
      s_logger.debug("Ignoring {} ({})", portfolio.getName(), portfolio.getUniqueId());
    } else {
      s_logger.info("Calculating available outputs from {} ({})", portfolio.getName(), portfolio.getUniqueId());
View Full Code Here

TOP

Related Classes of com.opengamma.financial.filtering.PortfolioFilter

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.