Why is there an error in the MATLAB file help for MAXDRAWDOWN in MATLAB 7.3 (R2006b) while discussing conversion of raw data in return to price series?

1 view (last 30 days)
When I read the contents of the MAXDRAWDOWN help page obtained by running:
help maxdrawdown
I see that there is a sentence which contradicts the subsequent piece of code in the 'Notes' section:
If raw data are in return form, convert to a price series in the
function call with:
MaxDD = drawdown(tick2ret(Data), Format);
because TICK2RET converts data input argument expressed as price series to return series.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Jan 2010
This bug has been fixed in MATLAB 7.5 (R2007b). For previous product releases, read below for any possible workarounds:
There is a bug in the help documentation for Financial Toolbox 3.1 (R2006b) for the MAXDRAWDOWN function.
The help header for MAXDRAWDOWN should contain the following information at line 44:
%MaxDD = maxdrawdown(ret2tick(Data), Format);

More Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2006b

Community Treasure Hunt

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

Start Hunting!