24#ifndef quantext_equity_margin_coupon_pricer_hpp
25#define quantext_equity_margin_coupon_pricer_hpp
27#include <ql/cashflows/couponpricer.hpp>
41 virtual Rate
rate()
const;
47 virtual void update()
override { notifyObservers(); }
Pricer for equity margin coupons.
QuantLib::ext::shared_ptr< FxIndex > fxIndex_
virtual void initialize(const EquityMarginCoupon &coupon)
virtual Rate rate() const
QuantLib::ext::shared_ptr< EquityIndex2 > equityCurve_
virtual ~EquityMarginCouponPricer()
const EquityMarginCoupon * coupon_
virtual void update() override
coupon paying the return on an equity