Skip to content

Instantly share code, notes, and snippets.

@sente
Last active November 23, 2015 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sente/9958392 to your computer and use it in GitHub Desktop.
Save sente/9958392 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
from pandas.io.data import DataReader
import datetime
start_test = datetime.datetime(2005,1,1)
end_period = datetime.datetime(2005,12,31)
bars = DataReader("SPY", "yahoo", start_test, end_period)
bars
# see http://j.mp/pandas_sp500
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment