Conceptually, Z-Spread is calculated from one interest rate scenario, for
example zero curve. Why Hull-White model is used?
Look at the implementation, the dirtyPriceFromZSpreadFunction() only use
the cashflow (coupons) and discount with the spreadedCurve as the discount
curve. There is no option involved at all.
I have been thinking of how to implement a member function to calculate
the OAS (option adjusted spread) and price from OAS. In fact, such a
function will be much useful than Yield practically and Z-Spread should be
only its simple case. However, with currently design, for each iteration
for OAS finding, a new curve has to be initialized and is not efficient.
It would be much easier and efficient if the rollback function can accept
a spread parameter.
I may be wrong about it.
Thanks,
gigifaye29 <xin.chen@tdam.com>
03/02/2009 11:11 AM
To
quantlib-users@lists.sourceforge.net
cc
Subject
Re: [Quantlib-users] QuantLib::Bond::cleanPriceFromZSpread
If the call date equals the evaluation date, the engine might consider it
as
expired. What happens if you try a bond that will be called one day after
the evaluation date?
Luigi
*****
Thanks Luigi. Isn't that though, if the engine( I am using Hull-White)
considers it as expired, the price should be very close to strike?
Yes I tried using the evaluation date just before the next call date, the
calculated price still not capped to strike as I would expect.
Am I missing anything here?
Thx,
Xinc
*****
gigifaye29 wrote:
>
> Can anyone help clarify my question?
>
> 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?
>
> I got confused because the terminology z-spread(zero volatility spread)
is
> used in non-option setting but if this function simply just discounts
all
> unadjusted cashflows then it is not special to this callable bond class
> anymore.
>
> If it does discount adjusted cashflows, then shouldn't the spread called
> OAS instead of z-spread?
>
> Appreciate your correction on my misunderstanding,
> Xinc
>
--
View this message in context:
http://www.nabble.com/QuantLib%3A%3ABond%3A%3AcleanPriceFromZSpread-tp22183771p22291035.htmlSent from the quantlib-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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-----------------------------------------
________________________________________________________
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email
in error, please notify us immediately and delete the email and any
attachments from your system. The recipient should check this email
and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted
by this email.
------------------------------------------------------------------------------
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