search for: cashhold

Displaying 1 result from an estimated 1 matches for "cashhold".

Did you mean: casefold
2017 Aug 02
1
Looping Through QuantMod Objects
...o it one at a time all is good. require(quantmod) getFinancials("AAPL") getFinancials("IBM") getFinancials("MSFT") items=c("Cash & Equivalents","Short Term Investments","Cash and Short Term Investments") HoldQuart<-AAPL.f$BS$Q CashHold<-subset(HoldQuart,rownames(HoldQuart) %in% items) CashT<-t(CashHold) Cashdf<-data.frame(CashT) Cashdf$tic<-"AAPL" AAPL.c<-Cashdf HoldQuart<-IBM.f$BS$Q CashHold<-subset(HoldQuart,rownames(HoldQuart) %in% items) CashT<-t(CashHold) Cashdf<-data.frame(CashT) Cashdf...