Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Google finance API instead of Yahoo #111

Merged
merged 1 commit into from
Aug 3, 2017
Merged

Use Google finance API instead of Yahoo #111

merged 1 commit into from
Aug 3, 2017

Conversation

sryza
Copy link
Owner

@sryza sryza commented Jul 16, 2017

Fixes #109

@@ -4,4 +4,4 @@
#
# See LICENSE file for further information.

curl -o $2/$1.csv https://ichart.yahoo.com/table.csv?s=$1&a=0&b=1&c=2000&d=0&e=31&f=2013&g=d&ignore=.csv
wget -O ${2}/${1}.csv "http://www.google.com/finance/historical?q=${1}&startdate=Jan+01%2C+2000&enddate=Dec+31%2C+2013&output=csv"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: https is slightly better. curl -o should also work and be consistent with use of curl elsewhere in the book. But neither really matter.

@srowen
Copy link
Collaborator

srowen commented Jul 31, 2017

@sryza looks good, with or without the suggestion above. I say merge it especially if you've merged the companion change to the book text

@sryza sryza merged commit 4eac833 into master Aug 3, 2017
@sryza sryza deleted the google-stocks branch August 3, 2017 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants