StockHistory function to include dividend history
Petri Asunmaa commented
The new STOCKHISTORY is great. Could you add also query on historical dividend payments (dividend per share, and date) and split dates?
It should use full adjusted prices for splits and dividends. Can't do any testing without this.
Tony Morello commented
It appears that the stockhistory function only returns the close without adjusting for dividends. Price history of a security/fund/etf isn't nearly as useful unless the historical price is adjusted for dividends. finance.yahoo.com understands this, if you look at historical prices you see "close" as well as "adj. close". "adj close" is what you want to use if you're comparing performance or simply wanting to understand the total return over time.