Brazilian Swap

A Brazilian Swap is a type of swap where the floating rate is calculated using an average rate and has only one payment, which occurs at maturity.

The average rate used for the Floating Leg is the Average One-Day Interbank Deposit (aka CDI rate, or overnight DI rate) which is an annual rate and is calculated daily by the Central of Custody and Financial Settlement of Securities (CETIP). It represents the average rate of all inter-bank overnight transactions in Brazil.

Valuation and pricing
The Brazilian swap has only one payment which occurs at maturity and pricing is done using the CDI rate.

The fixed leg notional accretes daily from the effective date as:


 * $$Notional_\text{fixed leg}(t) = N \times \prod_{i=0}^{n-1} \left( 1 + \kappa \right)^ {(\frac{1}{252})} $$

where

t = the time, N = the initial notional, κ = the fixed rate, and n = the number business days between the effective date and the time t.

Similarly, the floating leg accumulates daily accruals from the effective date as:


 * $$Notional_\text{floating leg}(t) = N \times \prod_{i=0}^{n-1} \left( 1 + r_i \right)^ {(\frac{1}{252})} $$

where

ri = CDI rate at date i.

The CDI rate is an annualized rate (R) paying:


 * $$\left[ 1 + R(t) \right]^ {(\frac{1}{252})} $$