|
From: Luigi B. <lui...@gm...> - 2026-03-13 14:50:52
|
Hi Chirag, did you add your fxforward.i to the files included in ql.i ? Luigi On Fri, Mar 13, 2026 at 7:42 AM Chirag Desai <chi...@ya...> wrote: > Hi All > I built Quantlib with the new fxforward.hpp, fxforward.cpp , > fxforwarddiscountingengine hpp.cpp which I had recently contributed and > successfully in my own version of Quantlib 1.41. All tests work > > I placed my fxforward.i file and swig runs successfully > > The wheel is generated successfully > > I am able to pip install the wheel and successfully can “import Quantlib > as ql” and also can run certain Python files under SWIG in Examples and > Tests (european-option.py, test_blackformula.py) > > For some reason my FX Forward tests all fail. (attached test_fxforward.py) > > How do I check if my FXForward class was successfully exposed to the > Python API ? If any tools available ? > > When I do ql. there is no dropdown either in IDE like VSCode to see what > ql functions are being exposed in Python ? > > Thank you all > > > > > |