need a series of the dividend only on the ex-dividend day not every bar
Author: cravens
Creation Date: 4/19/2012 9:05 AM
profile picture

cravens

#1

I have been using the following to get the dividend series but it gives it on every bar (day)

DataSeries divTTMSeries_1 = FundamentalDataSeries("dividend",1,0); // last dividends

Does anyone know how to get the series only on the 1 day per quarter is it given (ex-dividend day)??

Thanks

rob
profile picture

Eugene

#2
To quote the WealthScript Programming Guide, DataSeries chapter:
QUOTE:
All DataSeries contain the same number of values as bars in the chart.

By chance, are you looking for FundamentalDataItems?
profile picture

cravens

#3
Yes. Where is FundamentalDataItems in the documentation?

profile picture

Eugene

#4
In the QuickRef (F11 key).
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).