According to information provided by Adams and Smith (2019), the method pricingCommercialPaper()
is developed to calculate the price of Commercial Paper for the values passed to its four arguments. Here, maturityVal
is maturity value of the Commercial Paper, daysToMaturity
is number of days till the maturity, daysInYear
is taken to be 360, and mmQuotedDiscRate
is money market quoted Discount Rate. For example, an output value of 98.56 means that the price of the commercial paper is 98.56 dollars per 100 dollars of face value.