Portfolio color scale (tickers only)

make_col_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 colour scale

Examples

my_cols <- portfolio_colours(7)
colour_scale <- make_col_scale(my_cols)