158159160161162163164165166
} } private BloombergExamplePortfolioGeneratorTool portfolioGeneratorTool() { final BloombergExamplePortfolioGeneratorTool tool = new BloombergExamplePortfolioGeneratorTool(); tool.setCounterPartyGenerator(new StaticNameGenerator(AbstractPortfolioGeneratorTool.DEFAULT_COUNTER_PARTY)); return tool; }