Adding a payoff function
Posted by Nicolas Magnette on
URL: http://quantlib.414.s1.nabble.com/Adding-a-payoff-function-tp2939.html
Hi,
I need to add a very special payoff function for an
exotic index option. I simply added it in
Instruments\payoff.hpp, but am unable to compile files
which use it. I always get a undefined reference to
vtable for Quantlib::Mypayoff. I tried to recompile
the whole library with my modified payoffs.hpp, but
this did not help. Does anyone have an idea how I
could make this work?
Thanks,
Nicolas Magnette