39 const std::string& currency)
const override {
46 const boost::optional<long>& memSlot,
const RandomVariable& addRegressor1,
51 const bool returnMissingFixingAsNull,
const bool ignoreTodaysFixing)
const override {
55 const Date& start,
const Date& end,
const Real spread,
const Real gearing,
56 const Integer lookback,
const Natural rateCutoff,
const Natural fixingDays,
57 const bool includeSpread,
const Real cap,
const Real floor,
58 const bool nakedOption,
const bool localCapFloor)
const override {
65 Real
fxSpotT0(
const std::string& forCcy,
const std::string& domCcy)
const override {
return 1.0; }
71 const std::string&
baseCcy()
const override {
72 static const std::string b =
"EUR";
virtual RandomVariable fwdCompAvg(const bool isAvg, const std::string &index, const Date &obsdate, const Date &start, const Date &end, const Real spread, const Real gearing, const Integer lookback, const Natural rateCutoff, const Natural fixingDays, const bool includeSpread, const Real cap, const Real floor, const bool nakedOption, const bool localCapFloor) const override
RandomVariable npv(const RandomVariable &amount, const Date &obsdate, const Filter &filter, const boost::optional< long > &memSlot, const RandomVariable &addRegressor1, const RandomVariable &addRegressor2) const override
Real fxSpotT0(const std::string &forCcy, const std::string &domCcy) const override
RandomVariable barrierProbability(const std::string &index, const Date &obsdate1, const Date &obsdate2, const RandomVariable &barrier, const bool above) const override
const Date & referenceDate() const override
RandomVariable discount(const Date &obsdate, const Date &paydate, const std::string ¤cy) const override
RandomVariable eval(const std::string &index, const Date &obsdate, const Date &fwdDate, const bool returnMissingFixingAsNull, const bool ignoreTodaysFixing) const override
const std::string & baseCcy() const override
Real extractT0Result(const RandomVariable &result) const override
Type type() const override
RandomVariable pay(const RandomVariable &amount, const Date &obsdate, const Date &paydate, const std::string ¤cy) const override
RandomVariable dummyResult_
SafeStack< Filter > filter
interface for model against which a script can be run
Serializable Credit Default Swap.
void set(const Size i, const Real v)