Accessing captial gain distributions as a fundamental item
Author: Panache
Creation Date: 1/5/2011 10:17 AM
profile picture

Panache

#1
Mutual funds often declare multiple dividends on the same date, ie. ordinary income dividends, short term capital gain distributions and long term capital gain distributions. If I annotate the chart for dividends, both ordinary income and capital gain dividends are shown. However, when I access the Fundamental Item dividends, only the ordinary income dividends are shown. How can I access the fundamental item where the capital gain distributions are stored?

CODE:
Please log in to see this code.
profile picture

Sammy_G

#2
The following code does the job; check the debug window:
CODE:
Please log in to see this code.
profile picture

Panache

#3
Thanks!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).