Re: QuantLib::Bond::cleanPriceFromZSpread

Posted by gigifaye29 on
URL: http://quantlib.414.s1.nabble.com/QuantLib-Bond-cleanPriceFromZSpread-tp7310p7328.html

Thanks. Just one more question on this topic

For parameters to feed the pricing engines,  volatility and reversion in particular,  are the functions taking *annualized* numbers?

Thx again,
Xinc

Luigi Ballabio wrote
On Tue, 2009-02-24 at 13:49 -0800, gigifaye29 wrote:
> In the CallableBonds Class,  does the member function
> "cleanPriceFromZSpread(...)"  calculate a clean price by discounting the
> *unadjusted* cash flows, OR  *adjusted* cash flows(prices on each note
> revised to strike if option in the money),  by interest tree note rates plus
> z-spread?

Unadjusted. The method is inherited from the generic Bond class and does
not take callability into account.

Luigi


--

Testing can never demonstrate the absence of errors in software, only
their presence.
-- W.E. Dijkstra



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-users mailing list
QuantLib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/quantlib-users