25#include <ql/math/array.hpp>
26#include <ql/patterns/observable.hpp>
29class YieldTermStructure;
48 FdmQuantoHelper(
const ext::shared_ptr<YieldTermStructure>& rTS,
const ext::shared_ptr<YieldTermStructure>& fTS,
49 const ext::shared_ptr<BlackVolTermStructure>& fxVolTS,
const Real equityFxCorrelation,
50 const Real fxStrike, Real initialFxSpot = Null<Real>(),
const bool discounting =
true,
51 const bool ensureNonNegativeForwardVariance =
false);
57 const ext::shared_ptr<YieldTermStructure>
rTS_,
fTS_;
58 const ext::shared_ptr<BlackVolTermStructure>
fxVolTS_;
const bool ensureNonNegativeForwardVariance_
const ext::shared_ptr< YieldTermStructure > fTS_
const ext::shared_ptr< BlackVolTermStructure > fxVolTS_
const Real equityFxCorrelation_
const ext::shared_ptr< YieldTermStructure > rTS_
const Real initialFxSpot_
Rate quantoAdjustment(Volatility equityVol, Time t1, Time t2) const