|
|
| CommodityFloatingLegData () |
| | Default constructor.
|
|
| CommodityFloatingLegData (const std::string &name, CommodityPriceType priceType, const std::vector< QuantLib::Real > &quantities, const std::vector< std::string > &quantityDates, QuantExt::CommodityQuantityFrequency commodityQuantityFrequency=QuantExt::CommodityQuantityFrequency::PerCalculationPeriod, CommodityPayRelativeTo commodityPayRelativeTo=CommodityPayRelativeTo::CalculationPeriodEndDate, const std::vector< QuantLib::Real > &spreads={}, const std::vector< std::string > &spreadDates={}, const std::vector< QuantLib::Real > &gearings={}, const std::vector< std::string > &gearingDates={}, CommodityPricingDateRule pricingDateRule=CommodityPricingDateRule::FutureExpiryDate, const std::string &pricingCalendar=std::string(), QuantLib::Natural pricingLag=0, const std::vector< std::string > &pricingDates={}, bool isAveraged=false, bool isInArrears=true, QuantLib::Integer futureMonthOffset=0, QuantLib::Natural deliveryRollDays=0, bool includePeriodEnd=true, bool excludePeriodStart=true, QuantLib::Natural hoursPerDay=QuantLib::Null< QuantLib::Natural >(), bool useBusinessDays=true, const std::string &tag=std::string(), QuantLib::Natural dailyExpiryOffset=QuantLib::Null< QuantLib::Natural >(), bool unrealisedQuantity=false, QuantLib::Natural lastNDays=QuantLib::Null< QuantLib::Natural >(), std::string fxIndex=std::string(), QuantLib::Natural avgPricePrecision=QuantLib::Null< QuantLib::Natural >()) |
| | Constructor.
|
|
const std::string & | name () const |
|
CommodityPriceType | priceType () const |
|
const std::vector< QuantLib::Real > & | quantities () const |
|
const std::vector< std::string > & | quantityDates () const |
|
QuantExt::CommodityQuantityFrequency | commodityQuantityFrequency () const |
|
CommodityPayRelativeTo | commodityPayRelativeTo () const |
|
const std::vector< QuantLib::Real > & | spreads () const |
|
const std::vector< std::string > & | spreadDates () const |
|
const std::vector< QuantLib::Real > & | gearings () const |
|
const std::vector< std::string > & | gearingDates () const |
|
CommodityPricingDateRule | pricingDateRule () const |
|
const std::string & | pricingCalendar () const |
|
QuantLib::Natural | pricingLag () const |
|
const std::vector< std::string > & | pricingDates () const |
|
bool | isAveraged () const |
|
bool | isInArrears () const |
|
QuantLib::Integer | futureMonthOffset () const |
|
QuantLib::Natural | deliveryRollDays () const |
|
bool | includePeriodEnd () const |
|
bool | excludePeriodStart () const |
|
QuantLib::Natural | hoursPerDay () const |
|
bool | useBusinessDays () const |
|
const std::string & | tag () const |
|
QuantLib::Natural | dailyExpiryOffset () const |
|
bool | unrealisedQuantity () const |
|
QuantLib::Natural | lastNDays () const |
|
std::string const & | fxIndex () const |
|
QuantLib::Natural | avgPricePrecision () const |
|
std::string | foreignCurrency () const |
|
void | setForeignCurrency (std::string foreignCurrency) |
|
| LegAdditionalData (const LegType &legType, const string &legNodeName, bool isSimmPlainVanillaIrLeg) |
|
| LegAdditionalData (const LegType &legType, bool isSimmPlainVanillaIrLeg) |
|
| LegAdditionalData (const string &, const char *)=delete |
|
const LegType & | legType () const |
|
const string & | legNodeName () const |
|
const std::set< std::string > & | indices () const |
|
const bool | isSimmPlainVanillaIrLeg () const |
| | check if a x-ccy swap with the leg qualifies for the isda simm exemption treatment
|
|
void | fromFile (const std::string &filename) |
|
void | toFile (const std::string &filename) const |
|
void | fromXMLString (const std::string &xml) |
| | Parse from XML string.
|
|
std::string | toXMLString () const |
| | Parse from XML string.
|
|
std::string | toXMLStringUnformatted () const |