[R-sig-finance] Its function and yahoo
Dirk Eddelbuettel
edd at debian.org
Sat Apr 30 02:12:34 CEST 2005
On 29 April 2005 at 15:44, BBands wrote:
| For some reason priceIts does not handle the "Adj. Close" field.
|
| However, tseries will: get.hist.quote("ge", quote=c("Cl", "Ad"))
|
| I recently contributed a tseires patch that also allows it to handle
| daily, weekly or monthly compression: get.hist.quote("ge",
| compression="w", quote=c("Cl", "Ad"))
|
| The difference between the "Close" and the "Adj. Close*" fields is far
| more than just dividends, splits are a major factor. Please note that
| Yahoo! only split adjusts the "Adj. Close*" field, you'll have to back
| into an adjustment for the other fields if needed.
Yes, so maybe time for someone else to become immortal by supplying a patch
to priceIts based on what you had designed for get.hist.quotes.
Dirk
--
Better to have an approximate answer to the right question than a precise
answer to the wrong question. -- John Tukey as quoted by John Chambers
More information about the R-sig-finance
mailing list