Finance[BenchmarkRate] - create a benchmark rate
|
Calling Sequence
|
|
BenchmarkRate(forecast, opts)
BenchmarkRate(tenor, units, familyname, forecast)
|
|
Parameters
|
|
tenor
|
-
|
positive integer; length of the tenor
|
units
|
-
|
Days, Weeks, Months, or Years; time units
|
familyname
|
-
|
family name; can be one of the following: AUDLIBOR, CADLIBOR, CDOR, CHFLIBOR, DKKLIBOR, EURIBOR, GBPLIBOR, JIBAR, JPYLIBOR, NZDLIBOR, TIBOR, TRLIBOR, USDLIBOR, ZIBOR
|
forecast
|
-
|
yield term structure; forecasted rate or term structure
|
|
|
|
|
Description
|
|
•
|
The BenchmarkRate(forecast, opts) calling sequence creates a new benchmark rate with the specified calendar, day count and business day conventions.
|
•
|
The BenchmarkRate(tenor, units, familyname, forecast) command creates one of the standard benchmark rates (e.g. one of the LIBOR rates). In this case standard market calendar, day count and business day conventions will be used.
|
•
|
The parameter tenor is the length of the tenor. The parameter units specifies time units for the tenor. The parameter familyname is the family name for the benchmark index.
|
•
|
The parameter forecast is the forecasted rate. For dates preceding the global evaluation date historic data can be used (see the LoadHistory command). Otherwise the forecasted interest rate is used.
|
|
|
Compatibility
|
|
•
|
The Finance[BenchmarkRate] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
Set defaults assumed by the USDLIBOR rate.
>
|
|
| (1) |
Create a 6-month USD LIBOR rate and use float rate of 7% as forecast.
>
|
|
| (2) |
This will throw an error since not historic data is available to the given benchmark rate. On the other hand, the forecasted interest rate is used only for dates after the global evaluation date.
>
|
|
Load history for this rate.
>
|
|
Note that historic data is used only for dates preceding the global evaluation date. Otherwise the forecasted interest rate is used.
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
|
|