etf_sector: ETF's Sectors Breakdown

etf_sectorR Documentation

ETF's Sectors Breakdown

Description

etf_sector() scraps etf.com data for sector breakdown on ETFs. Use splot_etf() for visualization.

Usage

etf_sector(etf = "VTI", quiet = FALSE, cache = TRUE)

Arguments

etf

Character Vector. Which ETFs you wish to scrap?

quiet

Boolean. Keep quiet? If not, message will be shown.

cache

Boolean. Use daily cache if available?

Value

data.frame with ETF break.down data by sector

See Also

Other Investment: splot_summary(), stocks_file(), stocks_quote()

Examples


etf_sector(etf = "VTI")


laresbernardo/lares documentation built on Oct. 23, 2024, 12:05 p.m.