Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Finance[BasisPointSensitivity] - return the basis point sensitivity of future cash flows
Calling Sequence
BasisPointSensitivity(cashflows, discount, opts)
BasisPointSensitivity(swap, discount, opts)
Parameters
cashflows
-
data structure created using the SimpleCashFlow constructor or a list of such data structures; cash flows
swap
cash flow swap or interest rate swap data structure; swap
discount
non-negative constant or a yield term structure; discount rate
opts
equations of the form option = sensitivity where option is one of referencedate or daycounter; specify options for the BasisPointSensitivity command
Description
The BasisPointSensitivity(cashflows, discount, opts) calling sequence returns the basis point sensitivity for the future cash flows discounted with respect to the given discount rate.
The BasisPointSensitivity(swap, discount, opts) calling sequence returns a list containing the basis point sensitivities of the paying leg and the receiving leg of the given swap.
Note that the result is returned in basis points, that is in 1/100th of 1%.
Options
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.
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 discount factor is 1. By default this is set to the global evaluation date (see EvaluationDate).
Compatibility
The Finance[BasisPointSensitivity] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
First set the global evaluation date.
Calculate the basis point sensitivity of 100 dollars to be paid on January 2, 2007.
Here is another example.
Compute the sensitivity of this cash flow on January 1, 2005.
The following example computes the basis point sensitivity for an interest rate swap.
Consider two payment schedules. The first one consists of payments of 5% of the nominal every month between January 3, 2008 and January 3, 2018. The second one consists of payments of 3% of the nominal every quarter between January 3, 2010 and January 3, 2015.
Consider two simple swaps that exchange the first set of payments for the second set.
Compute the basis point sensitivity.
Here is the set of cash flows for the paying leg of each swap.
Here is the set of cash flows for the receiving leg.
See Also
Finance[CompoundFactor], Finance[DayCounter], Finance[DiscountFactor], Finance[FixedRateCoupon], Finance[InArrearIndexedCoupon], Finance[InterestRateSwap], Finance[ParCoupon], Finance[ParseDate], Finance[SimpleCashFlow], Finance[Swap], Finance[UpFrontIndexedCoupon], Finance[ZeroCurve]
Download Help Document