Login  Register

Re: Swap Price QuantLib vs. Bloomberg

Posted by Kim Kuen Tang on Mar 24, 2010; 1:20pm
URL: http://quantlib.414.s1.nabble.com/Swap-Price-QuantLib-vs-Bloomberg-tp8510p8511.html


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:
>
> Here are the questions
> Why do I have differences with Bloomberg.
> Is QuantLib coherent with Blmbg?
>  
This has nothing to do with ql. A yc is uniquely determined by its
calibration instruments ( bonds, futures, swap,..) and other conventions
( interpolations, daycounter,...)
If everythings are equivalent then the resulting ycs should be the same
and as a consequence the pricing should also be the same.

Cheers,
Kim

> Why the market value of each leg is so different (Blmg vs QuantLib)?
> (example QuantLIb FixLegNPV = 1042596.49   and Blmbg FixLegNPV = 9904395.99)
>
> Tks
> David
> http://old.nabble.com/file/p28014072/QL_Blmbg.zip QL_Blmbg.zip
>  


------------------------------------------------------------------------------
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