-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Found here: http://stackoverflow.com/questions/754593/source-of-historical-stock-data
up vote
73
down vote
Using Yahoo's CSV approach above you can also get historical data! You can reverse engineer the following example:
http://ichart.finance.yahoo.com/table.csv?s=YHOO&d=0&e=28&f=2010&g=d&a=3&b=12&c=1996&ignore=.csv
Essentially:
sn = TICKER
a = fromMonth-1
b = fromDay (two digits)
c = fromYear
d = toMonth-1
e = toDay (two digits)
f = toYear
g = d for day, m for month, y for yearly