DiscountTypes-class: An S4 class representing the discount rate applied to bill...

Description Slots

Description

This class is used to create and pass discount types reported to investors used in analytics. For example, discount is often reported as a decimal number (e.g. 5.0 In BondLab discount is a numeric value in all slots as opposed to price which is a character value in all slots.

Slots

DiscountDecimal

A numeric value the discount expressed in decimal notation eg 1.05

DiscountBasis

A numeric value discount expressed in basis notation eg 0.015

DiscountDecimalString

A character value the discount rate expressed as a string expressed in decimal notation eg "5.50"


glennmschultz/BondLab documentation built on May 11, 2021, 5:29 p.m.