public DependencyGraphBuilder createBuilder(final FunctionPriority prioritizer) {
final Instant now = Instant.now();
final DependencyGraphBuilder builder = new DependencyGraphBuilder();
builder.setMarketDataAvailabilityProvider(_liveDataAvailabilityProvider);
final FunctionCompilationContext context = new FunctionCompilationContext();
final ComputationTargetResolver targetResolver = new MapComputationTargetResolver();
context.setRawComputationTargetResolver(targetResolver);
context.setComputationTargetResolver(targetResolver.atVersionCorrection(VersionCorrection.of(now, now)));
builder.setCompilationContext(context);
final CompiledFunctionService compilationService = new CompiledFunctionService(_functionRepo, new CachingFunctionRepositoryCompiler(), context);
compilationService.initialize();
final DefaultFunctionResolver resolver;
if (prioritizer != null) {