Equity Position instrument wrapper. More...
#include <ored/portfolio/equityposition.hpp>
Classes | |
class | arguments |
class | engine |
class | results |
Public Member Functions | |
EquityPositionInstrumentWrapper (const Real quantity, const std::vector< QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > > &equities, const std::vector< Real > &weights, const std::vector< Handle< Quote > > &fxConversion={}) | |
Instrument interface | |
Real | quantity_ |
std::vector< QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > > | equities_ |
std::vector< Real > | weights_ |
std::vector< Handle< Quote > > | fxConversion_ |
Handle< Quote > | npvCcyConversion_ |
bool | isExpired () const override |
void | setupArguments (QuantLib::PricingEngine::arguments *) const override |
void | fetchResults (const QuantLib::PricingEngine::results *) const override |
void | setNpvCurrencyConversion (const Handle< Quote > &npvCcyConversion) |
void | setupExpired () const override |
Equity Position instrument wrapper.
Definition at line 84 of file equityposition.hpp.
EquityPositionInstrumentWrapper | ( | const Real | quantity, |
const std::vector< QuantLib::ext::shared_ptr< QuantExt::EquityIndex2 > > & | equities, | ||
const std::vector< Real > & | weights, | ||
const std::vector< Handle< Quote > > & | fxConversion = {} |
||
) |
Definition at line 127 of file equityposition.cpp.
|
override |
Definition at line 148 of file equityposition.cpp.
|
override |
Definition at line 152 of file equityposition.cpp.
|
override |
Definition at line 162 of file equityposition.cpp.
void setNpvCurrencyConversion | ( | const Handle< Quote > & | npvCcyConversion | ) |
Definition at line 144 of file equityposition.cpp.
|
overrideprivate |
Definition at line 150 of file equityposition.cpp.
|
private |
Definition at line 105 of file equityposition.hpp.
|
private |
Definition at line 106 of file equityposition.hpp.
|
private |
Definition at line 107 of file equityposition.hpp.
|
private |
Definition at line 108 of file equityposition.hpp.
|
private |
Definition at line 109 of file equityposition.hpp.