#include <qle/pricingengines/discountingswapenginedeltagamma.hpp>
Public Member Functions | |
NpvDeltaGammaCalculator (Handle< YieldTermStructure > discountCurve, const Real payer, Real &npv, Real &bps, const bool computeDelta, const bool computeGamma, const bool computeBPS, std::map< Date, Real > &deltaDiscount, std::map< Date, Real > &deltaForward, std::map< Date, Real > &deltaBPS, std::map< Date, Real > &gammaDiscount, std::map< std::pair< Date, Date >, Real > &gammaForward, std::map< std::pair< Date, Date >, Real > &gammaDscFwd, std::map< Date, Real > &gammaBPS, Real &fxLinkedForeignNpv, const bool excludeSimpleCashFlowsFromSensis, Real &simpleCashFlowNpv) | |
void | visit (CashFlow &c) override |
void | visit (SimpleCashFlow &c) override |
void | visit (FixedRateCoupon &c) override |
void | visit (IborCoupon &c) override |
void | visit (FloatingRateFXLinkedNotionalCoupon &c) override |
void | visit (FXLinkedCashFlow &c) override |
void | visit (QuantExt::OvernightIndexedCoupon &c) override |
Private Member Functions | |
void | processIborCoupon (FloatingRateCoupon &c) |
Private Attributes | |
Handle< YieldTermStructure > | discountCurve_ |
const Real | payer_ |
Real & | npv_ |
Real & | bps_ |
const bool | computeDelta_ |
const bool | computeGamma_ |
const bool | computeBPS_ |
std::map< Date, Real > & | deltaDiscount_ |
std::map< Date, Real > & | deltaForward_ |
std::map< Date, Real > & | deltaBPS_ |
std::map< Date, Real > & | gammaDiscount_ |
std::map< std::pair< Date, Date >, Real > & | gammaForward_ |
std::map< std::pair< Date, Date >, Real > & | gammaDscFwd_ |
std::map< Date, Real > & | gammaBPS_ |
Real & | fxLinkedForeignNpv_ |
const bool | excludeSimpleCashFlowsFromSensis_ |
Real & | simpleCashFlowNpv_ |
Definition at line 87 of file discountingswapenginedeltagamma.hpp.
NpvDeltaGammaCalculator | ( | Handle< YieldTermStructure > | discountCurve, |
const Real | payer, | ||
Real & | npv, | ||
Real & | bps, | ||
const bool | computeDelta, | ||
const bool | computeGamma, | ||
const bool | computeBPS, | ||
std::map< Date, Real > & | deltaDiscount, | ||
std::map< Date, Real > & | deltaForward, | ||
std::map< Date, Real > & | deltaBPS, | ||
std::map< Date, Real > & | gammaDiscount, | ||
std::map< std::pair< Date, Date >, Real > & | gammaForward, | ||
std::map< std::pair< Date, Date >, Real > & | gammaDscFwd, | ||
std::map< Date, Real > & | gammaBPS, | ||
Real & | fxLinkedForeignNpv, | ||
const bool | excludeSimpleCashFlowsFromSensis, | ||
Real & | simpleCashFlowNpv | ||
) |
Definition at line 36 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 51 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 64 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 75 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 163 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 165 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 177 of file discountingswapenginedeltagamma.cpp.
|
override |
Definition at line 198 of file discountingswapenginedeltagamma.cpp.
|
private |
Definition at line 98 of file discountingswapenginedeltagamma.cpp.
|
private |
Definition at line 117 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 118 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 119 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 119 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 120 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 120 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 120 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 121 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 121 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 121 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 121 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 122 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 122 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 123 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 124 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 125 of file discountingswapenginedeltagamma.hpp.
|
private |
Definition at line 126 of file discountingswapenginedeltagamma.hpp.