Login  Register

Re: Swap Price QuantLib vs. Bloomberg

Posted by Kim Kuen Tang on Mar 25, 2010; 9:14am
URL: http://quantlib.414.s1.nabble.com/Swap-Price-QuantLib-vs-Bloomberg-tp8510p8513.html


Hi David,

HOORENS David schrieb:
> So if I understand you well, you tell me that by changing the yieldCurve
> I will obtain exactly what Bloomberg gives me
> If it is the case, I can believe you :-)
>  
What i mean is that a fixleg is very trivial. It is only a sum over
fixed * dcf * df.
dcf = daycountfraction, df = discountfactor
 So u should get the same as from bloomberg. Did you double check ur
fixedleg ?  And did you really pass the yc correctly to ql?

> But I have a problem with the fixed and floating leg values. Why are
> they so different
> FixLeg: QL = ~1MM
> FixLeg: Blmbg: = ~10MM
> ??
>
> Tks
> David
>
>
> -----Original Message-----
> From: Kim Kuen Tang [mailto:[hidden email]]
> Sent: mercredi 24 mars 2010 14:21
> To: HOORENS David
> Cc: [hidden email]
> Subject: Re: [Quantlib-users] Swap Price QuantLib vs. Bloomberg
>
>
> Hi David,
>
> without going into detail of your code i would say that this is related
> in the way how you created the yc in quantlib.
> You should get the same result from blmbg if the discountfactors
> together with the maturities are correctly passed to ql.
> I would say just double check your yc in ql again and the leg you
> created. ( Better dont take the discountfactors from blmbg, take the
> swap quotes from blmbg and bootstrap a yc in ql, then compare the
> discountfactors between blmbg and ql)
>
>
> dhoorens schrieb:
>  


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users