index_weights_get {rb3} | R Documentation |
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)
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) |
Value
data.frame with symbols that belong to the given index name with its weights and theoretical positions.
Examples
## Not run:
index_weights_get("IBOV")
## End(Not run)
[Package rb3 version 0.0.11 Index]