Skip to content

Instantly share code, notes, and snippets.

Avatar

Philippe Bazard pbazard

View GitHub Profile
View test
This is a test
@pbazard
pbazard / download_quandl_wiki_prices.py
Last active Feb 9, 2018
Download Quandl WIKI EOD stock prices
View download_quandl_wiki_prices.py
import requests
import zip
# Quandl file name
filename = 'wiki_prices.zip'
# Fetch the wiki_prices.zip file
r = requests.get(
'https://www.quandl.com/api/v3/datatables/WIKI/PRICES?qopts.export=true&api_key=YOUR-API-KEY')
resp = r.json()