Sentences built from the numbers of drawdown_analysis(),
for the Drawdowns tab.
Arguments
- analysis
The result of
drawdown_analysis().
Value
A list with now and history, each with a headline and
points, a character vector of sentences.
Examples
if (FALSE) { # interactive()
spx <- get_history("S&P 500", as.Date("1950-01-01"))
drawdown_text(drawdown_analysis(spx))
}