25#ifndef quantext_cross_ccy_fix_float_swap_helper_hpp
26#define quantext_cross_ccy_fix_float_swap_helper_hpp
28#include <ql/termstructures/yield/ratehelpers.hpp>
42 const QuantLib::Handle<QuantLib::Quote>& spotFx, QuantLib::Natural settlementDays,
43 const QuantLib::Calendar& paymentCalendar,
44 QuantLib::BusinessDayConvention paymentConvention,
const QuantLib::Period& tenor,
45 const QuantLib::Currency& fixedCurrency, QuantLib::Frequency fixedFrequency,
46 QuantLib::BusinessDayConvention fixedConvention,
47 const QuantLib::DayCounter& fixedDayCount,
48 const QuantLib::ext::shared_ptr<QuantLib::IborIndex>& index,
49 const QuantLib::Handle<QuantLib::YieldTermStructure>& floatDiscount,
50 const Handle<Quote>& spread = Handle<Quote>(),
bool endOfMonth =
false);
65 QuantLib::ext::shared_ptr<CrossCcyFixFloatSwap>
swap()
const {
return swap_; }
70 void accept(QuantLib::AcyclicVisitor&)
override;
79 QuantLib::Handle<QuantLib::Quote>
spotFx_;
88 QuantLib::ext::shared_ptr<QuantLib::IborIndex>
index_;
90 QuantLib::Handle<QuantLib::Quote>
spread_;
93 QuantLib::ext::shared_ptr<CrossCcyFixFloatSwap>
swap_;
Cross currency fix vs. float swap helper.
QuantLib::DayCounter fixedDayCount_
QuantLib::Handle< QuantLib::Quote > spotFx_
QuantLib::Frequency fixedFrequency_
QuantLib::BusinessDayConvention paymentConvention_
QuantLib::Handle< QuantLib::Quote > spread_
void accept(QuantLib::AcyclicVisitor &) override
QuantLib::ext::shared_ptr< CrossCcyFixFloatSwap > swap() const
QuantLib::RelinkableHandle< QuantLib::YieldTermStructure > termStructureHandle_
QuantLib::Currency fixedCurrency_
QuantLib::Natural settlementDays_
void initializeDates() override
QuantLib::Real impliedQuote() const override
QuantLib::Calendar paymentCalendar_
QuantLib::BusinessDayConvention fixedConvention_
QuantLib::ext::shared_ptr< CrossCcyFixFloatSwap > swap_
void setTermStructure(QuantLib::YieldTermStructure *) override
QuantLib::Handle< QuantLib::YieldTermStructure > floatDiscount_
QuantLib::ext::shared_ptr< QuantLib::IborIndex > index_
Cross currency fixed vs float swap instrument.