You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am here to ask a question about the QuantLib wrapper in Python. I would like to use the G2 class to have a Two-additive-factor Gaussian model and I would like to have the discount coupon of this model.
Hi Luigi,
I am here to ask a question about the QuantLib wrapper in Python. I would like to use the G2 class to have a Two-additive-factor Gaussian model and I would like to have the discount coupon of this model.
I saw that on C++ the G2 class (https://www.quantlib.org/reference/class_quant_lib_1_1_g2.html) has methods discountBond and discountBondOption. How can I use these methods in python? I don't see them available.
Below is the example code
The error:
Thanks a lot!
The text was updated successfully, but these errors were encountered: