We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c235cda + 0c802c6 commit 116cf70Copy full SHA for 116cf70
1 file changed
ql/pricingengines/swaption/blackswaptionengine.hpp
@@ -267,6 +267,7 @@ namespace QuantLib {
267
}
268
results_.additionalResults["strike"] = strike;
269
results_.additionalResults["atmForward"] = atmForward;
270
+ results_.additionalResults["underlyingNPV"] = swap ? swap->NPV() : swapOis->NPV();
271
272
Real annuity;
273
if (arguments_.settlementType == Settlement::Physical ||
0 commit comments