BenchmarkRate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

Finance

  

BenchmarkRate

  

create a benchmark rate

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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.

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.

Error, (in call_proc) USDLibor6m act/360 history not loaded

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)

Compatibility

• 

The Finance[BenchmarkRate] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

Finance[Calendar]

Finance[DayCounter]

Finance[DiscountCurve]

Finance[EquivalentRate]

Finance[ForwardCurve]

Finance[ForwardRate]

Finance[ImpliedRate]

Finance[ParRate]

Finance[ZeroCurve]

 


Download Help Document