42 const Size paths,
const std::vector<std::string>& currencies,
43 const std::vector<Handle<YieldTermStructure>>& curves,
const std::vector<Handle<Quote>>& fxSpots,
44 const std::vector<std::pair<std::string, QuantLib::ext::shared_ptr<InterestRateIndex>>>& irIndices,
45 const std::vector<std::pair<std::string, QuantLib::ext::shared_ptr<ZeroInflationIndex>>>& infIndices,
46 const std::vector<std::string>& indices,
const std::vector<std::string>& indexCurrencies,
47 const Handle<BlackScholesModelWrapper>& model,
48 const std::map<std::pair<std::string, std::string>, Handle<QuantExt::CorrelationTermStructure>>& correlations,
49 const McParams& mcparams,
const std::set<Date>& simulationDates,
53 LocalVol(
const Size paths,
const std::string& currency,
const Handle<YieldTermStructure>& curve,
54 const std::string& index,
const std::string& indexCurrency,
const Handle<BlackScholesModelWrapper>& model,
55 const McParams& mcparams,
const std::set<Date>& simulationDates,
67 void populatePathValues(
const Size nSamples, std::map<Date, std::vector<RandomVariable>>& paths,
68 const QuantLib::ext::shared_ptr<MultiPathVariateGeneratorBase>& gen,
const Matrix& correlation,
69 const Matrix& sqrtCorr,
const std::vector<Array>& deterministicDrift,
70 const std::vector<Size>& eqComIdx,
const std::vector<Real>& t,
const std::vector<Real>&
dt,
71 const std::vector<Real>& sqrtdt)
const;
black scholes model base class for n underlyings (fx, equity or commodity)
static IborFallbackConfig defaultConfig()
void performCalculations() const override
RandomVariable getFutureBarrierProb(const std::string &index, const Date &obsdate1, const Date &obsdate2, const RandomVariable &barrier, const bool above) const override
void populatePathValues(const Size nSamples, std::map< Date, std::vector< RandomVariable > > &paths, const QuantLib::ext::shared_ptr< MultiPathVariateGeneratorBase > &gen, const Matrix &correlation, const Matrix &sqrtCorr, const std::vector< Array > &deterministicDrift, const std::vector< Size > &eqComIdx, const std::vector< Real > &t, const std::vector< Real > &dt, const std::vector< Real > &sqrtdt) const
Real dt(const Date &d1, const Date &d2) const override
Serializable Credit Default Swap.