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
NonstandardSwap::arguments Class Reference

Arguments for nonstandard swap calculation More...

#include <nonstandardswap.hpp>

+ Inheritance diagram for NonstandardSwap::arguments:
+ Collaboration diagram for NonstandardSwap::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< RealfixedNominal
 
std::vector< RealfloatingNominal
 
std::vector< DatefixedResetDates
 
std::vector< DatefixedPayDates
 
std::vector< TimefloatingAccrualTimes
 
std::vector< DatefloatingResetDates
 
std::vector< DatefloatingFixingDates
 
std::vector< DatefloatingPayDates
 
std::vector< RealfixedCoupons
 
std::vector< RealfixedRate
 
std::vector< SpreadfloatingSpreads
 
std::vector< RealfloatingGearings
 
std::vector< RealfloatingCoupons
 
ext::shared_ptr< IborIndexiborIndex
 
std::vector< boolfixedIsRedemptionFlow
 
std::vector< boolfloatingIsRedemptionFlow
 
- Public Attributes inherited from Swap::arguments
std::vector< Leglegs
 
std::vector< Realpayer
 

Detailed Description

Arguments for nonstandard swap calculation

Definition at line 126 of file nonstandardswap.hpp.

Constructor & Destructor Documentation

◆ arguments()

arguments ( )
default

Member Function Documentation

◆ validate()

void validate ( ) const
overridevirtual

Implements PricingEngine::arguments.

Reimplemented in NonstandardSwaption::arguments.

Definition at line 342 of file nonstandardswap.cpp.

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

Member Data Documentation

◆ type

Definition at line 129 of file nonstandardswap.hpp.

◆ fixedNominal

std::vector<Real> fixedNominal

Definition at line 130 of file nonstandardswap.hpp.

◆ floatingNominal

std::vector<Real> floatingNominal

Definition at line 130 of file nonstandardswap.hpp.

◆ fixedResetDates

std::vector<Date> fixedResetDates

Definition at line 132 of file nonstandardswap.hpp.

◆ fixedPayDates

std::vector<Date> fixedPayDates

Definition at line 133 of file nonstandardswap.hpp.

◆ floatingAccrualTimes

std::vector<Time> floatingAccrualTimes

Definition at line 134 of file nonstandardswap.hpp.

◆ floatingResetDates

std::vector<Date> floatingResetDates

Definition at line 135 of file nonstandardswap.hpp.

◆ floatingFixingDates

std::vector<Date> floatingFixingDates

Definition at line 136 of file nonstandardswap.hpp.

◆ floatingPayDates

std::vector<Date> floatingPayDates

Definition at line 137 of file nonstandardswap.hpp.

◆ fixedCoupons

std::vector<Real> fixedCoupons

Definition at line 139 of file nonstandardswap.hpp.

◆ fixedRate

std::vector<Real> fixedRate

Definition at line 140 of file nonstandardswap.hpp.

◆ floatingSpreads

std::vector<Spread> floatingSpreads

Definition at line 141 of file nonstandardswap.hpp.

◆ floatingGearings

std::vector<Real> floatingGearings

Definition at line 142 of file nonstandardswap.hpp.

◆ floatingCoupons

std::vector<Real> floatingCoupons

Definition at line 143 of file nonstandardswap.hpp.

◆ iborIndex

ext::shared_ptr<IborIndex> iborIndex

Definition at line 145 of file nonstandardswap.hpp.

◆ fixedIsRedemptionFlow

std::vector<bool> fixedIsRedemptionFlow

Definition at line 147 of file nonstandardswap.hpp.

◆ floatingIsRedemptionFlow

std::vector<bool> floatingIsRedemptionFlow

Definition at line 148 of file nonstandardswap.hpp.