Skip to content
Prev 9562 / 15274 Next

quantstrat: getting an error when using many symbols and %-based order sizing function

I've been having trouble with yahoo over the last 24 hours or so.
Sometimes, it returns data; sometimes it doesn't
pausing 1 second between requests for more than 5 symbols
pausing 1 second between requests for more than 5 symbols
[1] "A"   "AA"  "AAN" "AAP" "AAT" "AAV"
Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
  cannot open URL
'http://chart.yahoo.com/table.csv?s=AAT&a=0&b=01&c=2007&d=1&e=17&f=2012&g=d&q=q&y=0&z=AAT&x=.csv'
In addition: Warning message:
In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,  :
  cannot open: HTTP status was '404 Not Found'


HTH,
Garrett
On Fri, Feb 17, 2012 at 2:01 PM, Sergey Pisarenko <drseergio at gmail.com> wrote: