#include <ored/model/blackscholesmodelbuilderbase.hpp>
Public Member Functions | |
BlackScholesModelBuilderBase (const std::vector< Handle< YieldTermStructure > > &curves, const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > &processes, const std::set< Date > &simulationDates, const std::set< Date > &addDates, const Size timeStepsPerYear) | |
BlackScholesModelBuilderBase (const Handle< YieldTermStructure > &curve, const QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > &process, const std::set< Date > &simulationDates, const std::set< Date > &addDates, const Size timeStepsPerYear) | |
Handle< BlackScholesModelWrapper > | model () const |
Public Member Functions inherited from ModelBuilder | |
void | recalibrate () const |
virtual void | forceRecalculate () |
virtual bool | requiresRecalibration () const=0 |
ModelBuilder interface | |
const std::vector< Handle< YieldTermStructure > > | curves_ |
const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > | processes_ |
const std::set< Date > | simulationDates_ |
const std::set< Date > | addDates_ |
const Size | timeStepsPerYear_ |
std::set< Date > | effectiveSimulationDates_ |
TimeGrid | discretisationTimeGrid_ |
RelinkableHandle< BlackScholesModelWrapper > | model_ |
bool | forceCalibration_ = false |
QuantLib::ext::shared_ptr< MarketObserver > | marketObserver_ |
std::vector< Handle< BlackVolTermStructure > > | vols_ |
std::vector< Handle< YieldTermStructure > > | allCurves_ |
CalibrationPointCache | cache_ |
void | forceRecalculate () override |
bool | requiresRecalibration () const override |
BlackScholesModelBuilderBase (const Handle< YieldTermStructure > &curve, const QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > &process) | |
virtual void | setupDatesAndTimes () const |
virtual std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > | getCalibratedProcesses () const =0 |
virtual std::vector< std::vector< Real > > | getCurveTimes () const =0 |
virtual std::vector< std::vector< std::pair< Real, Real > > > | getVolTimesStrikes () const =0 |
void | performCalculations () const override |
bool | calibrationPointsChanged (const bool updateCache) const |
Definition at line 41 of file blackscholesmodelbuilderbase.hpp.
BlackScholesModelBuilderBase | ( | const std::vector< Handle< YieldTermStructure > > & | curves, |
const std::vector< QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > > & | processes, | ||
const std::set< Date > & | simulationDates, | ||
const std::set< Date > & | addDates, | ||
const Size | timeStepsPerYear | ||
) |
Definition at line 32 of file blackscholesmodelbuilderbase.cpp.
BlackScholesModelBuilderBase | ( | const Handle< YieldTermStructure > & | curve, |
const QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > & | process, | ||
const std::set< Date > & | simulationDates, | ||
const std::set< Date > & | addDates, | ||
const Size | timeStepsPerYear | ||
) |
Definition at line 25 of file blackscholesmodelbuilderbase.cpp.
|
protected |
Definition at line 66 of file blackscholesmodelbuilderbase.cpp.
Handle< BlackScholesModelWrapper > model | ( | ) | const |
Definition at line 70 of file blackscholesmodelbuilderbase.cpp.
|
overridevirtual |
Reimplemented from ModelBuilder.
Definition at line 80 of file blackscholesmodelbuilderbase.cpp.
|
overridevirtual |
Implements ModelBuilder.
Definition at line 75 of file blackscholesmodelbuilderbase.cpp.
|
protectedvirtual |
Reimplemented in CommodityApoModelBuilder.
Definition at line 86 of file blackscholesmodelbuilderbase.cpp.
|
protectedpure virtual |
Implemented in BlackScholesModelBuilder, LocalVolModelBuilder, and CommodityApoModelBuilder.
|
protectedpure virtual |
Implemented in BlackScholesModelBuilder, LocalVolModelBuilder, and CommodityApoModelBuilder.
|
protectedpure virtual |
Implemented in BlackScholesModelBuilder, LocalVolModelBuilder, and CommodityApoModelBuilder.
|
overrideprotected |
Definition at line 104 of file blackscholesmodelbuilderbase.cpp.
Definition at line 125 of file blackscholesmodelbuilderbase.cpp.
|
protected |
Definition at line 75 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 76 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 77 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 77 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 78 of file blackscholesmodelbuilderbase.hpp.
|
mutableprotected |
Definition at line 80 of file blackscholesmodelbuilderbase.hpp.
|
mutableprotected |
Definition at line 81 of file blackscholesmodelbuilderbase.hpp.
|
mutableprotected |
Definition at line 83 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 85 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 86 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 88 of file blackscholesmodelbuilderbase.hpp.
|
protected |
Definition at line 89 of file blackscholesmodelbuilderbase.hpp.
|
mutableprotected |
Definition at line 90 of file blackscholesmodelbuilderbase.hpp.