Pregunta

I have a code accessing yahoo finance through pandas data reader. It worked fine until the day before yesterday, and since then I keep getting the error code below. If I change the database to "fred" or "famafrench" the code works fine.

vix = DataReader ('^vix', "yahoo", from_date, to_date)

The error is Errno 10061: urllib2.URLError:

Since I can call access the other databases I wonder whether there is anything I can do at emy end, or whether this is a yahoo problem?

Thanks!

¿Fue útil?

Solución

The Yahoo URL for stock data changed.

There is a fix for this in the latest version of Pandas on GitHub.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top