Skip to content

Yahoo Options -Pandas datareader error: RemoteDataError: Data not available (pandas 17.1) #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Slimdog588 opened this issue Mar 27, 2016 · 3 comments

Comments

@Slimdog588
Copy link

Slimdog588 commented Mar 27, 2016

It works for a few tickers then crashes and gives the error above. Any help is appreciated.

Here is the code.

for i in tickers.index:
    option = Options(i,'yahoo')
    data = option.get_all_data()
    print data.head
@dscheste
Copy link

dscheste commented Jul 13, 2016

@sinhrks - Not a duplicate. Just stopped working mid-session.

Opened as instructed here: #212

@femtotrader
Copy link
Contributor

Running tests raises

FAIL: test_sample_page_price_quote_time1 (pandas_datareader.tests.test_yahoo_options.TestYahooOptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/femto/github/femto/pandas-datareader/pandas_datareader/tests/test_yahoo_options.py", line 154, in test_sample_page_price_quote_time1
    self.assertTrue(isinstance(quote_time, (datetime, pd.Timestamp)))
AssertionError: False is not true

======================================================================
FAIL: test_sample_page_price_quote_time2 (pandas_datareader.tests.test_yahoo_options.TestYahooOptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/femto/github/femto/pandas-datareader/pandas_datareader/tests/test_yahoo_options.py", line 178, in test_sample_page_price_quote_time2
    self.assertTrue(isinstance(quote_time, (datetime, pd.Timestamp)))
AssertionError: False is not true

----------------------------------------------------------------------
Ran 106 tests in 137.210s

I don't know what to do with this... because it blocks other data sources tests

@davidastephens
Copy link
Member

I believe this is fixed with #244. Please reopen if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants