Hi,

I am using the quantmod package to get EOD stock data. My understanding is
that Yahoo's data is not adjusted for splits and dividends whereas google's
data is adjusted for splits.

How ever, when I get yahoo data with adjust=True parameter, it does not
agree with Google's data. Any ideas why?

> getSymbols("BAC", from='1970-01-01', to='2011-09-11')
[1] "BAC"

> BAC["2003-12-29"]
           BAC.Open BAC.High BAC.Low BAC.Close BAC.Volume BAC.Adjusted
2003-12-29     79.9     80.3   79.61      80.3    8800000        30.91

> getSymbols("BAC", from='1970-01-01', to='2011-09-11', src='google')[1]
"BAC"

> BAC["2003-12-29"]
           BAC.Open BAC.High BAC.Low BAC.Close BAC.Volume
2003-12-29    39.81    40.15    39.8     40.15    8512800

> getSymbols("BAC", from='1970-01-01', to='2011-09-11', adjust=TRUE)
[1] "BAC"

> BAC["2003-12-29"]
           BAC.Open BAC.High  BAC.Low BAC.Close BAC.Volume BAC.Adjusted
2003-12-29 31.05603 31.21151 30.94331  31.21151   11320185        30.91

The BAC.Close value is 31.21 where as from google, it is 40.15

Regards
Tim

	[[alternative HTML version deleted]]

