search for: getfinancials

Displaying 2 results from an estimated 2 matches for "getfinancials".

2017 Aug 02
1
Looping Through QuantMod Objects
...g 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 balance sheet for a number of companies from the getFinancials object and put them together into a single file. I can do this one by one, but if I try to build a loop and use the get function then the results are not anticipated and leave me baffled. If I do it one at a time all is good. require(quantmod) getFinancials("AAPL") getFinancials(&quo...
2010 Dec 02
1
Downloading quote data from yahoo finance
Hi R users,   Thanks in advance.   I am using R 2.12.0 on Windows XP.   May I request you to assist me in the following please.   1. I am getting error while downloading quote data from yahoo finance.   The example code is below (taken from tseries help):   library(tseries)   con <- url("http://quote.yahoo.com") if(!inherits(try(open(con), silent = TRUE), "try-error")) {