public class BondYieldEx7 extends Object
Computes the yield of a bond with an odd short last coupon and one or fewer coupon periods.
This example calculates the yield of an odd short last coupon with one or less coupon period to redemption.Settlement | 02/07/1993 |
Maturity | 08/01/1993 |
Last Coupon | 02/04/1993 |
Rate | 0.065 |
Price | 100.540457 |
Redemption Value | 100.0 |
Payment Frequency | Bond.SEMIANNUAL |
Day Count Basis | DayCountBasis.Basis30e360 |
Constructor and Description |
---|
BondYieldEx7() |
public static void main(String[] args) throws ParseException
ParseException
Copyright © 2020 Rogue Wave Software. All rights reserved.