我用quantmod的getSymbols函数报错,但是上证和深证的指数都能取到,请问有什么办法?
> pr<-getSymbols('399102.SZ',src='google',auto.assign=FALSE)[,4]
错误于download.file(paste(google.URL, "q=", Symbols.name, "&startdate=", :
无法打开URL'http://finance.google.com/finance/historical?q=399102.SZ&startdate=Jan+01,+2007&enddate=Sep+30,+2013&output=csv'
此外: 警告信息:
In download.file(paste(google.URL, "q=", Symbols.name, "&startdate=", :
无法打开: HTTP状态是'400Bad Request'