calculate an interest rate implied by the given compound factor - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Finance : Interest Rates : Finance/ImpliedRate

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.

Examples

withFinance:

rate1:=0.06:

compound1:=CompoundFactorrate1,1.0,compounding=Monthly

compound1:=1.061677812

(1)

rate2:=ImpliedRatecompound1,1.0,Monthly

rate2:=0.06000000013

(2)

cmpdlist:=1.2,1.05,1.8:

timelist:=0.2,2.5,3.2:

ratelist:=ImpliedRatecmpdlist,timelist,Monthly

ratelist:=0.9471277103855850.07315067999935910.05711095940567730.2464473766291950.01953194414199810.01525661660500793.330093011687020.2374330703761750.185096348508025

(3)

rate3:=ZeroCurve0.05,referencedate=January 2, 2005

rate3:=moduleend module

(4)

compound3:=CompoundFactorrate3,January 2, 2006

compound3:=1.051271096

(5)

ImpliedRatecompound3,January 2, 2005,January 2, 2006,Continuous

0.04999999964

(6)

ImpliedRatecompound3,January 2, 2005,January 2, 2006,Monthly

0.05010431113

(7)

ImpliedRatecompound3,January 2, 2005,July 5, 2005,Simple,daycounter=Historical

0.1017062502

(8)

ImpliedRatecompound3,January 2, 2005,July 5, 2005,Simple,daycounter=Thirty360USA

0.1008611725

(9)

See Also

Finance[CompoundFactor], Finance[DiscountCurve], Finance[DiscountFactor], Finance[EquivalentRate], Finance[ForwardCurve], Finance[ForwardRate], Finance[ParRate], Finance[ZeroCurve]

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.


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam