26 : delta_(delta),
vol_(
std::move(vol)), deltaType_(deltaType), maturity_(maturity),
36 :
vol_(
std::move(vol)), deltaType_(deltaType), maturity_(maturity), atmType_(atmType) {
54 return !
vol_.empty() &&
vol_->isValid();
ext::shared_ptr< SimpleQuote > vol_
Class for the quotation of delta vs vol.
DeltaType deltaType() const
Real value() const override
returns the current value
DeltaVolQuote(Real delta, Handle< Quote > vol, Time maturity, DeltaType deltaType)
bool isValid() const override
returns true if the Quote holds a valid value
Shared handle to an observable.
std::pair< iterator, bool > registerWith(const ext::shared_ptr< Observable > &)
Class for the quotation of delta vs vol.
Real Time
continuous quantity with 1-year units