当尝试在R中使用来自quantmod的getsymbols时出现错误:
Error in download.file(paste(google.URL, "q=", Symbols.name,
"&startdate=", : cannot open URL
'http://finance.google.com/finance/historical?q=NASDAQ:INTC&artdate=Nov+24,+2014&enddate=Mar+21,+2018&output=csv'
In addition: Warning message: In download.file(paste(google.URL, "q=",
Symbols.name, "&startdate=", : cannot open URL
'http://finance.google.com/finance/historical?q=NASDAQ:INTC&startdate=Nov+24,+2014&enddate=Mar+21,+2018&output=csv':
HTTP status was '403 Forbidden'
我正在使用以下代码
myDataUSA<-getSymbols("NASDAQ:INTC",src="google",from='2014-11-24',
to='2018-03-21',auto.assign = TRUE)
关于如何解决这个问题的任何想法?
PS:试图搜索这个问题,但我只看到雅虎的答案说它不再受支持......而且,我不在VPN或类似的东西