getSymbols.pos: getSymbols from an environment

Description Usage Arguments Value Author(s) Examples

Description

method to getSymbols from an environment

Usage

1
2
  getSymbols.pos(Symbols, pos = .GlobalEnv, verbose = TRUE,
    ...)

Arguments

Symbols

character vector of names of objects

pos

where to look for the object (see get); if omitted, the function will search as if the name of the object appeared unquoted in an expression.

verbose

be verbose?

...

other arguments

Value

either the names of objects that were stored if called with auto.assign=TRUE, or an object of type return.class

Author(s)

Garrett See

Examples

1
2
3
4
5
6
## Not run: 
e <- new.env()
getSymbols("SPY", src='yahoo', env=e) #data stored at e$SPY
getSymbols("SPY", src='pos', pos=e) #fetch data from e and store in .GlobalEnv

## End(Not run)

qmao documentation built on May 2, 2019, 4:54 p.m.