FairRate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Finance

  

FairRate

  

return the fair rate of an interest rate swap

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

FairRate(swap, discountrate)

Parameters

swap

-

swap data structure; interest rate swap

discount

-

non-negative constant of a yield term structure; discount rate

Description

• 

The FairRate command returns the fair rate of the given interest rate swap.

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 rate.

(13)

(14)

(15)

(16)

Compatibility

• 

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

• 

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

See Also

Finance[CompoundFactor]

Finance[DiscountFactor]

Finance[FixedRateCoupon]

Finance[InArrearIndexedCoupon]

Finance[ParCoupon]

Finance[SimpleCashFlow]

Finance[UpFrontIndexedCoupon]

Finance[ZeroCurve]

 


Download Help Document