39 const Size paths,
const std::vector<std::string>& currencies,
40 const std::vector<Handle<YieldTermStructure>>& curves,
const std::vector<Handle<Quote>>& fxSpots,
41 const std::vector<std::pair<std::string, QuantLib::ext::shared_ptr<InterestRateIndex>>>& irIndices,
42 const std::vector<std::pair<std::string, QuantLib::ext::shared_ptr<ZeroInflationIndex>>>& infIndices,
43 const std::vector<std::string>& indices,
const std::vector<std::string>& indexCurrencies,
44 const Handle<BlackScholesModelWrapper>& model,
45 const std::map<std::pair<std::string, std::string>, Handle<QuantExt::CorrelationTermStructure>>& correlations,
46 const std::set<Date>& simulationDates,
48 const std::string& calibration =
"ATM",
49 const std::map<std::string, std::vector<Real>>& calibrationStrikes = {});
52 BlackScholesCG(
const Size paths,
const std::string& currency,
const Handle<YieldTermStructure>& curve,
53 const std::string& index,
const std::string& indexCurrency,
54 const Handle<BlackScholesModelWrapper>& model,
const std::set<Date>& simulationDates,
56 const std::string& calibration =
"ATM",
const std::vector<Real>& calibrationStrikes = {});
60 std::size_t
getFutureBarrierProb(
const std::string& index,
const Date& obsdate1,
const Date& obsdate2,
61 const std::size_t barrier,
const bool above)
const override;
black scholes model base class for n underlyings (fx, equity or commodity)
void performCalculations() const override
std::size_t getFutureBarrierProb(const std::string &index, const Date &obsdate1, const Date &obsdate2, const std::size_t barrier, const bool above) const override
const std::map< std::string, std::vector< Real > > calibrationStrikes_
const std::string calibration_
static IborFallbackConfig defaultConfig()
Serializable Credit Default Swap.