NelsonSiegelFitting parameters in QuantLib Python

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NelsonSiegelFitting parameters in QuantLib Python

tarpanelli@libero.it
Hello,
just a quick question: I am using QuantLib-Python, is it possible to extract the calibrated parameters from the NelsonSiegelFitting method?If yes, could you just show me how to do it?
thanks
Best regards
Paolo



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: NelsonSiegelFitting parameters in QuantLib Python

Luigi Ballabio
If `curve` is the fitted term structure, curve.fitResults().solution() will give you the array of fitted parameters.  For their interpretation depending on the fitting method used, you'll have to check the code of the methods.

Luigi


On Thu, Apr 13, 2017 at 7:46 AM [hidden email] <[hidden email]> wrote:
Hello,
just a quick question: I am using QuantLib-Python, is it possible to extract the calibrated parameters from the NelsonSiegelFitting method?If yes, could you just show me how to do it?
thanks
Best regards
Paolo


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users