Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/getHoldings.Direxion.R
Get the names and weights of Direxion ETFs holdings.
1 2 | getHoldings.Direxion(Symbols, env = .GlobalEnv,
auto.assign = TRUE)
|
Symbols |
chr Symbols of ETFs (if not supplied, the symbols of all Direxion ETFs will be used.) |
env |
environment in which to store the holdings data |
auto.assign |
assign data? |
This function is usually called by
getHoldings
, but it can also be called
directly.
An object classed as “holdings” will be created
that is a data.frame
with columns for holdings'
weights and names. If called with
auto.assign=TRUE
, it will be assigned in
env
with names that are Symbols
appended
with “.h”. Otherwise, the “holdings” will
be returned and not stored.
Garrett See
http://www.direxionshares.com/etfs
getHoldings
, qmao:::DirexionSymbols
1 2 3 4 5 | ## Not run:
getHoldings.Direxion("FAS")
FAS.h
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.