Skip to content

Commit

Permalink
Fixed to work with updated yahoo data reader
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhyatt committed Aug 29, 2017
1 parent bb7c739 commit baf462f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
@@ -1,6 +1,6 @@
-e git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki

pandas==0.19.2
pandas_datareader>=0.5.0
numpy==1.12.1
pandas==0.20.3
pandas_datareader==0.5.0
numpy==1.13.1
pytz
3 changes: 1 addition & 2 deletions scraper.py
Expand Up @@ -27,8 +27,7 @@
time.sleep((17 - hour) * 60 * 60)

TO_DATE = now
# Remove
# TO_DATE -= relativedelta.relativedelta(days=1)
TO_DATE -= relativedelta.relativedelta(days=1)
FROM_DATE = TO_DATE - relativedelta.relativedelta(months=12)

# # Load data for ASX securitues
Expand Down

0 comments on commit baf462f

Please sign in to comment.