powered by
Gets B3 indexes available.
index_by_segment_get(index_name, cache_folder = cachedir(), do_cache = TRUE)
A dataframe with the index stocks, their weights, segments and positions.
a string with the index name
Location of cache folder (default = cachedir())
Whether to use cache or not (default = TRUE)
if (FALSE) { index_by_segment_get("IBOV") }
Run the code above in your browser using DataLab