Login  Register

Re: Need some tips in order to price a Brazilian floating rate swap leg

Posted by Luigi Ballabio on Oct 26, 2010; 2:54pm
URL: http://quantlib.414.s1.nabble.com/Need-some-tips-in-order-to-price-a-Brazilian-floating-rate-swap-leg-tp13391p13392.html

On Thu, 2010-09-30 at 23:42 -0300, Piter Dias wrote:

> Here in Brazil we have something called “CDI cash flow” [...] It is
> something like:
>
> ·         Given a CDI Annual Bus/252 rate, a S Annual Bus/252 spread
> and P a % of CDI
>
> ·         Calculate TDI = (1+CDI)^(1/252)-1
>
> ·         Calculate s = (1+S)^(1/252)-1
>
> ·         Calculate f = (1+TDI*P)*(1+s)
>
> Is QuantLib gearing able to behave the same way as “P” above?

No, I don't think so. In the existing coupons, gearing and spread just
work as g*F + s, with F being some fixing.

> Does QuantLib support multiplicative spread (like S, above)?

Same thing.

Luigi


--

The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.
-- Gilbert K. Chesterson



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev