IShares: IShares class constructor

Description Usage Arguments Value

View source: R/IShares-class.R

Description

The IShares class is a "virtual" class in the sense that it's never actually instantiated but used to give the interface to its subclasses. For instace at the IShares class level we implement the getter methods

Usage

1
IShares(summary_link, tickers_to_keep)

Arguments

summary_link

link where the IShares summary data (in JSON format) is downloaded from. This is the data summarizing all the ETF of the IShares provider

tickers_to_keep

character vector containing the tickers to keep. One might want to keep just a subset of tickers due to storage constraints

Value

a new IShares object


skiamu/ETF documentation built on April 28, 2020, 6:08 a.m.