Description Usage Arguments Value Author(s) References See Also Examples
View source: R/getHoldings.vaneck.R
Download the names and weights of holdings of Van Eck ETFs (Market Vector ETFs)
1 2  |   getHoldings.vaneck(Symbols, env = .GlobalEnv,
    auto.assign = TRUE)
 | 
Symbols | 
 character vector of Van Eck ETF ticker
symbols. Presently, if   | 
env | 
 environment in which to store holdings data  | 
auto.assign | 
 TRUE/FALSE. If TRUE, the holdings data will be stored in an object that has a name that is he Symbol appended with “.h”  | 
either the names of the objects that contain the holdings
if called with auto.assign=TRUE, or a list of the
holdings data.  The returned data will be in objects
classed as holdings that are data.frames with
Weights (0-100) in the first column, and the Names of the
stocks in the second column. The rownames are the the
ticker symbols.
Garrett See
getHoldings,
getHoldings.SPDR,
getHoldings.iShares,
getHoldings.powershares
1 2 3 4  | ## Not run: 
getHoldings.vaneck("GDX")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.