为什么BatchGetSymbols突然出现下载问题

时间:2019-05-11 18:40:08

标签: r

我正在RStudio Cloud中使用BatchGetSymbols。这在上周有效,但今天突然无效。

require(BatchGetSymbols) 
tick <- c('VWENX','DHSTX','AGG') 
first.date <-Sys.Date()-100 
last.date <-Sys.Date() 
x <-BatchGetSymbols(tick,first.date,last.date,freq.data='daily', 
                    do.parallel=FALSE) 
head(x$df.tickers)

这是返回的内容:

Running BatchGetSymbols for: 
   tickers = VWENX, DHSTX, AGG 
   Downloading data for benchmark ticker 
^GSPC | yahoo (1|1) | Found cache file | Need new dataError in charToDate(x) : 
  character string is not in a standard unambiguous format 

为什么突然不起作用,我需要怎么做才能解决它?

0 个答案:

没有答案