Description Usage Arguments Value Examples
Import symbols from Yahoo! Finance using getSymbols directly into a price matrix as xts object
1 2 3 | importEquityPricesToXtsMatrix(symbolVector, startDate = "2000-01-01",
endDate = Sys.Date(), priceType = "Adjusted", freq = "daily",
keep = TRUE)
|
symbolVector |
is a vector of symbols to download |
startDate |
staring date of the matrix |
endDate |
ending date of the matrix |
priceType |
one of Open/High/Low/Close/Adjusted |
freq |
one of daily/weekly/monthly/quarterly or yearly |
keep |
logical, whether to keep the original OHLC xts matrices or to drop them |
an xts object with number of columns equal to length of symbolVector
1 | none
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.