BaseBondsImpl Class
Implements the basics for Bond functions, like CoupDays, CoupDaysNC, CoupDayBS, CoupNCD, CoupNum, CoupPCD.
Syntax
Namespace: FlexCel.AddinFunctions
public abstract class BaseBondsImpl: TUserDefinedFunction
Constructors
Name | Description |
---|---|
BaseBondsImpl | Creates a new implementation. |
Methods
Name | Description |
---|---|
Evaluate | Evaluates the function. Look At Excel docs for parameters. |
Calc | Calculates the result depending on the specific function. |
PrevCoupon | Returns the previous coupon for a given coupon. |
NextCoupon | Returns the next coupon after settlement date. |
LevelDayOfMonth | Makes the day in bonddate be as big Maturity date as possible. |
LastDayOfMonth | Returns the last day of a month. |
IsEOM | Returns true if the date is the end of month. |