I'm trying the R interface API using eikonrapi and I can successfully download timeseries of stock prices and volumes. I'd like to be able to get the dividend history of a stock but using the get_data() command gets me only the last instance and using the get_timeseries() only has these fields:
TIMESTAMP HIGH CLOSE LOW OPEN COUNT VOLUME N
as fields available (shown using "*"). How can I combine the 2 commands?
In Excel add-inn this is achieved through a TR commmand like:
=TR(XXX,"TR.DivExDate;TR.DivAdjustedGross;TR.DivCurr","DateType=XD SDate=#XX EDate=XX",XX,XX,XX)
The following function retrieves dividends for IBM between 1-Jan-2016 and today's date:
I hope it helps.
The answer from Alex worked till lately. It doesn't seem to work anymore, see below. Something in the interface changed?
data frame with 0 columns and 0 rows
Within Python, using the equivalent call, I'm seeing this:
Are you able to confirm the same results using Python? Because the R implementation is not officially supported and is open source, you can verify if anything within this interface has changed.