throw new OpenGammaRuntimeException("Unknown aggregator '" + aggregatorName + "'");
}
aggregationFunctions.add(aggregationFunction);
}
PortfolioAggregator aggregator = new PortfolioAggregator(aggregationFunctions);
Portfolio aggregatedPortfolio = aggregator.aggregate(resolvedPortfolio);
return _portfolioSaver.savePortfolio(aggregatedPortfolio, false);
}
//-------------------------------------------------------------------------
private static class PortfolioReference {