Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Finance[CompoundFactor] - return a compound factor for the specified date or time
Calling Sequence
CompoundFactor(rate, time, opts)
CompoundFactor(rate, date, opts)
Parameters
rate
-
real constant, list(realcons), Vector or a yield term structure; given interest rate
time
non-negative real number, list(non-negative), or Vector; time in years
date
a string containing a date specification in a format recognized by ParseDate or a date data structure; date
opts
equations of the form option = value where option is one of referencedate, compounding, or daycounter; specify options for the CompoundFactor command
Description
The CompoundFactor(rate, time, opts) calling sequence computes the compound factor at the specified time corresponding to the given interest rate. The interest rate and time can be given as lists in which case the array or their combinations are returned.
The CompoundFactor(rate, date, opts) calling sequence computes the compound factor on the specified date corresponding to the given interest rate. The value of the daycounter option is used to compute the distance between date and the reference date (which is set to the global evaluation date by default).
Options
compounding = Simple, Continuous, Annual, Semiannual, EveryFourthMonth, Quarterly, Bimonthly, Monthly, SimpleThenAnnual, SimpleThenSemiannual, SimpleThenEveryFourthMonth, SimpleThenQuarterly, SimpleThenBimonthly, SimpleThenMonthly -- This option specifies the compounding type for the given interest rate.
daycounter = Actual360, Actual365Fixed, AFB, Bond, Euro, Historical, ISDA, ISMA, OneDay, Simple, Thirty360BondBasis, Thirty360EuroBondBasis, Thirty360European, Thirty360Italian, Thirty360USA, or a day counter data structure created using the DayCounter constructor -- This option provides a day counter which will be used to convert the period between two dates to a fraction of the year. The default day count convention can be set using the Settings command.
referencedate = a string containing a date specification in a format recognized by ParseDate or a date data structure -- This option specifies the reference date, that is, the date when the compound factor is equal to 1.
Compatibility
The Finance[CompoundFactor] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
See Also
Finance[DayCounter], Finance[DiscountCurve], Finance[DiscountFactor], Finance[EquivalentRate], Finance[ForwardCurve], Finance[ForwardRate], Finance[ParRate], Finance[ParseDate], Finance[YieldFromCleanPrice], Finance[YieldFromDirtyPrice], Finance[ZeroCurve]
Download Help Document