Downloading the complimentary Quandl data bundle
The steps are as follows:
- Change the active environment:
conda activate handson-algorithmic-trading-with-python
- Set the
QUANDL_API_KEY
value if you have not set it up yet via Window's Control Panel or by using.bash_profile
or.bashrc
.For Windows, use the following command:
SET QUANDL_API_KEY=XXXXXXXX
For Mac/Linux, use the following command:
export QUANDL_API_KEY=XXXXXXXX
- Ingest the data:
zipline ingest -b quandl
Note
You don't need to download this bundle repeatedly. The data is no longer being updated.
Once you have set up the environment, follow these steps:
- Change the current directory to the cloned GitHub repository.
- Change the active environment:
conda activate handson-algorithmic-trading-with-python
- Launch Jupyter Lab, like so:
jupyter lab