[R-SIG-Finance] TSE ticker problems
R. Michael Weylandt
michael.weylandt at gmail.com
Wed Jul 11 20:03:39 CEST 2012
Are you sure you're not looking for the src= argument of getSymbols()?
On Wed, Jul 11, 2012 at 12:49 PM, Paul Gilbert <pgilbert902 at gmail.com> wrote:
> I have been having trouble retrieving some TSE series from yahoo:
>> getSymbols("BMO.TO", dbname="yahoo")
> works but
>> getSymbols("COS.TO", dbname="yahoo")
> appears to have worked but has actually failed:
> An 'xts' object of zero-width
> It seems to be getting the header, but no data. I have also tried with
> Google Finance:
>> getSymbols("TSE:COS", dbname="google")
> Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,
> cannot open URL
> In addition: Warning message:
> In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, :
> cannot open: HTTP status was '404 Not Found'
> I'm not sure if I have the syntax correct for indicating an exchange on
> google. Does anyone have suggestions?
> R-SIG-Finance at r-project.org mailing list
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
More information about the R-SIG-Finance