final Trade trade = target.getTrade();
final HolidaySource holidaySource = OpenGammaExecutionContext.getHolidaySource(context);
final ConventionBundleSource conventionSource = OpenGammaExecutionContext.getConventionBundleSource(context);
final RegionSource regionSource = OpenGammaExecutionContext.getRegionSource(context);
BondTradeConverter visitor = new BondTradeConverter(new BondSecurityConverter(holidaySource, conventionSource, regionSource));
final BondFixedTransactionDefinition definition = visitor.convert(trade);
BondFixedTransaction derivative = definition.toDerivative(date, riskFreeCurveName, creditCurveName);
return CALCULATOR.presentValueFromCleanPrice(derivative, data, price);
}