Code accessing yahoo finance through datareader suddenly stopped working

StackOverflow https://stackoverflow.com/questions/20879749

  •  23-09-2022
  •  | 
  •  

سؤال

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