49 HwBuilder(
const QuantLib::ext::shared_ptr<ore::data::Market>& market,
const QuantLib::ext::shared_ptr<HwModelData>&
data,
53 Real bootstrapTolerance = 0.001,
const bool continueOnError =
false,
54 const std::string& referenceCalibrationGrid =
"",
const bool setCalibrationInfo =
false);
62 QuantLib::ext::shared_ptr<QuantExt::HwModel>
model()
const;
63 QuantLib::ext::shared_ptr<QuantExt::IrHwParametrization>
parametrization()
const;
65 std::vector<QuantLib::ext::shared_ptr<BlackCalibrationHelper>>
swaptionBasket()
const;
77 QuantLib::ext::shared_ptr<ore::data::Market>
market_;
79 QuantLib::ext::shared_ptr<HwModelData>
data_;
91 mutable QuantLib::ext::shared_ptr<QuantExt::HwModel>
model_;
97 mutable std::vector<QuantLib::ext::shared_ptr<BlackCalibrationHelper>>
swaptionBasket_;
106 Handle<QuantLib::SwaptionVolatilityStructure>
svts_;
Builder for a Hull White model or a HW component for the CAM.
std::vector< bool > swaptionActive_
Handle< SwapIndex > swapIndex_
QuantLib::ext::shared_ptr< QuantExt::IrHwParametrization > parametrization() const
IrModel::Measure measure_
const std::string configuration_
void forceRecalculate() override
void performCalculations() const override
QuantLib::ext::shared_ptr< QuantExt::MarketObserver > marketObserver_
QuantLib::ext::shared_ptr< QuantExt::HwModel > model_
bool evaluateBankAccount_
Date swaptionBasketRefDate_
Array swaptionMaturities_
QuantLib::ext::shared_ptr< QuantExt::HwModel > model() const
std::vector< QuantLib::ext::shared_ptr< SimpleQuote > > swaptionBasketVols_
HwModel::Discretization discretization_
QuantLib::ext::shared_ptr< HwModelData > data_
bool requiresRecalibration() const override
RelinkableHandle< YieldTermStructure > discountCurve()
std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > swaptionBasket() const
Handle< YieldTermStructure > calibrationDiscountCurve_
std::vector< QuantLib::Real > swaptionVolCache_
std::vector< Real > swaptionStrike_
QuantLib::ext::shared_ptr< OptimizationMethod > optimizationMethod_
QuantLib::ext::shared_ptr< ore::data::Market > market_
std::vector< QuantLib::ext::shared_ptr< BlackCalibrationHelper > > swaptionBasket_
Handle< SwapIndex > shortSwapIndex_
const std::string referenceCalibrationGrid_
QuantLib::ext::shared_ptr< QuantExt::IrHwParametrization > parametrization_
bool requiresCalibration_
Real error() const
Return calibration error.
Handle< QuantLib::SwaptionVolatilityStructure > svts_
RelinkableHandle< YieldTermStructure > modelDiscountCurve_
static const string defaultConfiguration
Default configuration label.
Serializable Credit Default Swap.