The table behind the CSV button of the Drawdowns tab.
Arguments
- analysis
The result of
drawdown_analysis().
Examples
if (FALSE) { # interactive()
spx <- get_history("S&P 500", as.Date("1950-01-01"))
head(golemstockindices:::drawdown_csv(drawdown_analysis(spx)))
}