Search code examples
pythonquandl

Quandl download wiki EOD stock prices from python - how to?


  1. Is there a way to do a partial download on Quandl for the Wiki EOD Stock Prices but for a given day in the past - not the most current date e.g. download for 2016-07-20?

Entire database (too large): https://www.quandl.com/data/WIKI/documentation/bulk-download

Just the last day: https://www.quandl.com/api/v3/databases/WIKI/data?api_key=myAPIkey&download_type=partial

One day in the past for all stocks: ?????

  1. Can this download be triggered from python code to a specified folder? How would one do that?

Solution

    1. It does not seem possible according to Quandl. There is no parameter for the date. Only partial or complete.

    2. The python code is:

    import quandl quandl.ApiConfig.api_key = 'XXXXX' quandl.bulkdownload("WIKI",download_type="partial",filename="./WIKI.zip")