public class BondPriceEx3 extends Object
Computes the price of a bond with an odd long last coupon and multiple coupon periods.
This example calculates the price of an odd long last coupon with multiple coupon periods to redemption. The settings are as follows:
Settlement | 02/25/1993 |
Maturity | 09/15/2004 |
Last Coupon | 12/15/2003 |
Rate | 0.06875 |
Yield | 0.0893 |
Redemption Value | 100.0 |
Payment Frequency | Bond.SEMIANNUAL |
Day Count Basis | DayCountBasis.Basis30e360 |
Constructor and Description |
---|
BondPriceEx3() |
public static void main(String[] args) throws ParseException
ParseException
Copyright © 2020 Rogue Wave Software. All rights reserved.