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

Commit

Permalink
Merge pull request #1 from benvan/patch-1
Browse files Browse the repository at this point in the history
Use the passed-in symbol, not a hardcoded 'aapl'
  • Loading branch information
timkpaine authored Jan 2, 2018
2 parents 99a2a15 + fd4feb7 commit 5ad482d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyEXzipline/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5ad482d

Please sign in to comment.