Finance[ImpliedRate] - calculate an interest rate implied by the given compound factor
|
Calling Sequence
|
|
ImpliedRate(compound, interval, compounding)
ImpliedRate(compound, startdate, enddate, compounding, opts)
|
|
Parameters
|
|
compound
|
-
|
non-negative constant, list(non-negative), or Vector greater or equal to 1; compound factor
|
interval
|
-
|
non-negative constant, list(non-negative), or Vector; length of the compounding interval in years
|
compounding
|
-
|
Annual, Bimonthly, Continuous, EveryFourthMonth, Monthly, Quarterly, Semiannual, Simple, SimpleThenAnnual, SimpleThenBimonthly, SimpleThenEveryFourthMonth, SimpleThenMonthly, SimpleThenQuarterly, or SimpleThenSemiannual; compounding type for the desired interest rate
|
startdate
|
-
|
a string containing a date specification in a format recognized by ParseDate or a date data structure; start of the compounding interval
|
enddate
|
-
|
a string containing a date specification in a format recognized by ParseDate or a date data structure; end of the compounding interval
|
opts
|
-
|
equation of the form option = value where option is daycounter; specify options for the ImpliedRate command
|
|
|
|
|
Description
|
|
•
|
The ImpliedRate(compound, interval, compounding) calling sequence calculates an interest rate implied by the given compound factor, for the specified compounding interval and compounding type. The parameter compound is the compound factor; it should be a constant greater than or equal to 1. The parameter interval is the length of the compounding period. These can also be entered as lists, in which case an array of their combinations is returned. Alternatively, one can specify the compounding interval by giving the start date, end date and a day count convention. The compounding parameter is the compounding type.
|
|
|
Options
|
|
•
|
daycounter = Actual360, Actual365Fixed, AFB, Bond, Euro, Historical, ISDA, ISMA, OneDay, Simple, Thirty360BondBasis, Thirty360EuroBondBasis, Thirty360European, Thirty360Italian, Thirty360USA, or a day counter data structure -- This option specifies the convention used to convert the duration between two dates to year fractions.
|
|
|
Compatibility
|
|
•
|
The Finance[ImpliedRate] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
|
|
References
|
|
|
Brigo, D., Mercurio, F., Interest Rate Models: Theory and Practice. New York: Springer-Verlag, 2001.
|
|
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
|
|
Kellison, S.G., Theory of Interest, 2nd edition, Irwin: McGraw-Hill, 1991.
|
|
|