Multiple values returned from get_data

spiggytopes
spiggytopes Newcomer
edited March 26 in Eikon Data APIs

Hi, I've inherited some Python code that downloads debt seniority data.

I'm running a test on a single security:

df_pull_isin, error = ek.get_data(instruments = 'US404280EN53',
fields = [ 'TR.NISeniorSubordinatedDebtIndicator.date','TR.NISeniorSubordinatedDebtIndicator.value'])

returns output of the form

4414 US404280EN53 2024-01-23T00:00:00Z Senior
4415 US404280EN53 2024-01-24T00:00:00Z Senior
4416 US404280EN53 2024-02-27T00:00:00Z Senior
4417 US404280EN53 2024-03-05T00:00:00Z Subordinated
4418 US404280EN53 2024-03-14T00:00:00Z Subordinated
4419 US404280EN53 2024-03-14T00:00:00Z Subordinated
4420 US404280EN53 2024-03-18T00:00:00Z Subordinated
4421 US404280EN53 2024-03-19T00:00:00Z Senior
4422 US404280EN53 2024-03-19T00:00:00Z Senior

I can see that different values are downloaded for different dates.

  1. How do I access a record at a particular date?
  2. Debt classification almost never changes. Why are these values changing so often?

Thanks for any help

Andrew

Answers

  • Hello Andrew,

    You can check the Data Item Browser for the list of fields that can be used with an instrument. Type in DIB on the Eikon/Workspace bar.

    The field TR.NISeniorSubordinatedDebtIndicator does not seem to be applicable to the instrument US404280EN53. It is not showing up on the DIB for this instrument.

    I would recommend that you open a content help ticket at LSEG MyAccount and ask these two questions.

  • Thanks, I'll do that

    Andrew.