addisonlynch / iexfinance

Python SDK for IEX Cloud
https://addisonlynch.github.io/iexfinance
Apache License 2.0
648 stars 136 forks source link

Cannot import get_historical_data #229

Closed harshita130602 closed 3 years ago

harshita130602 commented 4 years ago

Summary (include Python version)

Using iexfinance and I want to import get_historical data. I am using the following syntax to import it:

from iexfinance.stocks import get_historical_data

It is still showing me the following error:

File "file.py", line 1, in from iexfinance.stocks import get_historical_data ImportError: No module named iexfinance.stocks

I am not able to figure it out. Did I miss something?

NexVeridian commented 4 years ago

use the dev version, the pip version is stable but out of date

pip install git+git://github.com/addisonlynch/iexfinance

or

https://github.com/addisonlynch/iexfinance#install

addisonlynch commented 3 years ago

Are you still having problems with this? If so, what version if iexfinance are you using?

harshita130602 commented 3 years ago

@addisonlynch It is fine now. Thank you :)