return new ValueSpecification(ValueRequirementNames.YIELD_CURVE_NODE_SENSITIVITIES, target.toSpecification(), properties);
}
@Override
protected ValueSpecification getValueSpecification(final ComputationTarget target, final String curveName, final String curveCalculationConfig, final String surfaceName) {
final EquityVarianceSwapSecurity security = (EquityVarianceSwapSecurity) target.getSecurity();
final ValueProperties properties = createValueProperties()
.with(ValuePropertyNames.CURVE, curveName)
.with(ValuePropertyNames.CURVE_CALCULATION_CONFIG, curveCalculationConfig)
.with(ValuePropertyNames.SURFACE, surfaceName)
.with(ValuePropertyNames.CURVE_CURRENCY, security.getCurrency().getCode())
.with(ValuePropertyNames.CURRENCY, security.getCurrency().getCode())
.with(ValuePropertyNames.CALCULATION_METHOD, CALCULATION_METHOD)
.get();
return new ValueSpecification(ValueRequirementNames.YIELD_CURVE_NODE_SENSITIVITIES, target.toSpecification(), properties);
}