Search code examples
rquantmod

Exists() and getSymbols() can't find symbol listed in yahoo


For some reason, even though PRIO3F.SA is listed on yahoo(and also other symbols aside from this one specifically), when I do exists() it simply doesn't find anything. This is for a school project and quite a few symbols can't be found with this method. Is quantmod (or maybe yahoo finance) not my best place to go to?

I've tried multiple different symbol variations and still failing.

> exists("PRIO3F.SA")
[1] FALSE
> exists("PRIO3.SA")
[1] FALSE
> exists("PRIO3F")
[1] FALSE
> exists("PRIO3")
[1] FALSE

If by any chance I try to use getSymbols() instead, this is what greets me:

> getSymbols("PRIO3F.SA", src = "yahoo", auto.assign = FALSE)
Error in getSymbols.yahoo(Symbols = "PRIO3F.SA", env = <environment>,  : 
  Unable to import “PRIO3F.SA”.
attempt to set an attribute on NULL


Solution

  • Yahoo does not provide historical daily data for every ticker symbol. That's the problem in this case.

    enter image description here