Finance[FairSpread] - return the fair spread of interest rate swap
|
Calling Sequence
|
|
FairSpread(swap, discountrate)
|
|
Parameters
|
|
swap
|
-
|
swap data structure; interest rate swap
|
discount
|
-
|
non-negative constant of a yield term structure; discount rate
|
|
|
|
|
Description
|
|
•
|
The FairSpread command returns the fair spread of the given interest rate swap.
|
|
|
Compatibility
|
|
•
|
The Finance[FairSpread] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
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.
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
Consider two simple swaps that exchange the first set of payments with the second set.
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
Consider the same simple swaps that use the fair spread.
>
|
|
| (13) |
>
|
|
| (14) |
>
|
|
| (15) |
>
|
|
| (16) |
|
|
Download Help Document
Was this information helpful?