Fixed income bonds: How to deal with ex-dividend trading
显示 更早的评论
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 个评论
William Smith
2017-9-14
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.
回答(1 个)
Oleg Komarov
2012-8-16
0 个投票
9 个评论
Oliver
2012-8-16
Oleg Komarov
2012-8-16
编辑:Oleg Komarov
2012-8-16
Inputs: Dividend, ExDiv
Oleg Komarov
2012-8-17
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
2012-8-21
Oleg Komarov
2012-8-21
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
2012-8-22
Oleg Komarov
2012-8-22
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
2012-8-22
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?
类别
在 帮助中心 和 File Exchange 中查找有关 Transaction Cost Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!