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)
Show older comments
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
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);
0 Comments
More Answers (0)
See Also
Categories
Find more on Variables 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!