public class BondPriceEx6 extends Object
Computes the price of a bond with an odd short last coupon and multiple coupon periods.
This example calculates the price of an odd short last coupon with multiple coupon period to redemption.| Settlement | 02/25/1993 |
| Maturity | 06/01/2005 |
| Last Coupon | 12/15/2004 |
| Rate | 0.06875 |
| Yield | 0.0725 |
| Redemption Value | 100.0 |
| Payment Frequency | Bond.SEMIANNUAL |
| Day Count Basis | DayCountBasis.Basis30e360 |
| Constructor and Description |
|---|
BondPriceEx6() |
public static void main(String[] args) throws ParseException
ParseExceptionCopyright © 2020 Rogue Wave Software. All rights reserved.