What is the difference between the 'basis' and 'DiscountBasis' in Function 'bndtotalreturn'

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.

 Akzeptierte Antwort

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.

Weitere Antworten (0)

Kategorien

Mehr zu Financial Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

am 10 Aug. 2023

Kommentiert:

am 11 Aug. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by