NOTE: Installation of the Quandl Python package varies depending on your system.
On most systems, the following commands will initiate installation:
pip install quandl import quandl
On some systems, you may need this command instead:
pip3 install quandl import quandl
Additionally, you can find detailed installation instructions for Python modules here: Python 3.x.
The Quandl Python module is free but you must have a Nasdaq Data Link API key in order to download data. To get your own API key, you will need to create a free Nasdaq Data Link account and set your API key.
After importing the Quandl module, you can set your API key with the following command:
quandl.ApiConfig.api_key = "YOURAPIKEY"
Updated about a year ago