Re: [R] Looping Through QuantMod Objects

2017-08-02 Thread Joshua Ulrich
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 <-

[R] Looping Through QuantMod Objects

2017-08-02 Thread Sparks, John James
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