Table of Contents

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.
Evaluate Evaluates the function. Look At Excel docs for parameters.
IsEOM Returns true if the date is the end of month.
LastDayOfMonth Returns the last day of a month.
LevelDayOfMonth Makes the day in bonddate be as big Maturity date as possible.
NextCoupon Returns the next coupon after settlement date.
PrevCoupon Returns the previous coupon for a given coupon.