For a security that pays interest at maturity, given the expected yield, calculates the security's price.
PRICEMAT(settlement: String, maturity: String, issue: String, rate: Number, yield: Number, basis: String = us_nasd) => Number
The security's settlement date.
The security's maturity or end date.
The date the security was initially issued.
The annualized rate of interest.
The expected annual yield of the security.
Method to use for counting days per month/year:
date1 = "2010-01-02T13:06:15+03:00"date2 = "2039-12-31T13:06:15+03:00"date3 = "2010-01-01T13:06:15+03:00"date4 = "2009-01-31T13:06:15+03:00"date5 = "2023-10-31T13:06:15+03:00"date6 = "2009-01-30T13:06:15+03:00"date7 = "2023-10-30T13:06:15+03:00"date8 = "2008-10-30T13:06:15+03:00"