Skip to content

Instantly share code, notes, and snippets.

@txthai
Last active July 28, 2016 06:07
Show Gist options
  • Save txthai/9a3f972fba46fc05185d9496d46b135b to your computer and use it in GitHub Desktop.
Save txthai/9a3f972fba46fc05185d9496d46b135b to your computer and use it in GitHub Desktop.
import pandas_datareader.data as web
import datetime
def set_variables():
ticker_symbols = ['^GSPC', '^DJI', '^IXIC']
start_date = '2000-01-01'
end_date = '2016-06-30'
data_source = 'yahoo'
directory = './'
file_extension = '.csv'
return ticker_symbols, start_date, end_date, data_source, directory, file_extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment