I use quantmod once a week and today I got an error that I'm not used to get:
spy<-getSymbols(c("SPY"), src = 'google', from = '1990-01-01', auto.assign = T)
SPY<-cbind(SPY)
dim(SPY)
spy<-getSymbols(c("SPY"), src = 'yahoo', from = '1990-01-01', auto.assign = T)
**Error in download.file**(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, :
cannot open URL 'http://ichart.finance.yahoo.com/table.csv?s=SPY&a=0&b=01&c=1990&d=4&e=18&f=2017&g=d&q=q&y=0&z=SPY&x=.csv'
In addition: Warning message:
In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, :
cannot open URL 'http://ichart.finance.yahoo.com/table.csv?s=SPY&a=0&b=01&c=1990&d=4&e=18&f=2017&g=d&q=q&y=0&z=SPY&x=.csv': HTTP status was '504 Maximum Transaction Time Exceeded'