52 const QuantLib::ext::shared_ptr<ore::data::Market>& market,
54 const QuantLib::ext::shared_ptr<FxBsData>&
data,
58 const std::string& referenceCalibrationGrid =
"");
66 QuantLib::ext::shared_ptr<QuantExt::FxBsParametrization>
parametrization()
const;
67 std::vector<QuantLib::ext::shared_ptr<BlackCalibrationHelper>>
optionBasket()
const;
87 const QuantLib::ext::shared_ptr<ore::data::Market>
market_;
89 const QuantLib::ext::shared_ptr<FxBsData>
data_;
98 mutable std::vector<QuantLib::ext::shared_ptr<BlackCalibrationHelper>>
optionBasket_;
Builder for a Lognormal FX model component.
QuantLib::ext::shared_ptr< QuantExt::FxBsParametrization > parametrization_
const std::string configuration_
void forceRecalculate() override
void performCalculations() const override
bool volSurfaceChanged(const bool updateCache) const
Handle< YieldTermStructure > ytsFor_
QuantLib::ext::shared_ptr< QuantExt::MarketObserver > marketObserver_
std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > optionBasket() const
Handle< BlackVolTermStructure > fxVol_
const QuantLib::ext::shared_ptr< FxBsData > data_
Real optionStrike(const Size j) const
std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > optionBasket_
void setCalibrationDone() const
std::vector< QuantLib::Real > fxVolCache_
Handle< YieldTermStructure > ytsDom_
QuantLib::ext::shared_ptr< QuantExt::FxBsParametrization > parametrization() const
Date optionExpiry(const Size j) const
bool requiresRecalibration() const override
const QuantLib::ext::shared_ptr< ore::data::Market > market_
std::string foreignCurrency()
const std::string referenceCalibrationGrid_
Real error() const
Return calibration error.
void buildOptionBasket() const
std::vector< bool > optionActive_
static const string defaultConfiguration
Default configuration label.
FX component data for the cross asset model.
Serializable Credit Default Swap.