final LegacyVanillaCDSSecurity security = (LegacyVanillaCDSSecurity) target.getSecurity();
//LegacyVanillaCreditDefaultSwapDefinition cds = _converter.visitLegacyVanillaCDSSecurity(security);
final ValueRequirement desiredValue = desiredValues.iterator().next(); // all same constraints
final String quoteConventionString = desiredValue.getConstraint(ISDAFunctionConstants.CDS_QUOTE_CONVENTION);
final StandardCDSQuotingConvention quoteConvention = StandardCDSQuotingConvention.parse(quoteConventionString);
final CdsRecoveryRateIdentifier recoveryRateIdentifier = security.accept(new CreditSecurityToRecoveryRateVisitor(
executionContext.getSecuritySource()));
Object recoveryRateObject = inputs.getValue(new ValueRequirement("PX_LAST",
ComputationTargetType.PRIMITIVE,