What is the meaning of FLOATBYZERO's output argument PriceNoAI, in Financial Instruments Toolbox 1.0 (R2012b)?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 25 Oct 2013
Answered: MathWorks Support Team
on 25 Oct 2013
In the documentation of FLOATBYZERO the definition of the output argument PriceNoAI is the following:
" PriceNoAI:
NINST-by-NUMCURVES matrix of dirty bond price (clean + accrued interest). Each column arises from one of the zero curves. "
The argument is PriceNoAI, which I translate as price with no accrued interest, but its definition is 'clean + accrued interest'.
Which one is the correct one?
Accepted Answer
MathWorks Support Team
on 25 Oct 2013
The documentation's description of "PriceNoAI" is correct. It is indeed the dirty bond price (clean price + accrued interest). The name "PriceNoAI" may be misleading, but it was originated from "removing the negative accrued interest" which is the same as adding the accrued interest.
Therefore,
- Price is the clean price and,
- PriceNoAI is the dirty price.
0 Comments
More Answers (0)
See Also
Categories
Find more on Price and Analyze Financial Instruments in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!