getUserPositionMaster(),
getPortfolioAggregationFunctions().getMappedFunctions());
CurrencyPairsSource currencyPairsSource = new ConfigDBCurrencyPairsSource(configSource);
// TODO should be able to configure the currency pairs
CurrencyPairs currencyPairs = currencyPairsSource.getCurrencyPairs(CurrencyPairs.DEFAULT_CURRENCY_PAIRS);
SecurityAttributeMapper blotterColumnMapper = DefaultSecurityAttributeMappings.create(currencyPairs);
AnalyticsViewManager analyticsViewManager = new AnalyticsViewManager(getViewProcessor(),
getParallelViewRecompilation(),
aggregatedViewDefManager,
getComputationTargetResolver(),
getMarketDataSpecificationRepository(),