20#include <ql/experimental/fx/deltavolquote.hpp>
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();
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 > &)
Real Time
continuous quantity with 1-year units