Skip to content
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

Help Needed: (Quandl Error QECx02) You have submitted an incorrect Quandl code. Please check your Quandl codes and try again #9

Open
moibilegite opened this issue Aug 13, 2017 · 9 comments

Comments

@moibilegite
Copy link

Hi,

When I try to follow the example, I have the following errors. Please help.

share = bb.Share('YAHOO', 'GOOGL')
Traceback (most recent call last):
File "", line 1, in
File "/home/edison/bulbea/bulbea/entity/share.py", line 175, in init
self.update(start = start, end = end, latest = latest, cache = cache)
File "/home/edison/bulbea/bulbea/entity/share.py", line 189, in update
code = self.ticker
File "/home/edison/.local/lib/python3.5/site-packages/quandl/get.py", line 48, in get
data = Dataset(dataset_args['code']).data(params=kwargs, handle_column_not_found=True)
File "/home/edison/.local/lib/python3.5/site-packages/quandl/model/dataset.py", line 47, in data
return Data.all(**updated_options)
File "/home/edison/.local/lib/python3.5/site-packages/quandl/operations/list.py", line 14, in all
r = Connection.request('get', path, **options)
File "/home/edison/.local/lib/python3.5/site-packages/quandl/connection.py", line 36, in request
return cls.execute_request(http_verb, abs_url, **options)
File "/home/edison/.local/lib/python3.5/site-packages/quandl/connection.py", line 44, in execute_request
cls.handle_api_error(response)
File "/home/edison/.local/lib/python3.5/site-packages/quandl/connection.py", line 85, in handle_api_error
raise klass(message, resp.status_code, resp.text, resp.headers, code)
quandl.errors.quandl_error.NotFoundError: (Status 404) (Quandl Error QECx02) You have submitted an incorrect Quandl code. Please check your Quandl codes and try again.

Thanks.
Best Regards,
Edison

@khaman1
Copy link

khaman1 commented Aug 24, 2017

I got the same error :(

@MichaelFriedberg
Copy link

Me as well

@achillesrasquinha
Copy link
Owner

achillesrasquinha commented Aug 24, 2017

Sorry to keep y'all bothering on this. I'll get back to this project at the earliest. I'll have this fixed (although I'll be happy for contributions). Engrossed in a lot of work right now, having the other things wrapped up!

@MichaelFriedberg
Copy link

@achillesrasquinha What do I need to do to contribute?

@achillesrasquinha
Copy link
Owner

Fork it and work on your repository. If things fix, send in a PR, I'll review and patch it. I just came to realize pandas-datareader has Quandl support so I'll have Quandl removed soon with the next update and use pandas-datareader instead. We're then open to more options.

@MichaelFriedberg
Copy link

@achillesrasquinha but didnt you say pandas-datareader is dependent on Quandl?

@achillesrasquinha
Copy link
Owner

achillesrasquinha commented Aug 24, 2017

I'm not sure but I guess this is a Quandl Error. I did a code check - https://www.quandl.com/data/YAHOO/GOOGL. Maybe the databases have been updated.

Try WIKI as a source

share = bb.Share('WIKI', 'GOOGL')

Let me know if this works.

@achillesrasquinha
Copy link
Owner

@MichaelFriedberg The pandas-datareader has multiple data sources. It's good to have many using a single interface. I'm keen to have intraday values too (but unaware of sources). Let me know if you know any. Quandl's premium databases do have them, hence I used Quandl initially. Now that pandas-datareader wraps Quandl (along with many other sources), no harm having that embedded.

@vital987
Copy link

The format is bb.Share('QUANDL_DATASET', 'STOCK_CODE_IN_DATASET'), their are many data sets in Quandl such as WIKI, BSE, NSE, etc. WIKI is deprecated in 2018 so it will not show latest data. NSE & EOD are premium, you can search for datasets here, then go in documentation of that data set and download it's codes csv, and enter the data as per your requirements.

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

5 participants