Hi,
I'm looking at BondFunction::basisPointValue and comparing it to the crude approach of manually calculating the dirty price of a bond, shocking the YTM by a basis point and recalculating the value and taking the difference. Two 2 values seem to differ a lot, and for some of my bonds (especially the longest bonds) the values are quite different, e.g. -0.1143606982 vs -0.1531900216 per 100 nominal.
I can see that the basisPointValue() uses 2nd order Taylor expansion as estimation, so do you think the reason for the difference is that the Taylor expansion method isn't accurate enough?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users