public class BondPriceEx4 extends Object
Computes price of a bond with an odd long last coupon and one coupon period.
This example calculates the price of an odd long last coupon with one coupon period to redemption.| Settlement | 02/07/1993 |
| Maturity | 06/15/1993 |
| Last Coupon | 10/15/1992 |
| Rate | 0.0375 |
| Yield | 0.0405 |
| Redemption Value | 100.0 |
| Payment Frequency | Bond.SEMIANNUAL |
| Day Count Basis | DayCountBasis.Basis30e360 |
| Constructor and Description |
|---|
BondPriceEx4() |
public static void main(String[] args) throws ParseException
ParseExceptionCopyright © 2020 Rogue Wave Software. All rights reserved.