Generate a set of portfolio colours

portfolio_colours(tickers)

Arguments

tickers

tickers in portfolio

Value

Named character vector of n+2 default ggplot2 colours in hex format corresponding to each ticker plus "Cash" and "Portfolio"

Examples

portfolio_colours(c("ABC", "XYZ"))
#>       ABC       XYZ      Cash Portfolio 
#> "#F8766D" "#00BFC4" "#00b0f6" "#E76BF3"