#include <qle/instruments/crossccyfixfloatswap.hpp>
Classes | |
class | arguments |
class | results |
Public Types | |
enum | Type { Receiver = -1 , Payer = 1 } |
Public Member Functions | |
Constructors | |
CrossCcyFixFloatSwap (Type type, QuantLib::Real fixedNominal, const QuantLib::Currency &fixedCurrency, const QuantLib::Schedule &fixedSchedule, QuantLib::Rate fixedRate, const QuantLib::DayCounter &fixedDayCount, QuantLib::BusinessDayConvention fixedPaymentBdc, QuantLib::Natural fixedPaymentLag, const QuantLib::Calendar &fixedPaymentCalendar, QuantLib::Real floatNominal, const QuantLib::Currency &floatCurrency, const QuantLib::Schedule &floatSchedule, const QuantLib::ext::shared_ptr< QuantLib::IborIndex > &floatIndex, QuantLib::Spread floatSpread, QuantLib::BusinessDayConvention floatPaymentBdc, QuantLib::Natural floatPaymentLag, const QuantLib::Calendar &floatPaymentCalendar) | |
Detailed constructor. More... | |
Inspectors | |
Type | type () const |
QuantLib::Real | fixedNominal () const |
const QuantLib::Currency & | fixedCurrency () const |
const QuantLib::Schedule & | fixedSchedule () const |
QuantLib::Rate | fixedRate () const |
const QuantLib::DayCounter & | fixedDayCount () const |
QuantLib::BusinessDayConvention | fixedPaymentBdc () const |
QuantLib::Natural | fixedPaymentLag () const |
const QuantLib::Calendar & | fixedPaymentCalendar () const |
QuantLib::Real | floatNominal () const |
const QuantLib::Currency & | floatCurrency () const |
const QuantLib::Schedule & | floatSchedule () const |
const QuantLib::ext::shared_ptr< QuantLib::IborIndex > & | floatIndex () const |
QuantLib::Rate | floatSpread () const |
QuantLib::BusinessDayConvention | floatPaymentBdc () const |
QuantLib::Natural | floatPaymentLag () const |
const QuantLib::Calendar & | floatPaymentCalendar () const |
Additional interface | |
QuantLib::Rate | fairFixedRate () const |
QuantLib::Spread | fairSpread () const |
Public Member Functions inherited from CrossCcySwap | |
const Currency & | legCurrency (Size j) const |
Real | inCcyLegBPS (Size j) const |
Real | inCcyLegNPV (Size j) const |
DiscountFactor | npvDateDiscounts (Size j) const |
void | setupArguments (PricingEngine::arguments *args) const override |
void | fetchResults (const PricingEngine::results *) const override |
CrossCcySwap (const Leg &firstLeg, const Currency &firstLegCcy, const Leg &secondLeg, const Currency &secondLegCcy) | |
First leg is paid and the second is received. More... | |
CrossCcySwap (const std::vector< Leg > &legs, const std::vector< bool > &payer, const std::vector< Currency > ¤cies) | |
Instrument interface | |
Type | type_ |
QuantLib::Real | fixedNominal_ |
QuantLib::Currency | fixedCurrency_ |
QuantLib::Schedule | fixedSchedule_ |
QuantLib::Rate | fixedRate_ |
QuantLib::DayCounter | fixedDayCount_ |
QuantLib::BusinessDayConvention | fixedPaymentBdc_ |
QuantLib::Natural | fixedPaymentLag_ |
QuantLib::Calendar | fixedPaymentCalendar_ |
QuantLib::Real | floatNominal_ |
QuantLib::Currency | floatCurrency_ |
QuantLib::Schedule | floatSchedule_ |
QuantLib::ext::shared_ptr< QuantLib::IborIndex > | floatIndex_ |
QuantLib::Spread | floatSpread_ |
QuantLib::BusinessDayConvention | floatPaymentBdc_ |
QuantLib::Natural | floatPaymentLag_ |
QuantLib::Calendar | floatPaymentCalendar_ |
QuantLib::Rate | fairFixedRate_ |
QuantLib::Spread | fairSpread_ |
void | setupArguments (QuantLib::PricingEngine::arguments *a) const override |
void | fetchResults (const QuantLib::PricingEngine::results *r) const override |
void | setupExpired () const override |
Additional Inherited Members | |
Protected Member Functions inherited from CrossCcySwap | |
void | setupExpired () const override |
CrossCcySwap (Size legs) | |
Protected Attributes inherited from CrossCcySwap | |
std::vector< Currency > | currencies_ |
Cross currency fixed vs float swap
Definition at line 36 of file crossccyfixfloatswap.hpp.
enum Type |
CrossCcyFixFloatSwap | ( | Type | type, |
QuantLib::Real | fixedNominal, | ||
const QuantLib::Currency & | fixedCurrency, | ||
const QuantLib::Schedule & | fixedSchedule, | ||
QuantLib::Rate | fixedRate, | ||
const QuantLib::DayCounter & | fixedDayCount, | ||
QuantLib::BusinessDayConvention | fixedPaymentBdc, | ||
QuantLib::Natural | fixedPaymentLag, | ||
const QuantLib::Calendar & | fixedPaymentCalendar, | ||
QuantLib::Real | floatNominal, | ||
const QuantLib::Currency & | floatCurrency, | ||
const QuantLib::Schedule & | floatSchedule, | ||
const QuantLib::ext::shared_ptr< QuantLib::IborIndex > & | floatIndex, | ||
QuantLib::Spread | floatSpread, | ||
QuantLib::BusinessDayConvention | floatPaymentBdc, | ||
QuantLib::Natural | floatPaymentLag, | ||
const QuantLib::Calendar & | floatPaymentCalendar | ||
) |
Detailed constructor.
Definition at line 28 of file crossccyfixfloatswap.cpp.
|
override |
Definition at line 106 of file crossccyfixfloatswap.cpp.
|
override |
Definition at line 114 of file crossccyfixfloatswap.cpp.
Type type | ( | ) | const |
Definition at line 64 of file crossccyfixfloatswap.hpp.
QuantLib::Real fixedNominal | ( | ) | const |
Definition at line 66 of file crossccyfixfloatswap.hpp.
const QuantLib::Currency & fixedCurrency | ( | ) | const |
Definition at line 67 of file crossccyfixfloatswap.hpp.
const QuantLib::Schedule & fixedSchedule | ( | ) | const |
Definition at line 68 of file crossccyfixfloatswap.hpp.
QuantLib::Rate fixedRate | ( | ) | const |
Definition at line 69 of file crossccyfixfloatswap.hpp.
const QuantLib::DayCounter & fixedDayCount | ( | ) | const |
Definition at line 70 of file crossccyfixfloatswap.hpp.
QuantLib::BusinessDayConvention fixedPaymentBdc | ( | ) | const |
Definition at line 71 of file crossccyfixfloatswap.hpp.
QuantLib::Natural fixedPaymentLag | ( | ) | const |
const QuantLib::Calendar & fixedPaymentCalendar | ( | ) | const |
QuantLib::Real floatNominal | ( | ) | const |
Definition at line 75 of file crossccyfixfloatswap.hpp.
const QuantLib::Currency & floatCurrency | ( | ) | const |
Definition at line 76 of file crossccyfixfloatswap.hpp.
const QuantLib::Schedule & floatSchedule | ( | ) | const |
Definition at line 77 of file crossccyfixfloatswap.hpp.
const QuantLib::ext::shared_ptr< QuantLib::IborIndex > & floatIndex | ( | ) | const |
Definition at line 78 of file crossccyfixfloatswap.hpp.
QuantLib::Rate floatSpread | ( | ) | const |
Definition at line 79 of file crossccyfixfloatswap.hpp.
QuantLib::BusinessDayConvention floatPaymentBdc | ( | ) | const |
Definition at line 80 of file crossccyfixfloatswap.hpp.
QuantLib::Natural floatPaymentLag | ( | ) | const |
Definition at line 81 of file crossccyfixfloatswap.hpp.
const QuantLib::Calendar & floatPaymentCalendar | ( | ) | const |
Definition at line 82 of file crossccyfixfloatswap.hpp.
QuantLib::Rate fairFixedRate | ( | ) | const |
Definition at line 87 of file crossccyfixfloatswap.hpp.
QuantLib::Spread fairSpread | ( | ) | const |
Definition at line 93 of file crossccyfixfloatswap.hpp.
|
overrideprotected |
Definition at line 141 of file crossccyfixfloatswap.cpp.
|
private |
Definition at line 107 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 109 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 110 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 111 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 112 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 113 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 114 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 115 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 116 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 118 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 119 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 120 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 121 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 122 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 123 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 124 of file crossccyfixfloatswap.hpp.
|
private |
Definition at line 125 of file crossccyfixfloatswap.hpp.
|
mutableprivate |
Definition at line 127 of file crossccyfixfloatswap.hpp.
|
mutableprivate |
Definition at line 128 of file crossccyfixfloatswap.hpp.