hard20 pts · first answer countswindow-functionssqlrunning-totals
Largest fall from a peak
Daily portfolio values are 100, 120, 90, 130, 110. Using value / MAX(value) OVER (ORDER BY day ROWS UNBOUNDED PRECEDING) - 1, what is the worst (largest) drawdown?
Discussion 0
Join free to post in the discussion.