Fixed income bonds: How to deal with ex-dividend trading
Afficher commentaires plus anciens
Is there some predefined functionality in MATLAB and/or its toolboxes to deal with fixed income calculations (accrued interest; pricing given a yield curve; yield to maturity<-->price conversion; etc.) for bonds that trade ex-dividend?
(Just to avoid misunderstandings: this is not about equities or convertible bonds, but about fixed income bonds that trade ex-dividend, i.e. if they are sold such that the settlement date lies within a certain period before the next coupon, the coupon payment will go to the seller and not to the buyer, even though the buyer will then be the holder). Thanks, Oliver
1 commentaire
William Smith
le 14 Sep 2017
Hi Oliver. Did you ever find anything. I have a similar problem - I can't see any way of using the builtin bndprice() to take into account ex-coupon conventions.
Réponses (1)
Oleg Komarov
le 16 Août 2012
0 votes
9 commentaires
Oliver
le 16 Août 2012
Oleg Komarov
le 16 Août 2012
Modifié(e) : Oleg Komarov
le 16 Août 2012
Inputs: Dividend, ExDiv
Oleg Komarov
le 17 Août 2012
Yeah, sorry I rushed.
You can use bndprice() and if settlement date falls after the ex-coupon, simply subtract the AccruedInterest from the clean price.
Oliver
le 21 Août 2012
Oleg Komarov
le 21 Août 2012
Unfortunately, I do not fully understand the issue, thus I cannot elaborate more on that. however, I trust you on the claim that there are exceptions.
You might want to submit an enhancement request to http://www.mathworks.co.uk/support/service_requests/contact_support.do: technical support > Request an enhancement providing a clear example of one of the exceptions that would require manual adjustments to the simple Clean - AI.
Oliver
le 22 Août 2012
Oleg Komarov
le 22 Août 2012
Well, you can simply ask for support, and they can provide a workaround. The community is one way to get advice, the other is to ask TMW (license allowing, the student version allows reporting bugs only)
Sean de Wolski
le 22 Août 2012
Oliver, since you already programmed it in VBA, perhaps you could just use MATLAB to tell VBA what it needs and then retrieve the results?
Catégories
En savoir plus sur Data Export to MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!