Learn R Programming

GetHFData (version 1.7)

ghfd_get_ftp_contents: Gets the contents of Bovespa ftp

Description

This function will access the Bovespa ftp and return a vector with all files related to trades (all others are ignored)

Usage

ghfd_get_ftp_contents(type.market = "equity", max.dl.tries = 10,
  type.data = "trades")

Arguments

type.market

The type of market to download data from ('equity', 'equity-odds','options', 'BMF' ).

max.dl.tries

Maximum attempts to download the files from ftp

type.data

The type of financial data to download and aggregate ('trades' or 'orders').

Value

A list with all files from the ftp that are related to executed trades

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
ftp.files <- ghfd_get_ftp_contents(type.market = 'equity')
print(ftp.files)
# }

Run the code above in your browser using DataLab