price
Price per $100 face value of a coupon-paying bond.
Syntax
Section titled “Syntax”v = price(settlement, maturity, rate, yld, redemption, frequency, basis)Description
Section titled “Description”Returns the price of a bond paying periodic interest. rate is the annual coupon rate; yld the annual market yield.
Example
Section titled “Example”price('2008-02-15', '2017-11-15', 0.0575, 0.0650, 100, 2)