24#ifndef quantext_cross_ccy_fix_float_mtmreset_swap_helper_hpp
25#define quantext_cross_ccy_fix_float_mtmreset_swap_helper_hpp
27#include <ql/termstructures/yield/ratehelpers.hpp>
56 const QuantLib::Handle<QuantLib::Quote>& rate,
57 const QuantLib::Handle<QuantLib::Quote>& spotFx, QuantLib::Natural settlementDays,
58 const QuantLib::Calendar& paymentCalendar,
59 QuantLib::BusinessDayConvention paymentConvention,
const QuantLib::Period& tenor,
60 const QuantLib::Currency& fixedCurrency, QuantLib::Frequency fixedFrequency,
61 QuantLib::BusinessDayConvention fixedConvention,
62 const QuantLib::DayCounter& fixedDayCount,
63 const QuantLib::ext::shared_ptr<QuantLib::IborIndex>& index,
64 const QuantLib::Handle<QuantLib::YieldTermStructure>& floatDiscount,
65 const Handle<Quote>& spread = Handle<Quote>(),
bool endOfMonth =
false,
66 bool resetsOnFloatLeg =
true);
78 QuantLib::ext::shared_ptr<CrossCcyFixFloatMtMResetSwap>
swap()
const {
return swap_; }
82 void accept(AcyclicVisitor&)
override;
88 QuantLib::Handle<QuantLib::Quote>
spotFx_;
97 QuantLib::ext::shared_ptr<QuantLib::IborIndex>
index_;
99 QuantLib::Handle<QuantLib::Quote>
spread_;
103 QuantLib::ext::shared_ptr<CrossCcyFixFloatMtMResetSwap>
swap_;
Cross Ccy Fix Float MtM Reset Swap Rate Helper.
QuantLib::DayCounter fixedDayCount_
void setTermStructure(YieldTermStructure *) override
QuantLib::Handle< QuantLib::Quote > spotFx_
QuantLib::Frequency fixedFrequency_
QuantLib::BusinessDayConvention paymentConvention_
QuantLib::ext::shared_ptr< CrossCcyFixFloatMtMResetSwap > swap_
QuantLib::Handle< QuantLib::Quote > spread_
RelinkableHandle< YieldTermStructure > termStructureHandle_
void accept(AcyclicVisitor &) override
QuantLib::Currency fixedCurrency_
QuantLib::Natural settlementDays_
void initializeDates() override
Real impliedQuote() const override
QuantLib::Calendar paymentCalendar_
QuantLib::BusinessDayConvention fixedConvention_
QuantLib::ext::shared_ptr< CrossCcyFixFloatMtMResetSwap > swap() const
QuantLib::Handle< QuantLib::YieldTermStructure > floatDiscount_
QuantLib::ext::shared_ptr< QuantLib::IborIndex > index_
Cross currency fix float swap instrument with MTM reset.