Hi all,

this should be a simple question, but I haven't been able to do it 
right. I am trying to download multiple stock quotes in a loop, so that 
every timeseries is safed with the symbol of the stock. Can anybody help 
me out? Here's the code:

require(tseries)
startd <- "2000-06-01"
stocks <- c("bmw.de", "vow.de", "dte.de")
for(stock in stocks)
stock <- as.timeSeries(get.hist.quote(instrument=stock, start=startd, 
quote="Close", compress="d"))
}

Thanks in advance,
Owe

-- 
Owe Jessen
Diplom-Volkswirt
Hanssenstraße 17
24106 Kiel

[EMAIL PROTECTED]
http://www.econinfo.de

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to