flatCurve.hpp
Go to the documentation of this file.
virtual double capitalization(Date) const
get capitalization
Definition: flatCurve.cpp:44
FlatCurve * clone() const
Virtual copy constructor.
Definition: flatCurve.cpp:120
virtual double coupon(Date) const
get coupon
Definition: flatCurve.cpp:60
Definition: cadHoliday.cpp:3
virtual double fwdRate(Date, Date) const
get forward rate
Definition: flatCurve.cpp:92
File contains definition of date class.
InterestRate rate_
Interest rate convention.
Definition: flatCurve.hpp:70
virtual Date getValuationDate() const
get today date
Definition: flatCurve.cpp:116
Date curve_date_
Today represent the date on which the curve is valid.
Definition: flatCurve.hpp:72
friend std::ostream & operator<<(std::ostream &, FlatCurve &)
Overloads stream operator.
Definition: flatCurve.cpp:128
virtual double rate(Date) const
get zero coupon rate
Definition: flatCurve.cpp:76
double zero_coupon_rate_
Value of zero coupon rate.
Definition: flatCurve.hpp:71
Calendar calendar_
Thanks to calendar outputs of the curve (DFs, forward rates etc) can be calculated only on the basis ...
Definition: flatCurve.hpp:73
The class implements the concept of interest rate.
Definition: interestRate.hpp:25
void serialize(Archive &ar, const unsigned int)
interface used by Boost serialization library
Definition: flatCurve.hpp:77
File contains interface of interest rate curves.
File contains definition of InterestRate class.