etf_sector: ETF's Sectors Breakdown

etf_sectorR Documentation

ETF's Sectors Breakdown

Description

This function 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, informative messages will be printed.

cache

Boolean. Use daily cache if available?

Value

data.frame with ETF break.down data by sector

See Also

Other Investment: daily_portfolio(), daily_stocks(), splot_change(), splot_divs(), splot_etf(), splot_growth(), splot_roi(), splot_summary(), splot_types(), stocks_file(), stocks_obj(), stocks_quote(), stocks_report()

Examples


etf_sector(etf = "VTI")


lares documentation built on Nov. 5, 2023, 1:09 a.m.