TRS Instrument Wrapper. More...
#include <ored/portfolio/trswrapper.hpp>
Classes | |
class | arguments |
class | engine |
class | results |
Public Member Functions | |
TRSWrapper (const std::vector< QuantLib::ext::shared_ptr< ore::data::Trade > > &underlying, const std::vector< QuantLib::ext::shared_ptr< QuantLib::Index > > &underlyingIndex, const std::vector< QuantLib::Real > underlyingMultiplier, const bool includeUnderlyingCashflowsInReturn, const QuantLib::Real initialPrice, const QuantLib::Currency &initialPriceCurrency, const std::vector< QuantLib::Currency > &assetCurrency, const QuantLib::Currency &returnCurrency, const std::vector< QuantLib::Date > &valuationSchedule, const std::vector< QuantLib::Date > &paymentSchedule, const std::vector< QuantLib::Leg > &fundingLegs, const std::vector< TRS::FundingData::NotionalType > &fundingNotionalTypes, const QuantLib::Currency &fundingCurrency, const QuantLib::Size fundingResetGracePeriod, const bool paysAsset, const bool paysFunding, const QuantLib::Leg &additionalCashflowLeg, const bool additionalCashflowLegPayer, const QuantLib::Currency &additionalCashflowCurrency, const std::vector< QuantLib::ext::shared_ptr< QuantExt::FxIndex > > &fxIndexAsset, const QuantLib::ext::shared_ptr< QuantExt::FxIndex > &fxIndexReturn, const QuantLib::ext::shared_ptr< QuantExt::FxIndex > &fxIndexAdditionalCashflows, const std::map< std::string, QuantLib::ext::shared_ptr< QuantExt::FxIndex > > &addFxindices) | |
Instrument interface | |
std::vector< QuantLib::ext::shared_ptr< ore::data::Trade > > | underlying_ |
std::vector< QuantLib::ext::shared_ptr< QuantLib::Index > > | underlyingIndex_ |
std::vector< QuantLib::Real > | underlyingMultiplier_ |
bool | includeUnderlyingCashflowsInReturn_ |
QuantLib::Real | initialPrice_ |
const QuantLib::Currency | initialPriceCurrency_ |
const std::vector< QuantLib::Currency > | assetCurrency_ |
const QuantLib::Currency | returnCurrency_ |
std::vector< QuantLib::Date > | valuationSchedule_ |
std::vector< QuantLib::Date > | paymentSchedule_ |
std::vector< QuantLib::Leg > | fundingLegs_ |
std::vector< TRS::FundingData::NotionalType > | fundingNotionalTypes_ |
const QuantLib::Currency | fundingCurrency_ |
const QuantLib::Size | fundingResetGracePeriod_ |
bool | paysAsset_ |
bool | paysFunding_ |
QuantLib::Leg | additionalCashflowLeg_ |
bool | additionalCashflowLegPayer_ |
const QuantLib::Currency | additionalCashflowCurrency_ |
std::vector< QuantLib::ext::shared_ptr< QuantExt::FxIndex > > | fxIndexAsset_ |
QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndexReturn_ |
QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndexAdditionalCashflows_ |
std::map< std::string, QuantLib::ext::shared_ptr< QuantExt::FxIndex > > | addFxIndices_ |
Date | lastDate_ |
bool | isExpired () const override |
void | setupArguments (QuantLib::PricingEngine::arguments *) const override |
void | fetchResults (const QuantLib::PricingEngine::results *) const override |
TRS Instrument Wrapper.
Definition at line 35 of file trswrapper.hpp.
TRSWrapper | ( | const std::vector< QuantLib::ext::shared_ptr< ore::data::Trade > > & | underlying, |
const std::vector< QuantLib::ext::shared_ptr< QuantLib::Index > > & | underlyingIndex, | ||
const std::vector< QuantLib::Real > | underlyingMultiplier, | ||
const bool | includeUnderlyingCashflowsInReturn, | ||
const QuantLib::Real | initialPrice, | ||
const QuantLib::Currency & | initialPriceCurrency, | ||
const std::vector< QuantLib::Currency > & | assetCurrency, | ||
const QuantLib::Currency & | returnCurrency, | ||
const std::vector< QuantLib::Date > & | valuationSchedule, | ||
const std::vector< QuantLib::Date > & | paymentSchedule, | ||
const std::vector< QuantLib::Leg > & | fundingLegs, | ||
const std::vector< TRS::FundingData::NotionalType > & | fundingNotionalTypes, | ||
const QuantLib::Currency & | fundingCurrency, | ||
const QuantLib::Size | fundingResetGracePeriod, | ||
const bool | paysAsset, | ||
const bool | paysFunding, | ||
const QuantLib::Leg & | additionalCashflowLeg, | ||
const bool | additionalCashflowLegPayer, | ||
const QuantLib::Currency & | additionalCashflowCurrency, | ||
const std::vector< QuantLib::ext::shared_ptr< QuantExt::FxIndex > > & | fxIndexAsset, | ||
const QuantLib::ext::shared_ptr< QuantExt::FxIndex > & | fxIndexReturn, | ||
const QuantLib::ext::shared_ptr< QuantExt::FxIndex > & | fxIndexAdditionalCashflows, | ||
const std::map< std::string, QuantLib::ext::shared_ptr< QuantExt::FxIndex > > & | addFxindices | ||
) |
Definition at line 37 of file trswrapper.cpp.
|
override |
Definition at line 134 of file trswrapper.cpp.
|
override |
Definition at line 136 of file trswrapper.cpp.
|
override |
Definition at line 172 of file trswrapper.cpp.
|
private |
Definition at line 86 of file trswrapper.hpp.
|
private |
Definition at line 87 of file trswrapper.hpp.
|
private |
Definition at line 88 of file trswrapper.hpp.
|
private |
Definition at line 89 of file trswrapper.hpp.
|
private |
Definition at line 90 of file trswrapper.hpp.
|
private |
Definition at line 91 of file trswrapper.hpp.
|
private |
Definition at line 92 of file trswrapper.hpp.
|
private |
Definition at line 93 of file trswrapper.hpp.
|
private |
Definition at line 94 of file trswrapper.hpp.
|
private |
Definition at line 94 of file trswrapper.hpp.
|
private |
Definition at line 95 of file trswrapper.hpp.
|
private |
Definition at line 96 of file trswrapper.hpp.
|
private |
Definition at line 97 of file trswrapper.hpp.
|
private |
Definition at line 98 of file trswrapper.hpp.
|
private |
Definition at line 99 of file trswrapper.hpp.
|
private |
Definition at line 99 of file trswrapper.hpp.
|
private |
Definition at line 100 of file trswrapper.hpp.
|
private |
Definition at line 101 of file trswrapper.hpp.
|
private |
Definition at line 102 of file trswrapper.hpp.
|
private |
Definition at line 103 of file trswrapper.hpp.
|
private |
Definition at line 104 of file trswrapper.hpp.
|
private |
Definition at line 104 of file trswrapper.hpp.
|
private |
Definition at line 105 of file trswrapper.hpp.
|
private |
Definition at line 107 of file trswrapper.hpp.