Use auto.assign = FALSE in your getFinancials() call, and use
viewFinancials() to extract the data you want.
items <- c("Cash & Equivalents",
"Short Term Investments",
"Cash and Short Term Investments")
tickers <- c("AAPL", "IBM", "MSFT")
for (ticker in tickers) {
Data <-
Dear R Helpers,
I have run into a problem trying to perform a number of actions on a set
of quantmod data objects through a loop and I am hoping that this is an
easy problem for someone else as opposed to very difficult for me.
The example task is to get the first three objects of the quarterly
2 matches
Mail list logo