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