TBaseBondsImpl Class
Implements the basics for Bond functions, like CoupDays, CoupDaysNC, CoupDayBS, CoupNCD, CoupNum, CoupPCD.
Syntax
Unit: FlexCel.AddinFunctions
TBaseBondsImpl = class(TUserDefinedFunction);
Constructors
Name | Description |
---|---|
Create | Creates a new implementation. |
Methods
Name | Description |
---|---|
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. |
IsEOM | Returns true if the date is the end of month. |
LastDayOfMonth | Returns the last day of a month. |
Evaluate | Evaluates the function. Look At Excel docs for parameters. |