Hot answers tagged

2

Stock / ETF at 5-minute intervals can be downloaded from Yahoo Finance. See the code below: from urllib import urlretrieve import numpy as np, pandas as pd, sys import datetime as dt, requests import datetime, re, StringIO symbol = sys.argv[1] url='http://chartapi.finance.yahoo.com/instrument/1.0/%s/chartdata;type=quote;range=3d/csv' % symbol response = ...



Only top voted, non community-wiki answers of a minimum length are eligible