Force to get_data() function to look for an orgId

Hi,

I am trying to get some info about some companies looking for the orgid code. For that, I am considering the orgid as the instrument. I have some problems when the orgid can be contained in another code, such as the ISIN.

Is there any way to force get_data() function to look for the orgid codes?

orgid                                   17051
companyname COCA-COLA AMATIL LIMITED
TR.CommonName AXA Europe Small Cap A C EUR
TR.Orgidcode NaN

The first two rows are the info about the company that I want to look for, and the last two rows are the retrieved data.

Thanks in advance,

Miriam

Best Answer

  • m.bunkowski
    Answer ✓

    Hi @miriam.benito

    If you want to use OrgID as an input please use syntax as below:

    df, err=ek.get_data('17051@orgid', ['TR.RIC','TR.CommonName','TR.OrgidCode']) df

Answers