Skip to content

Commit

Permalink
Run curator
Browse files Browse the repository at this point in the history
  • Loading branch information
cfromknecht committed Jun 19, 2017
1 parent 99efa7a commit 7447b46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ zipline.iml
# Pickle files
*.pickle

# data
data

TAGS
4 changes: 4 additions & 0 deletions curate/crypto_price_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ def to_dataframe(self, start, end, currencyPair=None):
df.columns = ['date', 'open', 'high', 'low', 'close', 'volume']
return df.loc[(df['date'] > start) & (df['date'] <= end)]

if __name__ == '__main__':
pdg = PoloniexDataGenerator()
pdg.append_data()


# from zipline.utils.calendars import get_calendar
# from zipline.data.us_equity_pricing import (
Expand Down

0 comments on commit 7447b46

Please sign in to comment.