public class BondPriceEx5 extends Object
Computes the price of a bond with an odd short first coupon.
This example calculates the price of an odd short first coupon with the following settings:| Settlement | 11/11/1992 |
| Maturity | 03/01/2005 |
| Issue date | 10/15/1992 |
| First Coupon | 03/01/1993 |
| Rate | 0.0785 |
| Yield | 0.0625 |
| Redemption Value | 100.0 |
| Payment Frequency | Bond.SEMIANNUAL |
| Day Count Basis | DayCountBasis.BasisActualActual |
| Constructor and Description |
|---|
BondPriceEx5() |
public static void main(String[] args) throws ParseException
ParseExceptionCopyright © 2020 Rogue Wave Software. All rights reserved.