A sortable table of the falls of drawdown_analysis(), the
deepest first, with the numbers of the chart of plot_drawdowns(). The
fall is shaded red, more strongly the deeper it is, and the current fall,
which has not got back to its high, is in bold.
Arguments
- analysis
The result of
drawdown_analysis().
Examples
if (FALSE) { # interactive()
spx <- get_history("S&P 500", as.Date("1950-01-01"))
drawdown_table(drawdown_analysis(spx))
}