bondym
Calculates the bond yield maturity for a known bond price and future payments (coupons or fixed incomes). Depending on input, function can return scalar, vector or matrix
Arguments
- Number of periods (payments/incomes)
- Future payments
- Bondprice
Output
Bond yield maturity
Examples