Learn R Programming

rb3 (version 0.0.12)

index_by_segment_get: Get B3 indexes available

Description

Gets B3 indexes available.

Usage

index_by_segment_get(index_name, cache_folder = cachedir(), do_cache = TRUE)

Value

A dataframe with the index stocks, their weights, segments and positions.

Arguments

index_name

a string with the index name

cache_folder

Location of cache folder (default = cachedir())

do_cache

Whether to use cache or not (default = TRUE)

Examples

Run this code
if (FALSE) {
index_by_segment_get("IBOV")
}

Run the code above in your browser using DataLab