[R-SIG-Finance] adjustOHLC does not consider setSymbolLookup settings [quantmod]

christophe00 at gmx.ch christophe00 at gmx.ch
Mon Feb 22 14:38:44 CET 2010


Hi,

am I right, that even though getSymbols() does consider mapped ticker names, which were defined using setSymbolLookup(), adjustOHLC does not?

example:
> setSymbolLookup(ASSA.B.ST = list(name = 'ASSA-B.ST', src = 'yahoo'))
> getSymbols('ASSA.B.ST')
[1] "ASSA.B.ST"
> adjustOHLC('ASSA.B.ST', adjust = "split")
Error in download.file(paste(yahoo.URL, Symbol.name, "&a=", from.m, "&b=",  : 
  cannot open URL 'http://ichart.finance.yahoo.com/table.csv?s="ASSA.B.ST"&a=0&b=01&c=1970&d=1&e=22&f=2010&g=v&ignore=.csv'
In addition: Warning message:
In download.file(paste(yahoo.URL, Symbol.name, "&a=", from.m, "&b=",  :
  cannot open: HTTP status was '404 Not Found'

is there any work around?

Thanks and best regards,

Chris
-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser



More information about the R-SIG-Finance mailing list