Login  Register

Re: Which methods to expose to access Discount/FwdRate?

Posted by Luigi Ballabio on Sep 17, 2007; 8:31pm
URL: http://quantlib.414.s1.nabble.com/Which-methods-to-expose-to-access-Discount-FwdRate-tp1361p1364.html


On Sep 17, 2007, at 8:36 PM, newbie73 wrote:
> I'm using the Python bindings.  I made the changes you suggested, yet
> after
> running the setup.py script again with the new version of the .i file,
> I
> still cannot view the discount method from an instance of the HullWhite
> model.

You have to regenerate the wrappers. You can do this by running

python setup.py wrap

after which running setup.py as usual should give you the new method
(as well as the Vasicek model you added.)

Luigi

P.S. Once you get it working, send me a patch and I'll include it in
next release.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users