37 const std::vector<ext::shared_ptr<GeneralizedBlackScholesProcess>>& processes,
38 const std::set<Date>& simulationDates = {},
39 const std::set<Date>& addDates = {},
40 const Size timeStepsPerYear = 1,
42 const std::vector<Real>& calibrationMoneyness = { -2.0, -1.0, 0.0, 1.0, 2.0 },
43 const bool dontCalibrate =
false);
45 const ext::shared_ptr<GeneralizedBlackScholesProcess>& process,
46 const std::set<Date>& simulationDates = {},
47 const std::set<Date>& addDates = {},
48 const Size timeStepsPerYear = 1,
50 const std::vector<Real>& calibrationMoneyness = { -2.0, -1.0, 0.0, 1.0, 2.0 },
51 const bool dontCalibrate =
false)
52 : LocalVolModelBuilder(std::vector<Handle<YieldTermStructure>>{curve},
53 std::vector<ext::shared_ptr<GeneralizedBlackScholesProcess>>{process}, simulationDates,
54 addDates, timeStepsPerYear, lvType, calibrationMoneyness, dontCalibrate) {}
59 std::vector<std::vector<Real>>
getCurveTimes()
const override;
builder for an array of black scholes processes
std::vector< ext::shared_ptr< GeneralizedBlackScholesProcess > > getCalibratedProcesses() const override
std::vector< std::vector< std::pair< Real, Real > > > getVolTimesStrikes() const override
std::vector< std::vector< Real > > getCurveTimes() const override
const std::vector< Real > calibrationMoneyness_
const bool dontCalibrate_
LocalVolModelBuilder(const Handle< YieldTermStructure > &curve, const ext::shared_ptr< GeneralizedBlackScholesProcess > &process, const std::set< Date > &simulationDates={}, const std::set< Date > &addDates={}, const Size timeStepsPerYear=1, const Type lvType=Type::Dupire, const std::vector< Real > &calibrationMoneyness={ -2.0, -1.0, 0.0, 1.0, 2.0 }, const bool dontCalibrate=false)
Serializable Credit Default Swap.