QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FloatFloatSwap::arguments Class Reference

Arguments for float float swap calculation More...

#include <floatfloatswap.hpp>

+ Inheritance diagram for FloatFloatSwap::arguments:
+ Collaboration diagram for FloatFloatSwap::arguments:

Public Member Functions

 arguments ()=default
 
void validate () const override
 
- Public Member Functions inherited from Swap::arguments
void validate () const override
 
- Public Member Functions inherited from PricingEngine::arguments
virtual ~arguments ()=default
 
virtual void validate () const =0
 

Public Attributes

Swap::Type type = Swap::Receiver
 
std::vector< Realnominal1
 
std::vector< Realnominal2
 
std::vector< Dateleg1ResetDates
 
std::vector< Dateleg1FixingDates
 
std::vector< Dateleg1PayDates
 
std::vector< Dateleg2ResetDates
 
std::vector< Dateleg2FixingDates
 
std::vector< Dateleg2PayDates
 
std::vector< Realleg1Spreads
 
std::vector< Realleg2Spreads
 
std::vector< Realleg1Gearings
 
std::vector< Realleg2Gearings
 
std::vector< Realleg1CappedRates
 
std::vector< Realleg1FlooredRates
 
std::vector< Realleg2CappedRates
 
std::vector< Realleg2FlooredRates
 
std::vector< Realleg1Coupons
 
std::vector< Realleg2Coupons
 
std::vector< Realleg1AccrualTimes
 
std::vector< Realleg2AccrualTimes
 
ext::shared_ptr< InterestRateIndexindex1
 
ext::shared_ptr< InterestRateIndexindex2
 
std::vector< boolleg1IsRedemptionFlow
 
std::vector< boolleg2IsRedemptionFlow
 
- Public Attributes inherited from Swap::arguments
std::vector< Leglegs
 
std::vector< Realpayer
 

Detailed Description

Arguments for float float swap calculation

Definition at line 152 of file floatfloatswap.hpp.

Constructor & Destructor Documentation

◆ arguments()

arguments ( )
default

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Implements PricingEngine::arguments.

Reimplemented in FloatFloatSwaption::arguments.

Definition at line 533 of file floatfloatswap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ type

Definition at line 155 of file floatfloatswap.hpp.

◆ nominal1

std::vector<Real> nominal1

Definition at line 156 of file floatfloatswap.hpp.

◆ nominal2

std::vector<Real> nominal2

Definition at line 156 of file floatfloatswap.hpp.

◆ leg1ResetDates

std::vector<Date> leg1ResetDates

Definition at line 158 of file floatfloatswap.hpp.

◆ leg1FixingDates

std::vector<Date> leg1FixingDates

Definition at line 158 of file floatfloatswap.hpp.

◆ leg1PayDates

std::vector<Date> leg1PayDates

Definition at line 158 of file floatfloatswap.hpp.

◆ leg2ResetDates

std::vector<Date> leg2ResetDates

Definition at line 159 of file floatfloatswap.hpp.

◆ leg2FixingDates

std::vector<Date> leg2FixingDates

Definition at line 159 of file floatfloatswap.hpp.

◆ leg2PayDates

std::vector<Date> leg2PayDates

Definition at line 159 of file floatfloatswap.hpp.

◆ leg1Spreads

std::vector<Real> leg1Spreads

Definition at line 161 of file floatfloatswap.hpp.

◆ leg2Spreads

std::vector<Real> leg2Spreads

Definition at line 161 of file floatfloatswap.hpp.

◆ leg1Gearings

std::vector<Real> leg1Gearings

Definition at line 161 of file floatfloatswap.hpp.

◆ leg2Gearings

std::vector<Real> leg2Gearings

Definition at line 161 of file floatfloatswap.hpp.

◆ leg1CappedRates

std::vector<Real> leg1CappedRates

Definition at line 162 of file floatfloatswap.hpp.

◆ leg1FlooredRates

std::vector<Real> leg1FlooredRates

Definition at line 162 of file floatfloatswap.hpp.

◆ leg2CappedRates

std::vector<Real> leg2CappedRates

Definition at line 162 of file floatfloatswap.hpp.

◆ leg2FlooredRates

std::vector<Real> leg2FlooredRates

Definition at line 163 of file floatfloatswap.hpp.

◆ leg1Coupons

std::vector<Real> leg1Coupons

Definition at line 165 of file floatfloatswap.hpp.

◆ leg2Coupons

std::vector<Real> leg2Coupons

Definition at line 165 of file floatfloatswap.hpp.

◆ leg1AccrualTimes

std::vector<Real> leg1AccrualTimes

Definition at line 166 of file floatfloatswap.hpp.

◆ leg2AccrualTimes

std::vector<Real> leg2AccrualTimes

Definition at line 166 of file floatfloatswap.hpp.

◆ index1

ext::shared_ptr<InterestRateIndex> index1

Definition at line 168 of file floatfloatswap.hpp.

◆ index2

ext::shared_ptr<InterestRateIndex> index2

Definition at line 168 of file floatfloatswap.hpp.

◆ leg1IsRedemptionFlow

std::vector<bool> leg1IsRedemptionFlow

Definition at line 170 of file floatfloatswap.hpp.

◆ leg2IsRedemptionFlow

std::vector<bool> leg2IsRedemptionFlow

Definition at line 170 of file floatfloatswap.hpp.