Skip to contents

Returns the available asset names at the Tesouro Direto (TD) website

Usage

get_td_names(online = FALSE)

Arguments

online

Logical. If `TRUE`, attempts to query the Tesouro Direto CDN server for live asset names. Defaults to `FALSE`.

Value

A character vector of names.

Examples

get_td_names()
#> [1] "LFT"             "LTN"             "NTN-C"           "NTN-B"          
#> [5] "NTN-B Principal" "NTN-F"           "NTN-B1"