Finance[CleanPrice] - calculate the clean price of a bond
|
Calling Sequence
|
|
CleanPrice(bond, yield, compounding, opts)
|
|
Parameters
|
|
bond
|
-
|
fixed or floating rate bond data structure; bond
|
yield
|
-
|
non-negative constant; desired yield
|
compounding
|
-
|
Simple, Continuous, Compounded, or SimpleThenCompounded; the underlying compounding type
|
opts
|
-
|
equations of the form option = value where option is evaluationdate; specify options for the CleanPrice command
|
|
|
|
|
Description
|
|
•
|
The CleanPrice command computes the clean price of a bond, given its yield. Clean price does not include any accrued interest that has accumulated since the last coupon payment.
|
|
|
Options
|
|
•
|
evaluationdate = a string containing a date specification in a format recognized by ParseDate or a date data structure -- This option specifies the evaluation date. By default this is set to the global evaluation date (see EvaluationDate).
|
|
|
Compatibility
|
|
•
|
The Finance[CleanPrice] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
Consider a zero-coupon bond with a face value of 100 maturing in one year.
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
Consider a 3-year bond with a face value of 100 that pays a fixed coupon of 3 percent issued on March 15, 2005.
>
|
|
>
|
|
| (9) |
>
|
|
>
|
|
>
|
|
>
|
|
Calculate the bond's clean price given its yield and vice-versa.
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
>
|
|
| (15) |
Consider the same bond but with semi-annual coupons.
>
|
|
Calculate the bond's clean price given its yield and vice-versa.
>
|
|
| (16) |
>
|
|
| (17) |
>
|
|
| (18) |
>
|
|
| (19) |
>
|
|
| (20) |
>
|
|
| (21) |
Note that since the bond has semi-annual coupons, the Compounded yield is based on semi-annual compounding.
>
|
|
| (22) |
>
|
|
| (23) |
>
|
|
| (24) |
|
|
See Also
|
|
Finance[AccruedInterest], Finance[DayCounter], Finance[DirtyPrice], Finance[EvaluationDate], Finance[FixedCouponBond], Finance[FloatingRateBond], Finance[FormatDate], Finance[ParseDate], Finance[Settings], Finance[YearFraction], Finance[YieldFromCleanPrice], Finance[YieldFromDirtyPrice], Finance[ZeroCouponBond]
|
|
Download Help Document
Was this information helpful?