28#include <ql/exercise.hpp>
29#include <ql/time/calendar.hpp>
30#include <ql/time/daycounter.hpp>
31#include <ql/time/period.hpp>
32#include <ql/types.hpp>
37using QuantLib::BusinessDayConvention;
39using QuantLib::DayCounter;
40using QuantLib::Period;
58 const string& dividendInterpVariable =
"Zero",
const string& dividendInterpMethod =
"Linear",
60 const QuantLib::Exercise::Type&
exerciseStyle = QuantLib::Exercise::Type::European);
Base curve configuration.
const string & curveDescription() const
const string & curveID() const
virtual const vector< string > & quotes()
Return all the market quotes required for this config.
Equity curve configuration.
void populateRequiredCurveIds()
string divInterpVariable_
const string & forecastingCurve() const
const string & currency() const
string & dividendInterpolationMethod()
const Type & type() const
Type
Supported equity curve types.
bool & dividendExtrapolation()
string & forecastingCurve()
EquityCurveConfig()
Default constructor.
string & dividendInterpolationVariable()
QuantLib::Exercise::Type exerciseStyle_
const vector< string > & fwdQuotes()
const string & equitySpotQuoteID() const
bool dividendExtrapolation_
const string & dayCountID() const
void fromXML(XMLNode *node) override
bool extrapolation() const
XMLNode * toXML(XMLDocument &doc) const override
vector< string > fwdQuotes_
string & equitySpotQuoteID()
string equitySpotQuoteID_
bool dividendExtrapolation() const
void setCurrency(const string ¤cy)
const string & calendar() const
const string & dividendInterpolationVariable() const
const QuantLib::Exercise::Type exerciseStyle() const
void setCalendar(const string &calendar)
QuantLib::Exercise::Type & exerciseStyle()
const string & dividendInterpolationMethod() const
Small XML Document wrapper class.
Base curve configuration classes.
Currency parseCurrencyWithMinors(const string &s)
Convert text to QuantLib::Currency.
std::ostream & operator<<(std::ostream &out, EquityReturnType t)
EquityCurveConfig::Type parseEquityCurveConfigType(const std::string &str)
Serializable Credit Default Swap.
Map text representations to QuantLib/QuantExt types.