Bojan Nikolic: Using and Understanding the QuantLib Addin

[website home] | [BN Algorithms]

qlVanillaSwapFairRate – compute the fair fixed rate for a IR swap

Computes and returns the fair interest rate for the fixed leg of an IR swap, i.e., the interest rate which would make the present value of the entire swap. For the actual rate of the fixed leg, see the qlVanillaSwapFixedRate function.

Usage:

=qlVanillaSwapFairRate(<VanillaSwap>)
<VanillaSwap>

Object ID of a vanilla IR swap object