Hello everyone! (sorry but my last message didn't hava a subject)
I have de following examples included within ZC.zip.
the makefile
1. Makefile
the sources
2. ZeroCouponBondFlatForwardCurve.cpp
3. ZeroCouponBondForwardCurve.cpp
4. ZeroCouponBondForwardSpreadedCurve.cpp
5. ZeroCouponBondDiscountCurve.cpp
the outputs
6. ZeroCouponBondFlatForwardCurve.txt
7. ZeroCouponBondForwardCurve.txt
8. ZeroCouponBondForwardSpreadedCurve.txt
9. ZeroCouponBondDiscountCurve.txt
the Excel version!
ZC.xls
calculating clean prices for date 26-11-2008 the worksheet returns:
qlFlatForwardCurve = 97.9451
qlForwardCurve = 97.8668
qlForwardSpreadedTermStructure = 97.8618
qlDiscountCurve = 97.7643
while C++ examples return:
ZeroCouponBondFlatForwardCurve.cpp = 97.9451
ZeroCouponBondForwardCurve.cpp = 97.8668
ZeroCouponBondForwardSpreadedCurve.cpp = 97.8618
ZeroCouponBondDiscountCurve.cpp = 0.0260461
As you all can see, almost all results are coherent except for the last one (discount curve)
could anybody tell me what I am doing wrong?
does anybody when i can find some information on what are the actual c++ classes and methods used within excel ql wrappers?
thanks in advance,
Regards,
Eduardo.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users