Well it's a while since i looked at this code. The hedge and the
product should be matched, so that at the first time of exercise we
should get zero. If it's not zero then the code is buggy.
Your analysis is probably correct. This stuff gets fiddly -- we made
sure it works in the obvious cases but it may not do in more subtle
ones.
best
mark
--
Quant Job Interview Questions and Answers is now out: www.markjoshi.com
Assoc Prof Mark Joshi
Centre for Actuarial Studies
University of Melbourne
My website is www.markjoshi.com
-------------------------------------------------------------------------
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-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev