Finance[BermudanSwaption] - create a new Bermudan swaption
|
Calling Sequence
|
|
BermudanSwaption(irswap, exercisetimes, opts)
BermudanSwaption(irswap, exercisedates, opts)
|
|
Parameters
|
|
irswap
|
-
|
interest rate swap data structures; interest rate swap
|
exercisedates
|
-
|
list of dates given in a format recognized by ParseDate or a date data structure; dates when the option can be exercised
|
exercisetimes
|
-
|
list of non-negative constants; times when the option can be exercised
|
opts
|
-
|
(optional) equation(s) of the form option = value where option is one of referencedate or daycounter; specify options for the BermudanSwaption command
|
|
|
|
|
Description
|
|
•
|
The BermudanSwaption command creates a new Bermudan-style swaption on the specified interest rate swap. This swaption can be exercised at any time or date given in the exercisetimes or exercisedates list.
|
•
|
The parameter irswap is the underlying interest rate swap (see InterestRateSwap for more details).
|
•
|
The parameter exercisedates specifies the dates when the swaption can be exercised. It has to be given as a list of dates in any of the formats recognized by the ParseDate command. The exercise times will be computed by converting the period between referencedate and the corresponding exercise date to a fraction of the year according to the day count convention specified by daycounter. Alternatively, one can specify exercise times directly using the exercisetimes parameter. In this case the referencedate and daycounter options are ignored.
|
•
|
The LatticePrice command can be used to price a Bermudan-style swaption using any given binomial or trinomial tree.
|
|
|
Options
|
|
•
|
referencedate = a string containing a date specification in a format recognized by ParseDate or a date data structure -- This option provides the evaluation date. It is set to the global evaluation date by default.
|
•
|
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. This option is used only if one of earliestexercise or latestexercise is specified as a date.
|
|
|
Compatibility
|
|
•
|
The Finance[BermudanSwaption] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
Construct an interest rate swap receiving the fixed-rate payments in exchange for the floating-rate payment.
>
|
|
| (10) |
Compute the at-the-money rate for this interest rate swap.
>
|
|
| (11) |
Construct three swaps.
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
Here are cash flows for the paying leg of your interest rate swap.
>
|
|
| (15) |
Here are cash flows for the receiving leg of your interest rate swap.
>
|
|
| (16) |
These are days when coupon payments are scheduled to occur.
>
|
|
| (17) |
Set up exercise dates.
>
|
|
| (18) |
Construct three swaptions that can be exercised on any of the previous dates.
>
|
|
| (19) |
>
|
|
| (20) |
>
|
|
| (21) |
Price these swaptions using the Hull-White trinomial tree.
>
|
|
| (22) |
>
|
|
| (23) |
>
|
|
| (24) |
>
|
|
| (25) |
>
|
|
| (26) |
Price our swaptions using the tree constructed above.
>
|
|
| (27) |
>
|
|
| (28) |
>
|
|
| (29) |
You can also price these swaptions using an explicitly constructed trinomial tree.
>
|
|
| (30) |
>
|
|
| (31) |
Price the swaptions using the second tree.
>
|
|
| (32) |
>
|
|
| (33) |
>
|
|
| (34) |
|
|
See Also
|
|
Finance[BermudanSwaption], Finance[BinomialTree], Finance[BlackScholesBinomialTree], Finance[BlackScholesTrinomialTree], Finance[EuropeanSwaption], Finance[GetDescendants], Finance[GetProbabilities], Finance[GetUnderlying], Finance[ImpliedBinomialTree], Finance[ImpliedTrinomialTree], Finance[LatticeMethods], Finance[LatticePrice], Finance[MultinomialTree], Finance[SetDescendants], Finance[SetProbabilities], Finance[SetUnderlying], Finance[StochasticProcesses], Finance[TreePlot], Finance[TrinomialTree]
|
|
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.
|
|
|