25#ifndef quantext_discounting_fxforward_engine_delta_gamma_hpp
26#define quantext_discounting_fxforward_engine_delta_gamma_hpp
28#include <ql/math/matrix.hpp>
29#include <ql/termstructures/yieldtermstructure.hpp>
83 const Currency&
forCcy,
const Handle<YieldTermStructure>&
forCurve,
84 const Handle<Quote>&
spotFx,
85 const std::vector<Time>& bucketTimes = std::vector<Time>(),
86 const bool computeDelta =
false,
const bool computeGamma =
false,
87 const bool linearInZero =
true,
88 boost::optional<bool> includeSettlementDateFlows = boost::none,
89 const Date& settlementDate = Date(),
const Date& npvDate = Date(),
90 const bool applySimmExemptions =
false);
Discounting FX Forward Engine providing analytical deltas and gammas.
const Handle< YieldTermStructure > & forCurve() const
const std::vector< Time > bucketTimes_
boost::optional< bool > includeSettlementDateFlows_
void calculate() const override
bool applySimmExemptions_
const Handle< YieldTermStructure > & domCurve() const
Handle< YieldTermStructure > forCurve_
const Currency & forCcy() const
const Currency & domCcy() const
Handle< YieldTermStructure > domCurve_
const Handle< Quote > & spotFx() const
defaultable fxforward instrument