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[FloatingRateBond] - create new floating-rate bond
Calling Sequence
FloatingRateBond(redemptionvalue, maturity, timeunit, rate, spreads, options)
FloatingRateBond(redemptionvalue, maturitydate, rate, spreads, options)
Parameters
redemptionvalue
-
bonds redemption value
maturitydate
a date specified in a format recognized by the ParseDate command; maturity date
maturity
a nonnegative integer specifying the quantity of the time units
timunit
Days, Weeks, Months, or Years; time units
rate
benchmark rate data structure; variable rate
spreads
a list or Vector of the spreads on the interest rate
opts
(optional) equation(s) of the form option = value where option is one of calendar, convention, frequency, daycounter, issuedate, or settlementdays; specify options for the FloatingRateBond command
Description
The FloatingRateBond commands creates a new floating-rate bond with the specified parameters. It is assumed that the face value of the bond is .
Options
calendar = a name representing a supported calendar (e.g. Toronto, NewYork) or a calendar data structure created using the Calendar constructor -- This option can be used to specify the underlying calendar.
convention = Unadjusted, Preceding, ModifiedPreceding, Following, ModifiedFollowing, or MonthEndReference -- This option can be used to specify business day conventions. The default value is Following.
daycounter = a name representing a supported day counter (e.g. ISDA, Simple) or a day counter data structure created using the DayCounter constructor -- This option provides a day counter that will be used to convert the period between two dates to a fraction of the year.
frequency = Annual, Semiannual, EveryFourthMonth, Quarterly, Bimonthly, or Monthly -- This option specifies coupon frequency. The default value is Annual.
issuedate = a string containing a date specification in a format recognized by ParseDate or a date data structure -- This option provides the issue date of a bond. It is set to the global evaluation date by default.
settlementdays = positive integer -- This option specifies the number of settlement days. The default value is 1.
Compatibility
The Finance[FloatingRateBond] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Get the set of cash flows for your bonds.
Calculate the clean price and the dirty price for your bond using the fixed rate of 5% as the discount rate.
Calculate the bond's yield using the previous discount rate.
Note that the face value is always and the coupon payments are calculated based on this rate.
See Also
Finance[CleanPrice], Finance[DirtyPrice], Finance[FixedCouponBond], Finance[YieldFromCleanPrice], Finance[YieldFromDirtyPrice], Finance[ZeroCouponBond]
References
Brigo, D., Mercurio, F., Interest Rate Models: Theory and Practice. New York: Springer-Verlag, 2001.
Glasserman, P., Monte Carlo Methods in Financial Engineering. New York: Springer-Verlag, 2004.
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
Download Help Document