What is the difference between the 'basis' and 'DiscountBasis' in Function 'bndtotalreturn'
1 次查看(过去 30 天)
显示 更早的评论
bndtotalreturn is function in matlab Financial Toolbox . Two Input Arguments for bndtotalreturn is about Day-count . One is 'basis',another 'DiscountBasis' .What is the difference between the 'basis' and 'DiscountBasis'? it's confusing.
0 个评论
采纳的回答
the cyclist
2023-8-10
That's a finance question, not a MATLAB question.
Here is simplest (but I think correct) explanation I can come up with:
Basis refers to the day count convention on how the interest of the bond itself accrues. This is important for the exact schedule of the interest payments. (There is a description of that in the documentation here.)
The concept of "discounting" is that a payment later is not as valuable as a payment today. DiscountBasis is again a specification of the day count convention, but it is for the timing of discounting of the payments, not the timing of the payments themselves.
I hope that helps.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Financial Data Analytics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!