Learn R Programming

rb3 (version 0.0.12)

index_weights_get: Get the assets weights of B3 indexes

Description

Gets the assets weights of B3 indexes.

Usage

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

Value

data.frame with symbols that belong to the given index name with its weights and theoretical 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_weights_get("IBOV")
}

Run the code above in your browser using DataLab