Skip to contents

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.

Usage

drawdown_table(analysis)

Arguments

analysis

The result of drawdown_analysis().

Value

A DT datatable.

Examples

btc <- get_history("Bitcoin (BTC)", as.Date("2013-04-29"))
drawdown_table(drawdown_analysis(btc))