|
Would it make sense to model a dividend payment on a stock as a cash
flow, and create a class
Dividend
DividendPaymentVector that creates a vector of Dividend payments?
Also what about making CashFlow a child class of
class Event : public Observable {
public:
virtual ~Event();
virtual Date date() const = 0;
}
in which callability events and exercise dates can also be events.
|