|
Hi,
I tried to use the python binding instead of C++ but it seems that if I want
to do anything that is not in quantlib, I still need to program them in C++
then expose my implementation in SWIG, instead of implementing the logic in
python. Is this the intended usage of the binding ?
For example, the Hull White short rate model binding in python is exposed as
the top level short rate model class instead of the Hull White C++ class. As
a result, I cannot access those public members that is supposed to be in
Hull White like tree(), dynamics(), discount(), discountBond().
What I want to do is to implment some simple MBS using Monte Carlo and the
Hull White model, kind of following the path of the Discrete Hedging
example.
thanks for any pointer or help in advance.
regards,
gary
|