How to get only foreign or domestic institutional ownership data from Eikon API?

Hi,

I am trying to retrieve institutional ownership data, split into the information whether it is foreign or domestic. I was trying

data, error = get_data("IBM", fields=list(TR.SharesHeld(InvestorCountryPermId=100114).date','TR.SharesHeld(InvestorCountryPermId=100114)'), parameters=list('StatType'=1,'SDate'='2020-12-31'))

but this does not work. Is there any other convenient solution?

Many thanks.

Best Answer

  • @laturnus
    Try removing StatType parameter. I'm not sure where you got it from, I don't see it in the list of parameters related to these fields. The following returns data on my end as expected

    get_data('IBM', list('TR.SharesHeld.date','TR.SharesHeld','TR.SharesHeld.InvestorName'), list('SDate'='2020-12-31','InvestorCountryPermId'='100114'))

Answers