26#ifndef quantext_discounting_currencyswap_engine_delta_hpp
27#define quantext_discounting_currencyswap_engine_delta_hpp
29#include <ql/currency.hpp>
30#include <ql/handle.hpp>
31#include <ql/math/matrix.hpp>
32#include <ql/termstructures/yieldtermstructure.hpp>
85 const std::vector<Handle<Quote>>& fxQuotes,
87 const std::vector<Time>& bucketTimes = std::vector<Time>(),
88 const bool computeDelta =
false,
const bool computeGamma =
false,
89 const bool linearInZero =
true,
const bool applySimmExemptions =
false);
96 Handle<YieldTermStructure>
fetchTS(Currency ccy)
const;
97 Handle<Quote>
fetchFX(Currency ccy)
const;
Discounting currency swap engine providing analytical deltas and gammas.
Handle< Quote > fetchFX(Currency ccy) const
const std::vector< Time > bucketTimes_
const std::vector< Handle< Quote > > fxQuotes_
const std::vector< Handle< YieldTermStructure > > discountCurves_
std::vector< Currency > currencies()
const Currency npvCurrency_
Handle< YieldTermStructure > fetchTS(Currency ccy) const
std::map< Currency, std::vector< Real >, CurrencyComparator > result_type_vector
void calculate() const override
const std::vector< Currency > currencies_
std::map< Currency, Real, CurrencyComparator > result_type_scalar
const bool applySimmExemptions_
std::vector< Handle< YieldTermStructure > > discountCurves()
std::map< Currency, Matrix, CurrencyComparator > result_type_matrix
Compare currencies by currency code.
Interest rate swap with extended interface.