Let I build an object of class Bond whose issue date argument is not set equal to today date but, as instance, 1Y in the future (e.g. 9-Oct-2014).
Then I get the clean price from the Bond object: is this price already discounted by the YieldCurve used to discount coupons? Actually the bond cannot be traded until the issue date, then its price today should be lower than the one I would accept to pay if I could trade now. |
In real life there is no such a contract where you pay for a bond now and get it delivered an year from now. One would take gigantic counterparty risk.
What you are describing looks more like forward contract on a bond. In that case you will pay for that bond an year from now and forward rate will be function of yield curve. If it is upward sloping yield curve than forward yield will be higher that today i.e price lower than today. |
There are bonds that trade when-issued, but the actual trade date is not one year in advance. Perhaps you are talking about when-issued? If so, there's no counterparty risk.
Dale Smith, Ph.D. Senior Financial Quantitative Analyst Financial & Risk Management Solutions Fiserv Office: 678-375-5315 www.fiserv.com -----Original Message----- From: imachabeli [mailto:[hidden email]] Sent: Friday, October 11, 2013 9:23 AM To: [hidden email] Subject: Re: [Quantlib-users] Of pricing bonds whose IssueDate is in the future: is BondCleanPrice already discounted? In real life there is no such a contract where you pay for a bond now and get it delivered an year from now. One would take gigantic counterparty risk. What you are describing looks more like forward contract on a bond. In that case you will pay for that bond an year from now and forward rate will be function of yield curve. If it is upward sloping yield curve than forward yield will be higher that today i.e price lower than today. -- View this message in context: http://quantlib.10058.n7.nabble.com/Of-pricing-bonds-whose-IssueDate-is-in-the-future-is-BondCleanPrice-already-discounted-tp14571p14577.html Sent from the quantlib-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
To Dale Smith:In any case the price of the bond should not be discounted to today's date. It will be forward price.
To Lisa Ann: you should check if pv of forward clean price is really required. |
Dear imachabeli and Dale Smith,
I tried to produce a suitable example to make you to figure out what such a situation (i.e. one in which a "forward" price is required) would be... and I've found the following simple case. Let you have a Fixed-To-Floater bond whose coupon is currently fixed but that will pay a floating rate starting on October 2014. Let someone asks you for the price of the floating part only: this is quite easy, due to the fact that the floating component is just a plain vanilla FRN and you can use QuantLib to get its clean price with little effort. The only issue could be in the discounting: if the floating rate part is tradable just from 10th of October 2014, this means that the first floating coupon is discounted by the corresponding zero rate from the yield curve. My question: if I set IssueDate = 10-Oct-2014, does the pricing engine takes the corresponding 1Y discount factor from the yield curve to discount the whole price of the bond? Does the engine return me the discounted clean price assuming the first coupon to start the accrued interest from 10-Oct-2014 and not from today date? After several trials it seems to me that the clean price obatined in such a way should be further discounted to get its present value. |
The issue date won't enter the pricing. The pricing engine takes into
account the reference date of the discount curve. If it's set to today's date, the coupons will be discounted to today's date. If you want them to be discounted to the issue date, you can either: - assuming you built the bond with just the coupons you need (i.e., you didn't include the fixed coupons) you can get the price from the bond and divide it by the discount factor from today to the issue date (that you can retrieve easily from the discount curve); or - use as discount curve an instance of the ImpliedTermStructure class, which performs the adjustment for you automatically. Luigi On Fri, Oct 11, 2013 at 5:40 PM, Lisa Ann <[hidden email]> wrote: > Dear imachabeli and Dale Smith, > > I tried to produce a suitable example to make you to figure out what such a > situation (i.e. one in which a "forward" price is required) would be... and > I've found the following simple case. > > Let you have a Fixed-To-Floater bond whose coupon is currently fixed but > that will pay a floating rate starting on October 2014. > > Let someone asks you for the price *of the floating part only*: this is > quite easy, due to the fact that the floating component is just a plain > vanilla FRN and you can use QuantLib to get its clean price with little > effort. > > The only issue could be in the discounting: if the floating rate part is > tradable just from 10th of October 2014, this means that the first floating > coupon is discounted by the corresponding zero rate from the yield curve. > > My question: if I set IssueDate = 10-Oct-2014, does the pricing engine takes > the corresponding 1Y discount factor from the yield curve to discount the > whole price of the bond? > > Does the engine return me the discounted clean price assuming the first > coupon to start the accrued interest from 10-Oct-2014 *and not from today > date*? > > After several trials it seems to me that the clean price obatined in such a > way should be further discounted to get its present value. > > > > -- > View this message in context: http://quantlib.10058.n7.nabble.com/Of-pricing-bonds-whose-IssueDate-is-in-the-future-is-BondCleanPrice-already-discounted-tp14571p14580.html > Sent from the quantlib-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > _______________________________________________ > QuantLib-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-users -- <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |