Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit 5ad482d

Browse files
authored
Merge pull request #1 from benvan/patch-1
Use the passed-in symbol, not a hardcoded 'aapl'
2 parents 99a2a15 + fd4feb7 commit 5ad482d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyEXzipline/ingest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def _get_data(symbol, start, end):
6-
df = chartDF('aapl', '5y')
6+
df = chartDF(symbol, '5y')
77
df = df[['open', 'close', 'high', 'low', 'volume']].set_index(df['date'])
88
df.index = pd.to_datetime(df.index)
99
if start:

0 commit comments

Comments
 (0)