Fair Spread

Function Fair Spread within
Vanilla IRS with keys Vanilla IRS Fair Spread keys returns the spread that the referenced swap needs to have at its floating rate leg in order to have a net present value of zero.
This function takes two yield curves as input: One for forecasting the swap's floating rates and one for discounting all cash flows back to the present.
It may also require historical index fixings if the index needs them.