25#include <boost/make_shared.hpp>
40 const ore::data::AssetClass&> {
46 QuantLib::ext::shared_ptr<QuantLib::PricingEngine>
engine(
const std::string& assetName,
const QuantLib::Currency& ccy) {
51 QuantLib::ext::shared_ptr<QuantLib::PricingEngine>
engine(
const QuantLib::Currency& ccy1,
const QuantLib::Currency& ccy2) {
58 virtual std::string
keyImpl(
const std::string& assetName,
const QuantLib::Currency& ccy,
60 return assetName +
"/" + ccy.code();
79 QuantLib::ext::shared_ptr<PricingEngine>
engineImpl(
const std::string& assetName,
const QuantLib::Currency& ccy,
Engine builder for cliquet options.
Abstract engine builders for European and American Options.
Engine builder for Cliquet Options.
CliquetOptionEngineBuilder(const std::string &model, const std::string &engine, const std::set< std::string > &tradeTypes, const ore::data::AssetClass &assetClass)
virtual std::string keyImpl(const std::string &assetName, const QuantLib::Currency &ccy, const ore::data::AssetClass &assetClass) override
QuantLib::ext::shared_ptr< QuantLib::PricingEngine > engine(const QuantLib::Currency &ccy1, const QuantLib::Currency &ccy2)
QuantLib::ext::shared_ptr< QuantLib::PricingEngine > engine(const std::string &assetName, const QuantLib::Currency &ccy)
const string & engine() const
Return the engine name.
const set< string > & tradeTypes() const
Return the possible trade types.
const string & model() const
Return the model name.
Engine Builder for Equity Cliquet Options.
EquityCliquetOptionEngineBuilder(const std::string &model, const std::string &engine)
EquityCliquetOptionMcScriptEngineBuilder()
QuantLib::ext::shared_ptr< PricingEngine > engineImpl(const std::string &assetName, const QuantLib::Currency &ccy, const ore::data::AssetClass &assetClass) override
Serializable Credit Default Swap.
scripted trade data model