oddlprice
Price per $100 face value of a security with an odd last period.
Syntax
Section titled “Syntax”v = oddlprice(settlement, maturity, issue, first_coupon, rate, yld, redemption, frequency, basis)Description
Section titled “Description”Returns the price for a bond whose last coupon period is non-standard.
Example
Section titled “Example”oddlprice('2008-02-07', '2008-06-15', '2007-10-15', '2008-04-15', 0.0375, 0.0405, 100, 2)