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

get_historical_data - key error 'date' #82

Closed
dsl-dsl opened this issue Sep 25, 2018 · 1 comment · Fixed by #88
Closed

get_historical_data - key error 'date' #82

dsl-dsl opened this issue Sep 25, 2018 · 1 comment · Fixed by #88
Labels
Milestone

Comments

@dsl-dsl
Copy link

dsl-dsl commented Sep 25, 2018

Summary (include Python version)

Python 3.6.4

Date/time of issue

25th September 2018

Expected behavior

to get empty dictionary or empty dataframe

Actual behavior

When calling get_historical_data for symbol 'ZNWAA' I get an keyerror 'date'. This happens on setting index od 'Date'. As long as IEX do not provide any data for this symbol the index can not be set on empty dataframe.

@addisonlynch
Copy link
Owner

addisonlynch commented Sep 25, 2018

This should throw a IEXQueryError IEXSymbolError.

@addisonlynch addisonlynch added this to the RLS 0.4.0 milestone Oct 16, 2018
@addisonlynch addisonlynch modified the milestones: RLS 0.4.0, rls 0.3.5 Nov 12, 2018
@addisonlynch addisonlynch mentioned this issue Nov 28, 2018
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants