24#ifndef quantext_cross_ccy_fix_float_swap_hpp
25#define quantext_cross_ccy_fix_float_swap_hpp
27#include <ql/indexes/iborindex.hpp>
28#include <ql/time/schedule.hpp>
59 void fetchResults(
const QuantLib::PricingEngine::results* r)
const override;
89 QL_REQUIRE(
fairFixedRate_ != QuantLib::Null<QuantLib::Real>(),
"Fair fixed rate is not available");
95 QL_REQUIRE(
fairSpread_ != QuantLib::Null<QuantLib::Real>(),
"Fair spread is not available");
144 void reset()
override;
void validate() const override
QuantLib::Rate fairFixedRate
QuantLib::Spread fairSpread
QuantLib::DayCounter fixedDayCount_
QuantLib::Real fixedNominal_
QuantLib::ext::shared_ptr< QuantLib::IborIndex > floatIndex_
QuantLib::Spread floatSpread_
QuantLib::Schedule fixedSchedule_
QuantLib::Rate fairFixedRate_
const QuantLib::Calendar & floatPaymentCalendar() const
const QuantLib::Currency & floatCurrency() const
QuantLib::Rate fixedRate() const
const QuantLib::Schedule & fixedSchedule() const
QuantLib::Natural floatPaymentLag() const
const QuantLib::Calendar & fixedPaymentCalendar() const
QuantLib::Real floatNominal() const
const QuantLib::DayCounter & fixedDayCount() const
QuantLib::Currency fixedCurrency_
QuantLib::Spread fairSpread_
QuantLib::Rate fairFixedRate() const
QuantLib::Real floatNominal_
void fetchResults(const QuantLib::PricingEngine::results *r) const override
QuantLib::Natural fixedPaymentLag() const
QuantLib::Real fixedNominal() const
QuantLib::BusinessDayConvention floatPaymentBdc() const
QuantLib::Currency floatCurrency_
QuantLib::Rate floatSpread() const
QuantLib::BusinessDayConvention fixedPaymentBdc() const
QuantLib::Calendar floatPaymentCalendar_
QuantLib::Schedule floatSchedule_
QuantLib::Rate fixedRate_
void setupArguments(QuantLib::PricingEngine::arguments *a) const override
void setupExpired() const override
const QuantLib::Schedule & floatSchedule() const
QuantLib::BusinessDayConvention floatPaymentBdc_
const QuantLib::ext::shared_ptr< QuantLib::IborIndex > & floatIndex() const
QuantLib::Natural floatPaymentLag_
QuantLib::Calendar fixedPaymentCalendar_
QuantLib::Natural fixedPaymentLag_
const QuantLib::Currency & fixedCurrency() const
QuantLib::BusinessDayConvention fixedPaymentBdc_
QuantLib::Spread fairSpread() const
Swap instrument with legs involving two currencies.