Portfolio fill scale (tickers only)

make_fill_scale(cols)

Arguments

cols

Named character vector of colours in hex format. Names correspond to tickers in the universe, plus "Cash" and "Portfolio"

Value

ggplot2 fill scale

Examples

my_cols <- portfolio_colours(7)
fill_scale <- make_fill_scale(my_cols)