B3, and previously BMF&Bovespa, used to deliver many files with a diverse
set of valuable data and informations that can be used to study of can
be called of marketdata.
There are files with informations about futures, option, interest
rates, currency rates, bonds and many other subjects.
Usage
read_marketdata(filename, template, parse_fields = TRUE, do_cache = TRUE)
Arguments
- filename
a string containing a path for the file.
- template
a string with the template name.
- parse_fields
a logical indicating if the fields must be parsed.
- do_cache
Whether to use cache or not (default = TRUE)
The function show_templates
can be used to view the available templates.
Value
data.frame
of a list of data.frame
containing data parsed from
files.
See also
show_templates display_template
Examples
if (FALSE) { # \dontrun{
path <- "Indic.txt"
df <- read_marketdata(path, template = "Indic")
path <- "PUWEB.TXT"
df <- read_marketdata(path, template = "PUWEB")
} # }