quantopian / zipline

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

assets-6.sqlite' doesn't exist and Please set your QUANDL_API_KEY environment variable and retry. #2628

Open Nanofernandez opened 4 years ago

Nanofernandez commented 4 years ago

Dear Zipline Maintainers,

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

Description of Issue

Followed steps on zipline and quandl, but was not able to load bundle data

Error message in Jupyter: ValueError: SQLite file 'C:\Users\talcual/.zipline\data\quandl\2020-01-21T20;33;24.437011\assets-6.sqlite' doesn't exist.

Here is how you can reproduce this issue on your machine:

Reproduction Steps

1. 2. 3. ...

What steps have you taken to resolve this already?

...

Anything else?

...

Sincerely, Nanofer

samatix commented 4 years ago

Hi Nanofer,

To ingest the data from Quandl, you'll need an API key that you'll get when you create an account on their website. Once you have your key, run the following from the command line:

$ QUANDL_API_KEY= zipline ingest -b quandl

which will set the environment variable QUANDL_API_KEY.

Please note that the market data retrieved from Quandl contains the equity prices until April 11, 2018 (the data feed used is no longer actively supported.

Thanks Ayoub

SUSHANTH009 commented 1 year ago

Hi Nanofer,

To ingest the data from Quandl, you'll need an API key that you'll get when you create an account on their website. Once you have your key, run the following from the command line:

$ QUANDL_API_KEY= zipline ingest -b quandl

which will set the environment variable QUANDL_API_KEY.

Please note that the market data retrieved from Quandl contains the equity prices until April 11, 2018 (the data feed used is no longer actively supported.

Thanks Ayoub

pls can you share the sqlite file