25#ifndef quantext_discounting_currencyswap_engine_hpp
26#define quantext_discounting_currencyswap_engine_hpp
28#include <ql/currency.hpp>
29#include <ql/handle.hpp>
30#include <ql/termstructures/yieldtermstructure.hpp>
52 const std::vector<Handle<Quote> >& fxQuotes,
const std::vector<Currency>&
currencies,
54 boost::optional<bool> includeSettlementDateFlows = boost::none,
55 Date settlementDate = Date(), Date npvDate = Date(),
56 const std::vector<Date>& spotFXSettleDateVec = std::vector<Date>());
63 Handle<YieldTermStructure>
fetchTS(Currency ccy)
const;
64 Handle<Quote>
fetchFX(Currency ccy)
const;
Discounting CurrencySwap Engine
Handle< Quote > fetchFX(Currency ccy) const
std::vector< Currency > currencies()
Handle< YieldTermStructure > fetchTS(Currency ccy) const
std::vector< Date > spotFXSettleDateVec_
boost::optional< bool > includeSettlementDateFlows_
void calculate() const override
std::vector< Handle< YieldTermStructure > > discountCurves_
std::vector< Handle< YieldTermStructure > > discountCurves()
std::vector< Currency > currencies_
std::vector< Handle< Quote > > fxQuotes_
Interest rate swap with extended interface.