Closed bstemper closed 6 years ago
Is it possible to do this with pure Python skills? If so, I would do it myself. Or is there some kind of guideline available?
@lballabio should this be done is separate SWIG file or merged into existing one? What is the convention? The COSHestonEngine is now in QuantLib at following location: /qt/pricingengines/vanilla/coshestonengine.cpp /qt/pricingengines/vanilla/coshestonengine.hpp
The other Heston-model engines are in SWIG/options.i
. You can add this one there, as well.
Under Python 3.6, QuantLib doesn't recognise the COSHestonEngine. Sample code:
Error:
As far as I understand, the Python call just to be linked to the C++ code. If I knew C++, I would do it myself but unfortunately I don't. Many thanks to whoever could link it.