alphaville76 / sharadar_db_bundle

12 stars 8 forks source link

ImportError: No module named 'zipline.data.data_portal_live' #3

Closed vaa1234 closed 4 years ago

vaa1234 commented 4 years ago

Hi!

When i try to $ ./sharadar-zipline.sh ingest

i get error:

Traceback (most recent call last): File "main.py", line 19, in from sharadar.util.run_algo import _run, load_extensions File "/Users/xxx/opt/anaconda3/envs/zipline/lib/python3.5/site-packages/sharadar_db_bundle-1.0-py3.5.egg/sharadar/util/run_algo.py", line 24, in from zipline.data.data_portal_live import DataPortalLive ImportError: No module named 'zipline.data.data_portal_live'

I understand correctly that this lib is not in the standard installation of zipline, and you created it? Could you add it to the repository so that everything works correctly? Thanks.

alphaville76 commented 4 years ago

yes, it's based on zipline-live2: https://github.com/shlomikushchi/zipline-live2 In the future, I'll migrate to https://github.com/shlomikushchi/zipline-trader

vaa1234 commented 4 years ago

Thanks, I got it. I will try. if I can run your code properly, it will be wonderful. Integrating fundamental data into zipline is a nightmare.