I am trying to test of dollar cost averaging in mutual funds. I want to include the dividends as re-investment. The code below does not seem to produce data for any mutual fund. It works for stocks. Is there something I need to be doing differently ?
ps. It's interesting to note that if you graph the mutual fund and click on the icon to show the company specific events, the dividends show up correctly on the chart. I just can't seem to access them with code.
CODE:
Please log in to see this code.
thx.
Size:
Color:
Cone, Eugene... any ideas ? Thx
Size:
Color:
The dividends that show on the chart is the "dividend" item, and it comes from a different place than the corp fundamental data. It's likely that the other data items don't exist for your symbols.
Size:
Color: