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.

采纳的回答

the cyclist
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 CenterFile Exchange 中查找有关 Financial Data Analytics 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by