quantopian / zipline

Zipline, a Pythonic Algorithmic Trading Library
https://www.zipline.io
Apache License 2.0
17.67k stars 4.72k forks source link

How to ingest Quandl #2815

Open Jayant-Agarwal opened 3 years ago

Jayant-Agarwal commented 3 years ago

Dear Zipline Maintainers,

Before I tell you about my issue, let me describe my environment:

2479

I am currently following a book(Trading Evolved) for learning the algorithmic trading but got **stuck on ingesting quandal what should I do now. I have tried to find the answer but can not get any solution for the same. PLEASE HELP

'''(zip35) C:\Users\jayan>zipline ingest -b quandl Traceback (most recent call last): File "C:\Users\jayan\anaconda3\envs\zip35\Scripts\zipline-script.py", line 33, in sys.exit(load_entry_point('zipline==1.4.1', 'console_scripts', 'zipline')()) File "C:\Users\jayan\anaconda3\envs\zip35\Scripts\zipline-script.py", line 25, in importlib_load_entry_point return next(matches).load() File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\importlib_metadata__init__.py", line 100, in load module = import_module(match.group('module')) File "C:\Users\jayan\anaconda3\envs\zip35\lib\importlib__init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 941, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\zipline\init__.py", line 29, in

from .utils.run_algo import run_algorithm File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\zipline\utils\run_algo.py", line 20, in from zipline.data import bundles File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\zipline\data\bundles\__init__.py", line 2, in from . import quandl # noqa File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\zipline\data\bundles\quandl.py", line 16, in from . import core as bundles File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\zipline\data\bundles\core.py", line 15, in from ..minute_bars import ( File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\zipline\data\minute_bars.py", line 30, in import tables File "C:\Users\jayan\anaconda3\envs\zip35\lib\site-packages\tables\__init__.py", line 99, in from .utilsextension import ( ImportError: DLL load failed: The specified module could not be found.''' Thank you to whoever replies to this.
jiripik commented 3 years ago

Please try the book Hands-On Financial Trading with Python. It does have working Quandl's Zipline feed