Wrapper engine for the QuantLib engine to take settlement delay into account.
More...
#include <qle/pricingengines/analyticdoublebarrierengine.hpp>
Wrapper engine for the QuantLib engine to take settlement delay into account.
Definition at line 36 of file analyticdoublebarrierengine.hpp.
◆ AnalyticDoubleBarrierEngine()
◆ calculate()
Definition at line 33 of file analyticdoublebarrierengine.cpp.
33 {
34 QuantLib::AnalyticDoubleBarrierEngine::calculate();
35
36
39 Rate expiryDateDiscount =
process_->riskFreeRate()->discount(
arguments_.exercise->lastDate());
40 Rate factor = payDateDiscount / expiryDateDiscount;
42 }
43
46}
const Instrument::results * results_
Swap::arguments * arguments_
◆ process_
ext::shared_ptr<GeneralizedBlackScholesProcess> process_ |
|
private |
◆ paymentDate_