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

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

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