38 QuantLib::ext::shared_ptr<GeneralizedBlackScholesProcess> gbsp =
getBlackScholesProcess(assetName, ccy, assetClass);
39 Handle<YieldTermStructure> discountCurve =
41 return QuantLib::ext::make_shared<CliquetOptionMcScriptEngine>(
"EQ-" + assetName, ccy.code(), ccy.code(), gbsp,
tradeTypes_,
42 nPaths, regressionOrder, interactive,
43 scriptedLibraryOverride);
Engine builder for cliquet options.
QuantLib::ext::shared_ptr< QuantLib::GeneralizedBlackScholesProcess > getBlackScholesProcess(const string &assetName, const Currency &ccy, const AssetClass &assetClassUnderlying, const std::vector< Time > &timePoints={}, const bool useFxSpot=true)
QuantLib::ext::shared_ptr< Market > market_
std::string engineParameter(const std::string &p, const std::vector< std::string > &qualifiers={}, const bool mandatory=true, const std::string &defaultValue="") const
set< string > tradeTypes_
const string & configuration(const MarketContext &key)
Return a configuration (or the default one if key not found)
QuantLib::ext::shared_ptr< PricingEngine > engineImpl(const std::string &assetName, const QuantLib::Currency &ccy, const ore::data::AssetClass &assetClass) override
bool parseBool(const string &s)
Convert text to bool.
Integer parseInteger(const string &s)
Convert text to QuantLib::Integer.
Serializable Credit Default Swap.