|
From: Chirag D. <chi...@ya...> - 2026-03-14 04:41:29
|
Thank you Mr Luigi
1) I added in ql.i and recompiled Quantlib as well
2) I get error messages now when building the wheel stating FXForward class cannot be found. I have attached the error messages.
Build was successful
On Friday, March 13, 2026 at 10:50:47 PM GMT+8, Luigi Ballabio <lui...@gm...> wrote:
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 AllI built Quantlib with the newfxforward.hpp, fxforward.cpp , fxforwarddiscountingengine hpp.cpp which I had recently contributed and successfullyin my own version of Quantlib 1.41. All tests work
I placed my fxforward.i file andswig runs successfully
The wheel is generated successfully
I am able to pip install the wheeland successfully can “import Quantlib as ql” and also can run certain Pythonfiles under SWIG in Examples and Tests (european-option.py,test_blackformula.py)
For some reason my FX Forward testsall fail. (attached test_fxforward.py)
How do I check if my FXForward classwas successfully exposed to the Python API ? If any tools available ?
When I do ql. there is no dropdown either in IDE like VSCodeto see what ql functions are being exposed in Python ?
Thank you all
|