문제

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!

도움이 되었습니까?

해결책

The Yahoo URL for stock data changed.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top