Basis Two Swap Helper. More...
#include <qle/termstructures/basistwoswaphelper.hpp>
Public Member Functions | |
BasisTwoSwapHelper (const Handle< Quote > &spread, const Period &swapTenor, const Calendar &calendar, Frequency longFixedFrequency, BusinessDayConvention longFixedConvention, const DayCounter &longFixedDayCount, const QuantLib::ext::shared_ptr< IborIndex > &longIndex, Frequency shortFixedFrequency, BusinessDayConvention shortFixedConvention, const DayCounter &shortFixedDayCount, const QuantLib::ext::shared_ptr< IborIndex > &shortIndex, bool longMinusShort=true, const Handle< YieldTermStructure > &discountingCurve=Handle< YieldTermStructure >()) | |
RateHelper interface | |
Real | impliedQuote () const override |
void | setTermStructure (YieldTermStructure *) override |
BasisTwoSwapHelper inspectors | |
QuantLib::ext::shared_ptr< VanillaSwap > | longSwap () const |
QuantLib::ext::shared_ptr< VanillaSwap > | shortSwap () const |
Visitability | |
Period | swapTenor_ |
Calendar | calendar_ |
Frequency | longFixedFrequency_ |
BusinessDayConvention | longFixedConvention_ |
DayCounter | longFixedDayCount_ |
QuantLib::ext::shared_ptr< IborIndex > | longIndex_ |
Frequency | shortFixedFrequency_ |
BusinessDayConvention | shortFixedConvention_ |
DayCounter | shortFixedDayCount_ |
QuantLib::ext::shared_ptr< IborIndex > | shortIndex_ |
bool | longMinusShort_ |
QuantLib::ext::shared_ptr< VanillaSwap > | longSwap_ |
QuantLib::ext::shared_ptr< VanillaSwap > | shortSwap_ |
RelinkableHandle< YieldTermStructure > | termStructureHandle_ |
Handle< YieldTermStructure > | discountHandle_ |
RelinkableHandle< YieldTermStructure > | discountRelinkableHandle_ |
void | accept (AcyclicVisitor &) override |
void | initializeDates () override |
Basis Two Swap Helper.
Rate helper for bootstrapping using Libor tenor basis as the difference between the fixed rate on two swaps
\ingroup termstructures
Definition at line 38 of file basistwoswaphelper.hpp.
BasisTwoSwapHelper | ( | const Handle< Quote > & | spread, |
const Period & | swapTenor, | ||
const Calendar & | calendar, | ||
Frequency | longFixedFrequency, | ||
BusinessDayConvention | longFixedConvention, | ||
const DayCounter & | longFixedDayCount, | ||
const QuantLib::ext::shared_ptr< IborIndex > & | longIndex, | ||
Frequency | shortFixedFrequency, | ||
BusinessDayConvention | shortFixedConvention, | ||
const DayCounter & | shortFixedDayCount, | ||
const QuantLib::ext::shared_ptr< IborIndex > & | shortIndex, | ||
bool | longMinusShort = true , |
||
const Handle< YieldTermStructure > & | discountingCurve = Handle<YieldTermStructure>() |
||
) |
Definition at line 27 of file basistwoswaphelper.cpp.
|
override |
Definition at line 131 of file basistwoswaphelper.cpp.
|
override |
Definition at line 116 of file basistwoswaphelper.cpp.
QuantLib::ext::shared_ptr< VanillaSwap > longSwap | ( | ) | const |
Definition at line 92 of file basistwoswaphelper.hpp.
QuantLib::ext::shared_ptr< VanillaSwap > shortSwap | ( | ) | const |
Definition at line 90 of file basistwoswaphelper.hpp.
|
override |
Definition at line 141 of file basistwoswaphelper.cpp.
|
overrideprotected |
Definition at line 69 of file basistwoswaphelper.cpp.
|
protected |
Definition at line 68 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 69 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 71 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 72 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 73 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 74 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 76 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 77 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 78 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 79 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 80 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 82 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 83 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 85 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 86 of file basistwoswaphelper.hpp.
|
protected |
Definition at line 87 of file basistwoswaphelper.hpp.