ArgumentChecker.notNull(transaction, "transaction");
ArgumentChecker.notNull(black, "Black parameters");
final MultipleCurrencyMulticurveSensitivity premiumSensitivity = METHOD_PAY_FIXED.presentValueCurveSensitivity(transaction.getPremium(), black.getMulticurveProvider());
final MulticurveSensitivity securitySensitivity = METHOD_SECURITY.priceCurveSensitivity(transaction.getUnderlyingOption(), black);
return premiumSensitivity.plus(MultipleCurrencyMulticurveSensitivity.of(transaction.getCurrency(),
securitySensitivity.multipliedBy(transaction.getQuantity() * transaction.getUnderlyingOption().getUnderlyingFuture().getNotional())));
}
/**
* Computes the present value delta of a transaction (i.e. the first order derivative of the present value with respect to the bond futures price).
* @param transaction The option transaction.