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.
- How do I access a record at a particular date?
- Debt classification almost never changes. Why are these values changing so often?
Thanks for any help
Andrew