ghfd_get_ftp_contents: Gets the contents of Bovespa ftp

Description Usage Arguments Value Examples

View source: R/ghfd_get_ftp_contents.R

Description

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

Usage

1
2
3
4
5
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

1
2
3
4
5
## Not run: 
ftp.files <- ghfd_get_ftp_contents(type.market = 'equity')
print(ftp.files)

## End(Not run)

msperlin/GetHFData documentation built on July 4, 2020, 11:48 a.m.