How to calculate OAS in QuantLib?

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

How to calculate OAS in QuantLib?

Le Shi

Can I use QuantLib to calculate Option Adjusted Spread (OAS) duration and convexity of Callable Fixed Rate Bond? Where is the functions?

 

I already finished bond.cpp and cashflows.cpp, but couldn’t find it.


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: How to calculate OAS in QuantLib?

Luigi Ballabio
On Wed, 2010-11-17 at 16:31 -0600, Le Shi wrote:
> Can I use QuantLib to calculate Option Adjusted Spread (OAS) duration
> and convexity of Callable Fixed Rate Bond? Where is the functions?

They're not yet available, as far as I know.

Luigi


--

Though this be madness, yet there is method in't.
-- Hamlet, Act II, scene II



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users