Builder for a COM model component. More...
#include <ored/model/commodityschwartzmodelbuilder.hpp>
Public Member Functions | |
CommoditySchwartzModelBuilder (const boost::shared_ptr< ore::data::Market > &market, const boost::shared_ptr< CommoditySchwartzData > &data, const QuantLib::Currency &baseCcy, const std::string &configuration=Market::defaultConfiguration, const std::string &referenceCalibrationGrid="") | |
Constructor. More... | |
Real | error () const |
Return calibration error. | |
Inspectors | |
std::string | name () |
boost::shared_ptr< QuantExt::CommoditySchwartzParametrization > | parametrization () const |
boost::shared_ptr< QuantExt::CommoditySchwartzModel > | model () const |
std::vector< boost::shared_ptr< BlackCalibrationHelper > > | optionBasket () const |
Public Member Functions inherited from ModelBuilder | |
void | recalibrate () const |
ModelBuilder interface | |
void | forceRecalculate () override |
bool | requiresRecalibration () const override |
Builder for a COM model component.
This class is a utility to turn a COM model component's description into a COM model parametrization which can be used to ultimately instantiate a CrossAssetModel. h
CommoditySchwartzModelBuilder | ( | const boost::shared_ptr< ore::data::Market > & | market, |
const boost::shared_ptr< CommoditySchwartzData > & | data, | ||
const QuantLib::Currency & | baseCcy, | ||
const std::string & | configuration = Market::defaultConfiguration , |
||
const std::string & | referenceCalibrationGrid = "" |
||
) |