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[Cap] - create new interest rate cap
Calling Sequence
Cap(floatingleg, exerciserates)
Parameters
floatingleg
-
list of floating-rate coupons; floating leg
exerciserates
non-negative number or a list of non-negative numbers; exercise rates
Description
The Cap command creates a new interest rate cap instrument with the specified parameters. This instrument can be viewed as a payer interest rate swap where each exchange payment is executed only if it has positive value. (see Brigo and Mercurio (2001) for more details).
Assume that we have a set of coupon payments to occur at the times , , ..., . At each time instance the cap pays
where
is the nominal value,
is the year fraction between dates and ,
is a coupon payment at the time ,
is the fixed rate at time .
The parameter floatingleg defines floating-rate coupon payments. The parameter exerciserates defines the corresponding fixed rates. The first exercise rate corresponds to the first floating rate coupon, the second exercise rate corresponds to the second floating rate coupon, etc. If the size of the exerciserates list is smaller than the size of the floatingleg list then the last exercise rate will be used for all the remaining coupons.
The LatticePrice command can be used to price an interest rate cap using any given binomial or trinomial tree. The BlackPrice command will compute the price of an interest rate cap using the Black model.
Compatibility
The Finance[Cap] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Set the global evaluation date. This date is taken as the reference date for all yield curves and benchmark rates unless another date is specified explicitly.
The nominal amount is 100.
Create a 6-month EURIBOR benchmark rate with forecasted rate of 5%. No history is available for this rate.
Construct a discount interest rate curve.
Construct floating leg payments.
Construct an interest rate cap with a fixed cap rate of 7% for all payments in the floating leg.
Price this instrument using the Black model with a discount rate of 5% and a volatility of 20%.
See Also
Finance[BlackPrice], Finance[Collar], Finance[FixedRateCoupon], Finance[Floor], Finance[InArrearIndexedCoupon], Finance[InterestRateSwap], Finance[LatticePrice], Finance[ParCoupon], Finance[SimpleCashFlow], Finance[UpFrontIndexedCoupon]
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