GetIbovStocks: Function to download the current components of the Ibovespa...

Description Usage Arguments Value Examples

View source: R/Get_Ibov_Stocks.R

Description

This function scrapes the stocks that constitute tSP500 index from the wikipedia page at http://bvmf.bmfbovespa.com.br/indices/ResumoCarteiraTeorica.aspx?Indice=IBOV&idioma=pt-br.

Usage

1
GetIbovStocks(max.tries = 10)

Arguments

max.tries

Maximum number of attempts to download the data

Value

A dataframe that includes a column with the list of tickers of companies that belong to the Ibovespa index

Examples

1
2
3
4
5
## Not run: 
df.ibov <- GetIbovStocks()
print(df.ibov$tickers)

## End(Not run)

BatchGetSymbols documentation built on March 23, 2019, 5:04 p.m.