Portfolio fill scale

make_port_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)
port_fill_scale <- make_port_fill_scale(my_cols)