Create a general fixed leg of a swap.

Description

Create a general fixed leg of a swap.

Example Sheet

GeneralSwap.xlsx

Arguments

  • objectName The name of the object to be created.
  • currency The currency of the cashflows.(Currency)
  • paymentDates The dates on which the payments are made.(Date)
  • notionals The notionals on which the payments are based.
  • rates The simple rates that are paid at each payment date.
  • accrualFractions The accrual fraction to be used in calulating the fixed flow. Will depend on the daycount convention agreed in the contract.