List<MarketDataSpecification> marketData = properties.getMarketData();
if (marketData == null || marketData.isEmpty()) {
marketData = Collections.<MarketDataSpecification>singletonList(MarketData.live());
}
MarketDataAvailabilityProvider availabilityProvider = new SnapshottingViewExecutionDataProvider(marketDataUser, marketData, resolver).getAvailabilityProvider();
builder.setMarketDataAvailabilityProvider(availabilityProvider);
final ResolutionFailureAccumulator resolutionFailureAccumulator = new ResolutionFailureAccumulator();
builder.setResolutionFailureListener(resolutionFailureAccumulator);
builder.setDisableFailureReporting(false);
for (final ValueRequirement requirement : properties.getRequirements()) {