From fd4feb71413c29e8f797e6dab104175003046ef5 Mon Sep 17 00:00:00 2001 From: Ben van Enckevort Date: Tue, 2 Jan 2018 16:52:41 +0000 Subject: [PATCH] Use the passed-in symbol, not a hardcoded 'aapl' Thanks for this - found a small bug :) --- pyEXzipline/ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyEXzipline/ingest.py b/pyEXzipline/ingest.py index 485a876..348c1d3 100644 --- a/pyEXzipline/ingest.py +++ b/pyEXzipline/ingest.py @@ -3,7 +3,7 @@ def _get_data(symbol, start, end): - df = chartDF('aapl', '5y') + df = chartDF(symbol, '5y') df = df[['open', 'close', 'high', 'low', 'volume']].set_index(df['date']) df.index = pd.to_datetime(df.index) if start: