I'm downloading stock data directly from Yahoo! Finance.
I compare "Adj Closed" for two dates to get the growth rate. For example, on 7/20/1987 KO (Coca-Cola) had an adjusted closing value of 1.71, and on 7/1/2013 it had a value of 40.46. The rate therefore is 2366%; my program gets this correct. But it doesn't agree with the graph at Yahoo! Finance, and it's easy to see why: the graph has the 7/20/1987 value at 3.0238. But why is it different on their graph than in their data?
I get a worse problem when comparing VFINX (an index fund) to ^GSPC (Standard & Poor, which is what it's indexed to). The graph shows them in lockstep, as they should be, growing around around 400%. VFINX grows from 16.14 to 156.14 over that period (adjusted closing). But ^GSPC grows from 302.94 to 1692.39, which gives a very different ratio.
What's wrong with my data? Am I misinterpreting something, or looking in the wrong place?
Here's ^GSPC. The last field is Adjusted Closing.
7/23/2013 1696.63 1698.78 1691.13 1692.39 3096180000 1692.39
7/1/1987 303.99 304 302.53 302.94 157000000 302.94
and here's VFINX
7/23/2013 156.14 156.14 156.14 156.14 0 156.14
7/1/1987 30.41 30.41 30.41 30.41 0 16.14